Vector<T>.TryEnsureWritable Method

Definition

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

Overload List

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

Vector<T>.TryEnsureWritable

Ensures that every element in the vector can be written to.
C#
public virtual bool TryEnsureWritable()

Return Value

Boolean

true if the operation succeeded; otherwise false.

Vector<T>.TryEnsureWritable(Int32)

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

Parameters

index  Int32
 

Return Value

Boolean

true if the operation succeeded; otherwise false.

Vector<T>.TryEnsureWritable(Int32, Int32)

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

Parameters

startIndex  Int32
 
endIndex  Int32
 

Return Value

Boolean

true if the operation succeeded; otherwise false.

See Also