Vector<T>.EnsureWritable Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

EnsureWritable() Ensures that every element in the vector can be written to.
EnsureWritable(Int32) Ensures that the element at the specified index in the vector can be written to.
EnsureWritable(Range) Ensures that the element at the specified index in the vector can be written to.
EnsureWritable(Int32, Int32) Ensures that the element at the specified index in the vector can be written to.

EnsureWritable

Ensures that every element in the vector can be written to.
C#
public void EnsureWritable()

Return Value

true if the operation succeeded; otherwise false.

Exceptions

ComponentReadOnlyExceptionOne or more of the selected elements of the vector is read-only.

EnsureWritable(Int32)

Ensures that the element at the specified index in the vector can be written to.
C#
public void EnsureWritable(
	int index
)

Parameters

index  Int32
 

Exceptions

ComponentReadOnlyExceptionThe selected element of the vector is read-only.

EnsureWritable(Range)

Ensures that the element at the specified index in the vector can be written to.
C#
public void EnsureWritable(
	Range range
)

Parameters

range  Range
 

Exceptions

ComponentReadOnlyExceptionOne or more of the selected elements of the vector is read-only.

EnsureWritable(Int32, Int32)

Ensures that the element at the specified index in the vector can be written to.
C#
public void EnsureWritable(
	int startIndex,
	int endIndex
)

Parameters

startIndex  Int32
 
endIndex  Int32
 

Exceptions

ComponentReadOnlyExceptionOne or more of the selected elements of the vector is read-only.

See Also