Vector<T>.Try Ensure Writable Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.