ManagedLinearAlgebraOperations.TwoNorm Method

Definition

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

Overload List

TwoNorm(Int32, ArraySlice<Complex<Double>>) Returns the square root of sum of the squares of the elements of a vector.
TwoNorm(Int32, ArraySlice<Double>) Returns the square root of sum of the squares of the elements of a vector.

TwoNorm(Int32, ArraySlice<Complex<Double>>)

Returns the square root of sum of the squares of the elements of a vector.
C#
public override double TwoNorm(
	int n,
	ArraySlice<Complex<double>> x
)

Parameters

n  Int32
The number of elements in the vector x.
x  ArraySlice<Complex<Double>>
A reference to a one-dimensional array containing the elements of the vector x.

Return Value

Double

TwoNorm(Int32, ArraySlice<Double>)

Returns the square root of sum of the squares of the elements of a vector.
C#
public override double TwoNorm(
	int n,
	ArraySlice<double> x
)

Parameters

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

Return Value

Double

Implements

ILinearAlgebraOperations<T>.TwoNorm(Int32, ArraySlice<T>)

See Also