protected OnRowsDataIsColumnQuantile() : base( expected: new DoubleMatrixState[3] { new DoubleMatrixState( asColumnMajorDenseArray: new double[1] { TestableDoubleMatrix20.Get().AsDense[0] }, numberOfRows: 1, numberOfColumns: 1), new DoubleMatrixState( asColumnMajorDenseArray: new double[1] { TestableDoubleMatrix20.Get().AsDense[1] }, numberOfRows: 1, numberOfColumns: 1), new DoubleMatrixState( asColumnMajorDenseArray: new double[1] { TestableDoubleMatrix20.Get().AsDense[2] }, numberOfRows: 1, numberOfColumns: 1) }, data: TestableDoubleMatrix20.Get(), probabilities: DoubleMatrix.Identity(1), dataOperation: DataOperation.OnRows ) { }
protected OnRowsDataIsColumnSumOfSquaredDeviations() : base( expected: new DoubleMatrixState( asColumnMajorDenseArray: new double[3], numberOfRows: 3, numberOfColumns: 1), data: TestableDoubleMatrix20.Get(), dataOperation: DataOperation.OnRows ) { }
TypicalDoubleMatrixDoubleMatrixMultiplication() : base( expected: new DoubleMatrixState( asColumnMajorDenseArray: new double[2] { -20, -32 }, numberOfRows: 2, numberOfColumns: 1), left: TestableDoubleMatrix16.Get(), right: TestableDoubleMatrix20.Get() ) { }
protected OnRowsDataIsColumnMean() : base( expected: new DoubleMatrixState( asColumnMajorDenseArray: new double[3] { -5, -4, -3 }, numberOfRows: 3, numberOfColumns: 1), data: TestableDoubleMatrix20.Get(), dataOperation: DataOperation.OnRows ) { }
protected OnRowsDataIsColumnUnadjustedSkewness() : base( expected: new DoubleMatrixState( asColumnMajorDenseArray: new double[3] { Double.NaN, Double.NaN, Double.NaN }, numberOfRows: 3, numberOfColumns: 1), data: TestableDoubleMatrix20.Get(), adjustForBias: false, dataOperation: DataOperation.OnRows ) { }
protected OnRowsDataIsColumnMax() : base( expected: new IndexValuePair[3] { new IndexValuePair() { index = 0, value = -5 }, new IndexValuePair() { index = 0, value = -4 }, new IndexValuePair() { index = 0, value = -3 }, }, data: TestableDoubleMatrix20.Get(), dataOperation: DataOperation.OnRows ) { }
protected OnRowsDataIsColumnUnadjustedCovariance() : base( expected: new DoubleMatrixState( asColumnMajorDenseArray: new double[9], numberOfRows: 3, numberOfColumns: 3), data: TestableDoubleMatrix20.Get(), adjustForBias: false, dataOperation: DataOperation.OnRows ) { }
protected OnAllUnadjustableKurtosis() : base( expected: new ArgumentException( message: (string)Reflector.ExecuteStaticMember( typeof(ImplementationServices), "GetResourceString", new string[] { "STR_EXCEPT_STA_KURTOSIS_ADJUST_FOR_BIAS_UNDEFINED" }), paramName: null), data: TestableDoubleMatrix20.Get(), adjustForBias: true ) { }
protected OnRowsDataIsColumnAdjustedVariance() : base( expected: new ArgumentException( message: (string)Reflector.ExecuteStaticMember( typeof(ImplementationServices), "GetResourceString", new string[] { "STR_EXCEPT_STA_VARIANCE_ADJUST_FOR_BIAS_UNDEFINED" }), paramName: null), data: TestableDoubleMatrix20.Get(), adjustForBias: true, dataOperation: DataOperation.OnRows ) { }
TypicalComplexMatrixDoubleMatrixMultiplication() : base( expected: new ComplexMatrixState( asColumnMajorDenseArray: new Complex[2] { new Complex(-20, -20), new Complex(-32, -32) }, numberOfRows: 2, numberOfColumns: 1), left: TestableComplexMatrix16.Get(), right: TestableDoubleMatrix20.Get() ) { }
protected OnRowsDataIsColumnCorrelation() : base( expected: new DoubleMatrixState( asColumnMajorDenseArray: new double[9] { Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN, Double.NaN }, numberOfRows: 3, numberOfColumns: 3), data: TestableDoubleMatrix20.Get(), dataOperation: DataOperation.OnRows ) { }