/// <summary> /// Initializes a new instance of the Matrix class. /// </summary> protected Matrix(MatrixStorage <Complex32> storage) : base(storage) { }
/// <summary> /// Initializes a new instance of the Matrix class. /// </summary> protected Matrix(MatrixStorage <float> storage) : base(storage) { }
/// <summary> /// Create a new matrix straight from an initialized matrix storage instance. /// If you have an instance of a discrete storage type instead, use their direct methods instead. /// </summary> public static Matrix <T> WithStorage <T>(MatrixStorage <T> storage) where T : struct, IEquatable <T>, IFormattable { return(Matrix <T> .Build.OfStorage(storage)); }
/// <summary> /// Initializes a new instance of the Matrix class. /// </summary> protected Matrix(MatrixStorage <double> storage) : base(storage) { }
private ImmutableMatrix(MatrixStorage<double> storage) : base(storage) { }
/// <summary> /// Initializes a new instance of the Matrix class. /// </summary> protected Matrix(MatrixStorage <T> storage) { Storage = storage; RowCount = storage.RowCount; ColumnCount = storage.ColumnCount; }
private ImmutableMatrix(MatrixStorage <double> storage) : base(storage) { }
public Matrix(int columns, int rows, MatrixStorage <T> storage) { _storage = storage; }
public ReadOnlyMatrixStorage(MatrixStorage <T> matrixStorage) : base(matrixStorage.RowCount, matrixStorage.ColumnCount) { _matrixStorage = matrixStorage; }