Encog.MathUtil.Matrices.Matrix.Set C# (CSharp) Method

Set() public method

Set the values from the other matrix into this one.
public Set ( Matrix other ) : void
other Matrix The source matrix.
return void
        public void Set(Matrix other)
        {
            double[][] target = Data;
            double[][] source = other.Data;
            for (int r = 0; r < Rows; r++)
                for (int c = 0; c < Cols; c++)
                    target[r][c] = source[r][c];
        }

Same methods

Matrix::Set ( double value_ren ) : void