numl.Math.LinearAlgebra.Matrix.this C# (CSharp) Method

this() public method

Indexer to set items within this collection using array index syntax.
public this ( bool>.Func f ) : double
f bool>.Func The Func<double,bool> to process.
return double
        public double this[Func<double, bool> f]
        {
            set
            {
                for (int i = 0; i < Rows; i++)
                    for (int j = 0; j < Cols; j++)
                        if (f(_matrix[i][j]))
                            this[i, j] = value;
            }
        }

Same methods

Matrix::this ( bool>.Func f, VectorType t ) : Matrix
Matrix::this ( int i ) : Vector
Matrix::this ( int i, VectorType t ) : Vector
Matrix::this ( IEnumerable slice ) : double
Matrix::this ( int i, int j ) : double