Package linalg.util

Class ExampleMatrices

java.lang.Object
linalg.util.ExampleMatrices

public class ExampleMatrices extends Object
This interface just contains some different matrices for testing purposes.
     Matrices:
                - MATRIX_0
                - MATRIX_1
                - MATRIX_2
                - MATRIX_3
                - MATRIX_4
                - MATRIX_5
                - MATRIX_6
                - MATRIX_7
                - MATRIX_8
 
  • Field Details

    • MATRIX_0

      public static final Matrix MATRIX_0

      Matrix contents:

       [[]]
       
    • MATRIX_1

      public static final Matrix MATRIX_1

      Matrix contents:

       [[11,       6.011,      4.656841  ] 
        [6.011,    4.656841,   4.11907321] 
        [4.656841, 4.11907321, 3.9225424 ]] 
       
    • MATRIX_2

      public static final Matrix MATRIX_2

      Matrix contents:

       [[1, 2, 3, 1, 2, 3, 4, 5, 6] 
        [4, 5, 6, 3, 4, 5, 7, 8, 2] 
        [1, 5, 5, 2, 6, 7, 9, 0, 1] 
        [3, 4, 5, 2, 6, 7, 8, 9, 2] 
        [1, 1, 1, 3, 4, 7, 8, 9, 1] 
        [3, 4, 7, 8, 3, 1, 2, 3, 4] 
        [3, 5, 6, 8, 1, 3, 5, 9, 1] 
        [0, 4, 5, 3, 2, 0, 1, 2, 3] 
        [1, 4, 5, 1, 7, 0, 5, 3, 1]]
       
    • MATRIX_3

      public static final Matrix MATRIX_3

      Matrix contents:

       [[2.4]]
       
    • MATRIX_4

      public static final Matrix MATRIX_4

      Matrix contents:

       [[5,  2-2.3i, 4.1-3.1i]
        [3i, -i,     4.1     ]
        [0,  0,      1       ]]
       
    • MATRIX_5

      public static final Matrix MATRIX_5

      Matrix contents:

       [[16 + 2.1i,  2.718281828459045,  14i,     12.3             ] 
        [3,          i,                  3 + 5i,  32.1             ] 
        [2 + 14.2i,  4 + 2i,             1 - 2i,  3 + 4i           ] 
        [13 - 4.5i,  115 + 44.3i,        1 - 3i,  3.141592653589793]] 
       
    • MATRIX_6

      public static final Matrix MATRIX_6

      Matrix contents:

       [[1,  2,  3,  4,  5 ]
        [6,  7,  8,  9,  10]
        [11, 12, 13, 14, 15]]
       
    • MATRIX_7

      public static final Matrix MATRIX_7

      Matrix contents:

       [[1 8 9]
        [0 8 7]
        [0 0 5]]
       
    • MATRIX_8

      public static final Matrix MATRIX_8

      Matrix contents:

       [[1  2  3 ]
        [4  5  6 ]
        [7  8  9 ]
        [10 11 12]
        [13 14 15]]