Gets or sets the elements of a row of the matrix that meet the specified condition.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> this[
int row,
Func<T, bool> condition
] { get; set; }
Public Default Property Item (
row As Integer,
condition As Func(Of T, Boolean)
) As Vector(Of T)
Get
Set
public:
property Vector<T>^ default[int row, Func<T, bool>^ condition] {
Vector<T>^ get (int row, Func<T, bool>^ condition);
void set (int row, Func<T, bool>^ condition, Vector<T>^ value);
}
member Item : Vector<'T> with get, set
Parameters
- row
- Type: SystemInt32
The zero-based index of the row. - condition
- Type: SystemFuncT, Boolean
A delegate that represents a predicate that
specifies the condition to test.
Property Value
Type:
VectorTA vector.
This property allows you to directly retrieve or set the elements
of a row of this matrix.
Getting the value of this property returns a new vector
with the elements for which condition
is .
Setting the value of this property sets the selected elements
to the values in the vector that is provided.
Reference