RightWrongRowsDoubleMatrixComplexMatrixElementWiseMultiplication() :
     base(
         expected: new ArgumentException(
             message: (string)Reflector.ExecuteStaticMember(
                 typeof(ImplementationServices),
                 "GetResourceString",
                 new string[] { "STR_EXCEPT_MAT_ELEMENT_WISE_ALL_DIMS_MUST_MATCH" }),
             paramName: "right"),
         left: TestableDoubleMatrix14.Get(),
         right: TestableComplexMatrix18.Get()
         )
 {
 }
Example #2
0
 RightWrongRowsComplexMatrixComplexMatrixSubtraction() :
     base(
         expected: new ArgumentException(
             message: (string)Reflector.ExecuteStaticMember(
                 typeof(ImplementationServices),
                 "GetResourceString",
                 new string[] { "STR_EXCEPT_MAT_SUBTRACT_ALL_DIMS_MUST_MATCH" }),
             paramName: "right"),
         left: TestableComplexMatrix14.Get(),
         right: TestableComplexMatrix18.Get()
         )
 {
 }
 TypicalComplexMatrixComplexMatrixSubtraction() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: new Complex[6]
 {
     new Complex(5, 5),
     new Complex(5, 5),
     new Complex(5, 5),
     new Complex(5, 5),
     new Complex(5, 5),
     new Complex(5, 5)
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableComplexMatrix16.Get(),
         right: TestableComplexMatrix18.Get()
         )
 {
 }
Example #4
0
 TypicalComplexMatrixComplexMatrixAddition() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: new Complex[6]
 {
     new Complex(-5, -5),
     new Complex(-3, -3),
     new Complex(-1, -1),
     new Complex(1, 1),
     new Complex(3, 3),
     new Complex(5, 5)
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableComplexMatrix16.Get(),
         right: TestableComplexMatrix18.Get()
         )
 {
 }
Example #5
0
 TypicalDoubleMatrixComplexMatrixElementWiseMultiplication() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: new Complex[6]
 {
     0,
     new Complex(-4, -4),
     new Complex(-6, -6),
     new Complex(-6, -6),
     new Complex(-4, -4),
     0
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix16.Get(),
         right: TestableComplexMatrix18.Get()
         )
 {
 }