Vector<T>.ElementwiseDivideInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0

Overload List

ElementwiseDivideInPlace(Vector<T>) Divides this vector in-place element-wise by another vector.
ElementwiseDivideInPlace(Vector<T>, SparseElementwiseMode) Divides this vector in-place element-wise by another vector.

ElementwiseDivideInPlace(Vector<T>)

Divides this vector in-place element-wise by another vector.
C#
public virtual Vector<T> ElementwiseDivideInPlace(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A vector.

Return Value

Vector<T>
A reference to this instance.

Remarks

If either operand is sparse, this overload uses PatternIntersection.

Exceptions

ArgumentNullException

vector is null.

DimensionMismatchException

The length of vector does not equal the length of this instance.

ElementwiseDivideInPlace(Vector<T>, SparseElementwiseMode)

Divides this vector in-place element-wise by another vector.
C#
public virtual Vector<T> ElementwiseDivideInPlace(
	Vector<T> vector,
	SparseElementwiseMode mode
)

Parameters

vector  Vector<T>
A vector.
mode  SparseElementwiseMode
The sparse element-wise arithmetic mode. This parameter affects sparse operands only.

Return Value

Vector<T>
A reference to this instance.

Remarks

In Strict mode, sparse operands are treated as logical dense vectors. If this instance is sparse, it may be fully materialized while preserving the same instance.

Exceptions

ArgumentNullException

vector is null.

ArgumentOutOfRangeExceptionmode is not a valid SparseElementwiseMode value.
DimensionMismatchException

The length of vector does not equal the length of this instance.

See Also