示例#1
0
 RightIsScalarDoubleMatrixDoubleMatrixAddition() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[6] { -1, 0, 1, 2, 3, 4 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix16.Get(),
         right: TestableDoubleMatrix17.Get()
         )
 {
 }
 LeftIsScalarDoubleMatrixDoubleMatrixSubtraction() :
     base(
         expected: new DoubleMatrixState(
             asColumnMajorDenseArray: new double[6] { -1, -2, -3, -4, -5, -6 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix17.Get(),
         right: TestableDoubleMatrix16.Get()
         )
 {
 }
示例#3
0
 protected OnAllUnadjustableStandardDeviation() :
     base(
         expected: new ArgumentException(
             message: (string)Reflector.ExecuteStaticMember(
                 typeof(ImplementationServices),
                 "GetResourceString",
                 new string[] { "STR_EXCEPT_STA_VARIANCE_ADJUST_FOR_BIAS_UNDEFINED" }),
             paramName: null),
         data: TestableDoubleMatrix17.Get(),
         adjustForBias: true
         )
 {
 }
 LeftIsScalarDoubleMatrixComplexMatrixAddition() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: new Complex[6]
 {
     new Complex(-1, 0),
     new Complex(0, 1),
     new Complex(1, 2),
     new Complex(2, 3),
     new Complex(3, 4),
     new Complex(4, 5),
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix17.Get(),
         right: TestableComplexMatrix16.Get()
         )
 {
 }
示例#5
0
 RightIsScalarComplexMatrixDoubleMatrixSubtraction() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: new Complex[6]
 {
     new Complex(1, 0),
     new Complex(2, 1),
     new Complex(3, 2),
     new Complex(4, 3),
     new Complex(5, 4),
     new Complex(6, 5)
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableComplexMatrix16.Get(),
         right: TestableDoubleMatrix17.Get()
         )
 {
 }
 LeftIsScalarDoubleMatrixComplexMatrixSubtraction() :
     base(
         expected: new ComplexMatrixState(
             asColumnMajorDenseArray: new Complex[6]
 {
     new Complex(-1, 0),
     new Complex(-2, -1),
     new Complex(-3, -2),
     new Complex(-4, -3),
     new Complex(-5, -4),
     new Complex(-6, -5)
 },
             numberOfRows: 2,
             numberOfColumns: 3),
         left: TestableDoubleMatrix17.Get(),
         right: TestableComplexMatrix16.Get()
         )
 {
 }