ILinear Algebra Operations<T>.Two Norm Method
Returns the square root of sum of the squares of
the elements of a vector.
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
T TwoNorm(
int n,
ReadOnlySpan<T> x,
int incx
)
Parameters
- n Int32
- The number of elements in the vector x.
- x ReadOnlySpan<T>
- A span containing the elements of the vector x.
- incx Int32
- The distance between elements in x.