Linear Algebra Operations Extensions.Real One Norm Method
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Real | Returns the sum of the absolute values of the elements of a vector. |
Real | Returns the sum of the absolute values of the elements of a vector. |
RealOneNorm<T>(ILinearAlgebraOperations<T>, Int32, ReadOnlySpanSlice<T>)
Returns the sum of the absolute values of
the elements of a vector.
public static T RealOneNorm<T>(
this ILinearAlgebraOperations<T> operations,
int n,
ReadOnlySpanSlice<T> x
)
Parameters
- operations ILinearAlgebraOperations<T>
- The object that performs the operation.
- n Int32
- The number of elements in the vector x.
- x ReadOnlySpanSlice<T>
- A reference to a one-dimensional array containing the elements of the vector x.
Type Parameters
- T
Return Value
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).RealOneNorm<T, TStorage>(ILinearAlgebraOperations<T>, Int32, TStorage)
Returns the sum of the absolute values of
the elements of a vector.
public static T RealOneNorm<T, TStorage>(
this ILinearAlgebraOperations<T> operations,
int n,
TStorage x
)
where TStorage : Object, IStorageSlice<T>
Parameters
- operations ILinearAlgebraOperations<T>
- The linear algebra operations instance used to perform the calculation.
- 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