Vector<T>.Try Ensure Writable Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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 virtual 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 abstract 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 virtual bool TryEnsureWritable(
int startIndex,
int endIndex
)
Parameters
Return Value
Booleantrue if the operation succeeded; otherwise false.