@Test
public void zeros() {

	Tensor_F64 tensor = TensorFactory_F64.zeros(null,4,3,2);
	assertEquals(4,tensor.length(0));
	assertEquals(3,tensor.length(1));
	assertEquals(2,tensor.length(2));
	assertFalse(tensor.isSub());
	int N = tensor.length();
	for (int i = 0; i < N; i++) {
		assertEquals(0.0,tensor.getAtIndex(i), DeepBoofConstants.TEST_TOL_F64);
	}
	tensor = TensorFactory_F64.zeros(rand,4,3,2);
	assertEquals(4,tensor.length(0));
	assertEquals(3,tensor.length(1));
	assertEquals(2,tensor.length(2));
	assertTrue(tensor.isSub());
	for (int i = 0; i < N; i++) {
		assertEquals(0.0,tensor.getAtIndex(i), DeepBoofConstants.TEST_TOL_F64);
	}
}