@Test
public void elementMult_scalar() {

	for( boolean sub : new boolean[]{false,true}) {
		Tensor_F32 T = TensorFactory_F32.random(rand,sub, 5,3,1);
		Tensor_F32 original = T.copy();
		float s = 2.1f;
		TensorOps_F32.elementMult(T,s);
		int N = original.length();
		for (int i = 0; i < N; i++) {
			assertEquals( original.getAtIndex(i)*s , T.getAtIndex(i) , DeepBoofConstants.TEST_TOL_F32 );
		}
	}
}