ManagedLinearAlgebraOperations.TriangularMultiplyInPlace Method

Definition

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

Overload List

TriangularMultiplyInPlace(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Array2D<Complex<Double>>, ArraySlice<Complex<Double>>)

Product of a triangular matrix and a vector.
C#
public override void TriangularMultiplyInPlace(
	MatrixTriangle storedTriangle,
	TransposeOperation transA,
	MatrixDiagonal diag,
	int n,
	Array2D<Complex<double>> a,
	ArraySlice<Complex<double>> x
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the matrix is an upper or lower triangular matrix.
transA  TransposeOperation
Specifies the operation to be performed on the matrix a.
diag  MatrixDiagonal
Specifies whether or not a is unit triangular.
n  Int32
The number of rows and columns in the matrix a.
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. The elements of x are overwritten with the result.

Implements

ILinearAlgebraOperations<T>.TriangularMultiplyInPlace(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Array2D<T>, ArraySlice<T>)

TriangularMultiplyInPlace(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Array2D<Double>, ArraySlice<Double>)

Product of a triangular matrix and a vector.
C#
public override void TriangularMultiplyInPlace(
	MatrixTriangle storedTriangle,
	TransposeOperation transA,
	MatrixDiagonal diag,
	int n,
	Array2D<double> a,
	ArraySlice<double> x
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the matrix is an upper or lower triangular matrix.
transA  TransposeOperation
Specifies the operation to be performed on the matrix a.
diag  MatrixDiagonal
Specifies whether or not a is unit triangular.
n  Int32
The number of rows and columns in the matrix a.
a  Array2D<Double>
Reference to the first element in a one-dimensional array that contains the elements of the matrix.
x  ArraySlice<Double>
A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.

Implements

ILinearAlgebraOperations<T>.TriangularMultiplyInPlace(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Array2D<T>, ArraySlice<T>)

TriangularMultiplyInPlace(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, Complex<Double>, Array2D<Complex<Double>>, Array2D<Complex<Double>>)

Product of a triangular and a general matrix.
C#
public override void TriangularMultiplyInPlace(
	MatrixOperationSide side,
	MatrixTriangle triangle,
	TransposeOperation transA,
	MatrixDiagonal diag,
	int m,
	int n,
	Complex<double> alpha,
	Array2D<Complex<double>> a,
	Array2D<Complex<double>> b
)

Parameters

side  MatrixOperationSide
Specifies on which side the triangular 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.
transA  TransposeOperation
Specifies the operation to be performed on the matrix a.
diag  MatrixDiagonal
Specifies whether or not a is unit triangular.
m  Int32
The number of rows in the matrix a transformed as specified by transA, and the matrix b.
n  Int32
The number of columns in the matrix b and the matrix b.
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.

Implements

ILinearAlgebraOperations<T>.TriangularMultiplyInPlace(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, T, Array2D<T>, Array2D<T>)

TriangularMultiplyInPlace(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, Double, Array2D<Double>, Array2D<Double>)

Product of a triangular and a general matrix.
C#
public override void TriangularMultiplyInPlace(
	MatrixOperationSide side,
	MatrixTriangle storedTriangle,
	TransposeOperation transA,
	MatrixDiagonal diag,
	int m,
	int n,
	double alpha,
	Array2D<double> a,
	Array2D<double> b
)

Parameters

side  MatrixOperationSide
Specifies on which side the triangular 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.
transA  TransposeOperation
Specifies the operation to be performed on the matrix a.
diag  MatrixDiagonal
Specifies whether or not a is unit triangular.
m  Int32
The number of rows in the matrix a transformed as specified by transA, and the matrix b.
n  Int32
The number of columns in the matrix b.
alpha  Double
The scalar used to multiply the matrix-vector product.
a  Array2D<Double>
Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
b  Array2D<Double>
Reference to the first element in a one-dimensional array that contains the elements of the second matrix.

Implements

ILinearAlgebraOperations<T>.TriangularMultiplyInPlace(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, T, Array2D<T>, Array2D<T>)

See Also