Linear Algebra Operations.Hermitian Multiply And Add In Place Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Hermitian | Product of a hermitian matrix and a vector. |
Hermitian | Sum of the product of a hermitian and a general matrix and a scaled matrix. |
HermitianMultiplyAndAddInPlace<T>(MatrixTriangle, Int32, Complex<T>, Array2D<Complex<T>>, ArraySlice<Complex<T>>, Complex<T>, ArraySlice<Complex<T>>)
Product of a hermitian matrix and a vector.
public static void HermitianMultiplyAndAddInPlace<T>(
MatrixTriangle storedTriangle,
int n,
Complex<T> alpha,
Array2D<Complex<T>> a,
ArraySlice<Complex<T>> x,
Complex<T> beta,
ArraySlice<Complex<T>> y
)
Parameters
- storedTriangle MatrixTriangle
- Specifies whether the matrix is an upper or lower triangular matrix.
- n Int32
- The number of rows and columns in the matrix a.
- alpha Complex<T>
- The scalar used to multiply the matrix-vector product.
- a Array2D<Complex<T>>
- Reference to the first element in a one-dimensional array that contains the elements of the matrix.
- x ArraySlice<Complex<T>>
- A reference to a one-dimensional array containing the elements of the vector x.
- beta Complex<T>
- The scalar used to multiply y.
- y ArraySlice<Complex<T>>
- A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.
Type Parameters
- T
HermitianMultiplyAndAddInPlace<T>(MatrixOperationSide, MatrixTriangle, Int32, Int32, Complex<T>, Array2D<Complex<T>>, Array2D<Complex<T>>, Complex<T>, Array2D<Complex<T>>)
Sum of the product of a hermitian and a general matrix and a scaled matrix.
public static void HermitianMultiplyAndAddInPlace<T>(
MatrixOperationSide side,
MatrixTriangle storedTriangle,
int m,
int n,
Complex<T> alpha,
Array2D<Complex<T>> a,
Array2D<Complex<T>> b,
Complex<T> beta,
Array2D<Complex<T>> c
)
Parameters
- side MatrixOperationSide
- Specifies on which side the hermitian matrix a is to be multiplied.
- storedTriangle MatrixTriangle
- Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
- m Int32
- The number of rows in the matrix a and the matrix c.
- n Int32
- The number of columns in the matrix b and the matrix c.
- alpha Complex<T>
- The scalar used to multiply the matrix-vector product.
- a Array2D<Complex<T>>
- Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
- b Array2D<Complex<T>>
- Reference to the first element in a one-dimensional array that contains the elements of the second matrix.
- beta Complex<T>
- The scalar used to multiply c.
- c Array2D<Complex<T>>
- Reference to the first element in a one-dimensional array that contains the elements of the third matrix.
Type Parameters
- T