}
@Test
public void sumAllElements() {
double []myData = {1.0, 2.0, 3.0};
Matrix myMatrix = Matrix.createRowMatrix(myData);
assertEquals(6.0, myMatrix.sum(), EPSILON);
}
@Test
public void matrixIsVector() {
double []myData = {1.0, 2.0, 3.0};
Matrix myRowMatrix = Matrix.createRowMatrix(myData);