Vector<T>.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
| Ensure | Ensures that every element in the vector can be written to. |
| Ensure | Checked compatibility wrapper for writability preparation. |
| Ensure | Checked compatibility wrapper for writability preparation. |
| Ensure | Checked compatibility wrapper for writability preparation. |
EnsureWritable
Ensures that every element in the vector can be written to.
public void EnsureWritable()Return Value
true if the operation succeeded; otherwise false.
Exceptions
| Component | One or more of the selected elements of the vector is read-only. |
EnsureWritable(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 void EnsureWritable(
int index
)Parameters
- index Int32
EnsureWritable(Range)
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 void EnsureWritable(
Range range
)Parameters
- range Range
EnsureWritable(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 void EnsureWritable(
int startIndex,
int endIndex
)