LinearAlgebraOperations.ComplexTwoNorm<T, TStorage> Method

Returns the square root of sum of the squares of the elements of a vector.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static T ComplexTwoNorm<T, TStorage>(
	int n,
	TStorage x
)
where TStorage : Object, IStorageSlice<Complex<T>, TStorage>

Parameters

n  Int32
The number of elements in the vector x.
x  TStorage
A reference to a one-dimensional array containing the elements of the vector x.

Type Parameters

T
TStorage

Return Value

T

See Also