D | MatrixTest.java | 51 Matrix m1 = new Matrix(0, 20); in testDegenerate() local 61 Matrix m1 = new Matrix(2, new double[]{1, 2, 3, 4}); in testAddition() local 72 Matrix m1 = new Matrix(2, new double[]{1, 2, 3, 4}); in testSubtraction() local 83 Matrix m1 = new Matrix(2, new double[]{1, 2, 3, 4}); in testScalarMultiplication() local 94 Matrix m1 = new Matrix(2, new double[]{1, 2, 3, 4}); in testMultiplication() local 107 Matrix m1 = new Matrix(3, new double[]{10, 1, -1, 2, 14, -1, 0, 2, 20}); in testInverse() local 138 Matrix m1 = generatePermutationMatrix(size, new Random(132)); in testInverseOfPermutation() local 150 Matrix m1 = new Matrix(3, new double[]{10, 1, -1, 0, 0, 0, 0, 0, 0}); in testSingularity() local 164 Matrix m1 = new Matrix(2, new double[]{1, 2, 3, 4, 5, 6}); in testMultiplicationByTranspose() local 174 Matrix m1 = new Matrix(2, new double[]{1, 2, 3, 4, 5, 6}); in testMultiplicationByBadlyShapedTranspose() local [all …]
|