public CacheEntry(Key key, QrFactorization qrFactorization) { Key = key; QrFactorization = qrFactorization; MatrixCrossproduct = ImmutableMatrix.OfMatrix(ComputeMatrixCrossproduct(key.Matrix, qrFactorization.IndependentColumnIndexes)); MatrixCrossproductInverse = ImmutableMatrix.OfMatrix(MatrixCrossproduct.Inverse()); }
public Key(Matrix <double> matrix, double tolerance) : this() { Matrix = ImmutableMatrix.OfMatrix(matrix); Tolerance = tolerance; }