Esempio n. 1
0
 RightIsRectangularAndRankDeficientDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new ArgumentException(
             ImplementationServices.GetResourceString(
                 "STR_EXCEPT_MAT_DIVIDE_RANK_DEFICIENT_OPERATION"),
             "right"),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix33.Get()
         )
 {
 }
Esempio n. 2
0
 RightIsSymmetricAndNonPosDefiniteDoubleMatrixComplexMatrixDivision() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: GetAsColumnMajorDenseArray(),
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableComplexMatrix31.Get()
         )
 {
 }
 RightIsNoPatternedSquareDoubleMatrixComplexMatrixDivision() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: GetAsColumnMajorDenseArray(),
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableComplexMatrix28.Get()
         )
 {
 }
 RightIsRectangularLessRowsThanColsDoubleMatrixComplexMatrixDivision() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: GetAsColumnMajorDenseArray(),
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix23.Get(),
         right: TestableComplexMatrix29.Get()
         )
 {
 }
Esempio n. 5
0
 RightIsLowerTriangularDoubleMatrixComplexMatrixDivision() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: GetAsColumnMajorDenseArray(),
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableComplexMatrix24.Get()
         )
 {
 }
Esempio n. 6
0
 RightIsSymmetricDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[10]
             { -1, 0, 2, 2, 0, 0, 0, 0, 0, 0 },
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix26.Get()
         )
 {
 }
Esempio n. 7
0
 RightIsUpperTriangularDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[10]
             { 1, 2, 1, 1, 0.1667, 0.1667, 0.0167, 0.0167, -0.0012, -0.0012 },
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix25.Get()
         )
 {
 }
Esempio n. 8
0
 RightIsSymmetricAndNonPosDefiniteDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[10]
             { 0.25, 0, -0.5, 2, 2.5, 0, -1.25, 0, 0.25, 0 },
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix31.Get()
         )
 {
 }
Esempio n. 9
0
 RightIsRectangularLessRowsThanColsDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[6]
 {
     -2.0369425996205,
     -2.78901802656547,
     2.69588077166351,
     3.87167931688805,
     -0.166231815306769,
     -0.447106261859584
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix29.Get()
         )
 {
 }
 RightIsNoPatternedSquareDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[10]
 {
     -3.4167,
     -6.5000,
     6.8333,
     15,
     -4.8333,
     -13,
     2.4167,
     6.5,
     -0.4833,
     -1.3
 },
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix28.Get()
         )
 {
 }
Esempio n. 11
0
 RightIsHessenbergDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[10]
 {
     -0.999,
     6.260E-15,
     1.999,
     1.999,
     4.246E-15,
     5.398E-15,
     -2.151E-16,
     -6.203E-16,
     -1.517E-16,
     -1.674E-16
 },
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix27.Get()
         )
 {
 }
 RightIsLowerTriangularDoubleMatrixDoubleMatrixDivision() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[10]
 {
     -0.0303571428571429,
     0.560714285714286,
     0.473214285714286,
     0.753571428571428,
     0.303571428571429,
     0.392857142857143,
     0.125,
     0.15,
     0.128571428571429,
     0.142857142857143
 },
             numberOfRows: 2,
             numberOfColumns: 5),
         left: TestableDoubleMatrix23.Get(),
         right: TestableDoubleMatrix24.Get()
         )
 {
 }