Indexed Vector<T>.Try Ensure Writable Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Try | Ensures that every element in the vector can be written to. |
Try | Ensures that the element at the specified index in the vector can be written to. |
Try | Ensures that the element at the specified index in the vector can be written to. |
TryEnsureWritable
Ensures that every element in the vector can be written to.
public override bool TryEnsureWritable()
Return Value
Booleantrue if the operation succeeded; otherwise false.
TryEnsureWritable(Int32)
Ensures that the element at the specified index in the vector can be written to.
public override bool TryEnsureWritable(
int index
)
Parameters
- index Int32
Return Value
Booleantrue if the operation succeeded; otherwise false.
TryEnsureWritable(Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
public override bool TryEnsureWritable(
int startIndex,
int endIndex
)
Parameters
Return Value
Booleantrue if the operation succeeded; otherwise false.