Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Matrix Class > Methods


Extreme Optimization Mathematics Library for .NET

Matrix.SetValue Method 

Sets the matrix component at the specified position to the specified value.

[Visual Basic]
MustOverride Public Sub SetValue( _
   ByVal value As Double, _
   ByVal row As Integer, _
   ByVal column As Integer _
)
[C#]
public abstract void SetValue(
   double value,
   int row,
   int column
);

Parameters

value
A Double specifying the new value of the component.
row
The zero-based row index of the element to get or set.
column
The zero-based column index of the element to get or set.

Return Value

The component of the Matrix in the columnth column of the rowth row.

Remarks

This method does not perform bounds checking. It is provided for optimized access in situations where the arguments are known to be within bounds. If either argument is outside its valid range, the effect may be unpredictable.

See Also

Matrix Class | Extreme.Mathematics.LinearAlgebra Namespace