Vector<T>.Try Ensure Writable Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
Overload List
| Try | Ensures that every element in the vector can be written to. |
| Try | Checked compatibility wrapper for writability preparation. |
| Try | Checked compatibility wrapper for writability preparation. |
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)
Checked compatibility wrapper for writability preparation.
[ObsoleteAttribute("Use the corresponding Unchecked method. The suffix-less writability APIs are retained as checked compatibility wrappers.",
false)]
public bool TryEnsureWritable(
int index
)Parameters
- index Int32
Return Value
BooleanTryEnsureWritable(Int32, Int32)
Checked compatibility wrapper for writability preparation.
[ObsoleteAttribute("Use the corresponding Unchecked method. The suffix-less writability APIs are retained as checked compatibility wrappers.",
false)]
public bool TryEnsureWritable(
int startIndex,
int endIndex
)