public void testPackedArray2() throws Throwable
{
Double data[] = {1.0,2.0,3.0,4.0};
Matrix matrix = new Matrix(1,4);
matrix.fromPackedArray(data, 0);
TestCase.assertEquals(1.0, matrix.get(0, 0));
TestCase.assertEquals(2.0, matrix.get(0, 1));
TestCase.assertEquals(3.0, matrix.get(0, 2));
}