LinearAlgebraOperations Class

Specifies the methods that must be implemented by a class to support basic linear algebra.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static class LinearAlgebraOperations
Inheritance
Object  →  LinearAlgebraOperations

Methods

AbsoluteMaxIndex<T, TStorage> Returns the index of the element of a vector with maximum absolute value.
ApplyModifiedGivensRotation<T, TStorage> Applies a modified Givens rotation.
BandMultiplyAndAddInPlace<T, TStorage, TStorage2D> Sum of the product of a general band matrix and vector and a scaled vector.
BandSymmetricMultiplyAndAddInPlace<T, TStorage, TStorage2D> Product of a symmetric band matrix and a vector.
BandTriangularMultiplyInPlace<T, TStorage, TStorage2D> Product of a triangular band matrix and a vector.
BandTriangularSolveInPlace<T, TStorage, TStorage2D> Solves a triangular band system of equations.
ComplexFullMatrixNorm<T, TStorage2D> Computes the norm of a general rectangular matrix.
ComplexMultiplyInPlace<T, TStorage>

Scales a vector by a constant.

ComplexRotate<T, TStorage>

A plane rotation, where the cos and sin (c and s) are real and the vectors cx and cy are complex.

ComplexSymmetricMatrixNorm<T, TStorage2D> Computes the norm of a symmetric matrix.
ComplexTriangularMatrixNorm<T, TStorage2D> Computes the norm of a triangular matrix.
ComplexTwoNorm<T, TStorage> Returns the square root of sum of the squares of the elements of a vector.
ConjugateDotProduct<T, TStorage> Returns the inner product of two vectors.
ConjugateRankUpdate<T, TStorage, TStorage2D> Performs a rank one update of a matrix.
Copy<T, TStorage>(Int32, TStorage, TStorage) Copies a vector.
Copy<T, TStorage2D>(MatrixTriangle, Int32, Int32, TStorage2D, TStorage2D)

Copies all or part of a two-dimensional matrix A to another matrix B.

CreateGivensRotation<T> Generates the elements for a Givens plane rotation.
CreateModifiedGivensRotation<T> Applies a modified Givens rotation.
DotProduct<T, TStorage> Returns the inner product of two vectors.
FullMatrixNorm<T, TStorage2D>

Returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real matrix A.

HermitianMatrixNorm<T, TStorage2D> Computes the norm of a Hermitian matrix.
HermitianMultiplyAndAddInPlace<T, TStorage2D>(MatrixOperationSide, MatrixTriangle, Int32, Int32, Complex<T>, TStorage2D, TStorage2D, Complex<T>, TStorage2D) Sum of the product of a hermitian and a general matrix and a scaled matrix.
HermitianMultiplyAndAddInPlace<T, TStorage, TStorage2D>(MatrixTriangle, Int32, Complex<T>, TStorage2D, TStorage, Complex<T>, TStorage) Product of a hermitian matrix and a vector.
HermitianRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, T, TStorage2D, T, TStorage2D) Performs a rank k update of a hermitian matrix.
HermitianRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, Complex<T>, TStorage2D, TStorage2D, T, TStorage2D) Performs a rank 2k update of a hermitian matrix.
HermitianRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage, TStorage2D) Performs a rank one update of a hermitian.
HermitianRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, Complex<T>, TStorage, TStorage, TStorage2D) Performs a hermitian rank two update of a hermitian matrix.
MultiplyAndAddInPlace<T, TStorage>(Int32, T, TStorage, TStorage) Evaluates a vector plus the product of a scalar and a vector
MultiplyAndAddInPlace<T, TStorage2D>(TransposeOperation, TransposeOperation, Int32, Int32, Int32, T, TStorage2D, TStorage2D, T, TStorage2D) Sum of the product of two general matrices and a scaled matrix.
MultiplyAndAddInPlace<T, TStorage, TStorage2D>(TransposeOperation, Int32, Int32, T, TStorage2D, TStorage, T, TStorage) Sum of the product of a general matrix and vector and a scaled vector.
MultiplyInPlace<T, TStorage> Evaluates the product of a scalar and a vector.
OneNorm<T, TStorage> Returns the sum of the absolute values of the elements of a vector.
RankUpdate<T, TStorage, TStorage2D> Performs a rank one update of a matrix.
RealOneNorm<T, TStorage> Returns the sum of the absolute values of the elements of a vector.
Rotate<T, TStorage> Applies a Givens plane rotation.
Swap<T, TStorage> Exchanges the elements of two vectors.
SymmetricMatrixNorm<T, TStorage2D>

Returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix A.

SymmetricMultiplyAndAddInPlace<T, TStorage2D>(MatrixOperationSide, MatrixTriangle, Int32, Int32, T, TStorage2D, TStorage2D, T, TStorage2D) Sum of the product of a symmetric and a general matrix and a scaled matrix.
SymmetricMultiplyAndAddInPlace<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage2D, TStorage, T, TStorage) Product of a symmetric matrix and a vector.
SymmetricRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, T, TStorage2D, T, TStorage2D) Performs a rank k update of a symmetric matrix.
SymmetricRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, T, TStorage2D, TStorage2D, T, TStorage2D) Performs a rank k update of a symmetric matrix.
SymmetricRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage, TStorage2D) Performs a rank one update of a symmetric matrix.
SymmetricRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage, TStorage, TStorage2D) Performs a symmetric rank two update of a symmetric matrix.
TriangularMatrixNorm<T, TStorage2D>

Returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a trapezoidal or triangular matrix A.

TriangularMultiplyInPlace<T, TStorage2D>(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, T, TStorage2D, TStorage2D) Product of a triangular and a general matrix.
TriangularMultiplyInPlace<T, TStorage, TStorage2D>(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, TStorage2D, TStorage) Product of a triangular matrix and a vector.
TriangularSolveInPlace<T, TStorage2D>(MatrixOperationSide, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, T, TStorage2D, TStorage2D) Solution of a triangular linear system with multiple right-hand sides.
TriangularSolveInPlace<T, TStorage, TStorage2D>(MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, TStorage2D, TStorage) Solves a triangular system of equations.
TwoNorm<T, TStorage> Returns the square root of sum of the squares of the elements of a vector.

See Also