Vector<T>.WeightedNormSquared Method

Returns the square of the weighted two-norm of the vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public virtual T WeightedNormSquared(
	Vector<T> weightVector
)

Parameters

weightVector  Vector<T>
The weight vector.

Return Value

T
The two-norm of the Vector<T>.

Exceptions

DimensionMismatchException

The vector weightVector is not the same length as this vector.

See Also