Linear Algebra Operations Extensions.Conjugate Rank Update Method
Definition
Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Conjugate | Performs a rank one update of a matrix. |
Conjugate | Performs a rank one update of a matrix. |
ConjugateRankUpdate<T>(ILinearAlgebraOperations<T>, Int32, Int32, T, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, Span2D<T>)
Performs a rank one update of a matrix.
public static void ConjugateRankUpdate<T>(
this ILinearAlgebraOperations<T> operations,
int m,
int n,
T alpha,
ReadOnlySpanSlice<T> x,
ReadOnlySpanSlice<T> y,
Span2D<T> a
)
Parameters
- operations ILinearAlgebraOperations<T>
- The object that performs the operation.
- m Int32
- The number of rows in the matrix a.
- n Int32
- The number of columns in the matrix a.
- alpha T
- The scalar used to multiply the outer product.
- x ReadOnlySpanSlice<T>
- A reference to a one-dimensional array containing the elements of the vector x.
- y ReadOnlySpanSlice<T>
- A reference to a one-dimensional array containing the elements of the vector y.
- a Span2D<T>
- A span that contains the elements of the matrix.
Type Parameters
- T
Usage 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).ConjugateRankUpdate<T, TStorage, TStorage2D>(ILinearAlgebraOperations<T>, Int32, Int32, T, TStorage, TStorage, TStorage2D)
Performs a rank one update of a matrix.
public static void ConjugateRankUpdate<T, TStorage, TStorage2D>(
this ILinearAlgebraOperations<T> operations,
int m,
int n,
T alpha,
TStorage x,
TStorage y,
TStorage2D a
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>
Parameters
- operations ILinearAlgebraOperations<T>
- The linear algebra operations instance used to perform the calculation.
- m Int32
- The number of rows in the matrix a.
- n Int32
- The number of columns in the matrix a.
- alpha T
- The scalar used to multiply the outer product.
- x TStorage
- A reference to a one-dimensional array containing the elements of the vector x.
- y TStorage
- A reference to a one-dimensional array containing the elements of the vector y.
- a TStorage2D
- A span that contains the elements of the matrix.
Type Parameters
- T
- TStorage
- TStorage2D