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