ManagedLinearAlgebraOperations.HermitianMultiplyAndAddInPlace Method

Definition

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

Overload List

HermitianMultiplyAndAddInPlace(MatrixTriangle, Int32, Complex<Double>, Array2D<Complex<Double>>, ArraySlice<Complex<Double>>, Complex<Double>, ArraySlice<Complex<Double>>)

Product of a hermitian matrix and a vector.
C#
public override void HermitianMultiplyAndAddInPlace(
	MatrixTriangle storedTriangle,
	int n,
	Complex<double> alpha,
	Array2D<Complex<double>> a,
	ArraySlice<Complex<double>> x,
	Complex<double> beta,
	ArraySlice<Complex<double>> 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<Double>
The scalar used to multiply the matrix-vector product.
a  Array2D<Complex<Double>>
Reference to the first element in a one-dimensional array that contains the elements of the matrix.
x  ArraySlice<Complex<Double>>
A reference to a one-dimensional array containing the elements of the vector x.
beta  Complex<Double>
The scalar used to multiply y.
y  ArraySlice<Complex<Double>>
A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.

Implements

ILinearAlgebraOperations<T>.HermitianMultiplyAndAddInPlace(MatrixTriangle, Int32, T, Array2D<T>, ArraySlice<T>, T, ArraySlice<T>)

HermitianMultiplyAndAddInPlace(MatrixOperationSide, MatrixTriangle, Int32, Int32, Complex<Double>, Array2D<Complex<Double>>, Array2D<Complex<Double>>, Complex<Double>, Array2D<Complex<Double>>)

Sum of the product of a hermitian and a general matrix and a scaled matrix.
C#
public override void HermitianMultiplyAndAddInPlace(
	MatrixOperationSide side,
	MatrixTriangle triangle,
	int m,
	int n,
	Complex<double> alpha,
	Array2D<Complex<double>> a,
	Array2D<Complex<double>> b,
	Complex<double> beta,
	Array2D<Complex<double>> c
)

Parameters

side  MatrixOperationSide
Specifies on which side the hermitian matrix a is to be multiplied.
triangle  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<Double>
The scalar used to multiply the matrix-vector product.
a  Array2D<Complex<Double>>
Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
b  Array2D<Complex<Double>>
Reference to the first element in a one-dimensional array that contains the elements of the second matrix.
beta  Complex<Double>
The scalar used to multiply c.
c  Array2D<Complex<Double>>
Reference to the first element in a one-dimensional array that contains the elements of the third matrix.

Implements

ILinearAlgebraOperations<T>.HermitianMultiplyAndAddInPlace(MatrixOperationSide, MatrixTriangle, Int32, Int32, T, Array2D<T>, Array2D<T>, T, Array2D<T>)

See Also