CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
EigenSolver< Number > Struct Template Reference

[Function] More...

Inheritance diagram for EigenSolver< Number >:

Public Types

using Base = codi::EigenLinearSystem<Number, Matrix, Vector>
 Base solver.
 
using MatrixReal = typename Base::MatrixReal
 Matrix type.
 
using VectorReal = typename Base::VectorReal
 Vector type.
 
- Public Types inherited from codi::EigenLinearSystem< Number, Matrix, Vector >
using Index
 Index of an Eigen matrix.
 
using InterfaceTypes
 See LinearSystemInterface.
 
using Matrix
 See LinearSystemInterfaceTypes.
 
using MatrixIdentifier
 See LinearSystemInterfaceTypes.
 
using MatrixReal
 See LinearSystemInterfaceTypes.
 
using Type
 See LinearSystemInterfaceTypes.
 
using Vector
 See LinearSystemInterfaceTypes.
 
using VectorIdentifier
 See LinearSystemInterfaceTypes.
 
using VectorReal
 See LinearSystemInterfaceTypes.
 
- Public Types inherited from codi::LinearSystemInterface< T_InterfaceTypes >
using InterfaceTypes = T_InterfaceTypes
 See LinearSystemInterface.
 
using Matrix = typename InterfaceTypes::Matrix
 See LinearSystemInterfaceTypes.
 
using MatrixIdentifier = typename InterfaceTypes::MatrixIdentifier
 See LinearSystemInterfaceTypes.
 
using MatrixReal = typename InterfaceTypes::MatrixReal
 See LinearSystemInterfaceTypes.
 
using Type = typename InterfaceTypes::Type
 See LinearSystemInterfaceTypes.
 
using Vector = typename InterfaceTypes::Vector
 See LinearSystemInterfaceTypes.
 
using VectorIdentifier = typename InterfaceTypes::VectorIdentifier
 See LinearSystemInterfaceTypes.
 
using VectorReal = typename InterfaceTypes::VectorReal
 See LinearSystemInterfaceTypes.
 

Public Member Functions

void solveSystem (MatrixReal const *A, VectorReal const *b, VectorReal *x)
 System solve implementation.
 
- Public Member Functions inherited from codi::EigenLinearSystem< Number, Matrix, Vector >
MatrixRealcreateMatrixReal (M *mat)
 
MatrixIdentifiercreateMatrixIdentifier (M *mat)
 
VectorRealcreateVectorReal (V *vec)
 
VectorIdentifiercreateVectorIdentifier (V *vec)
 
void deleteMatrixReal (MatrixReal *A_v)
 Delete a real matrix.
 
void deleteMatrixIdentifier (MatrixIdentifier *A_id)
 Delete an identifier matrix.
 
void deleteVectorReal (VectorReal *vec_v)
 Delete a real Vector.
 
void deleteVectorIdentifier (VectorIdentifier *vec_id)
 Delete an identifier vector.
 
void iterateMatrix (Func func, MatrixA *matA, MatrixB *matB)
 Iterate over all elements in the matrices at the same time.
 
void iterateMatrix (Func func, MatrixA *matA, MatrixB *matB, MatrixC *matC)
 Iterate over all elements in the matrices at the same time.
 
void iterateVector (Func func, VectorA *vecA, VectorB *vecB)
 Iterate over all elements in the vectors at the same time.
 
void iterateVector (Func func, VectorA *vecA, VectorB *vecB, VectorC *vecC)
 Iterate over all elements in the vectors at the same time.
 
void iterateVector (Func func, VectorA *vecA, VectorB *vecB, VectorC *vecC, VectorD *vecD)
 Iterate over all elements in the vectors at the same time.
 
void solveSystem (MatrixReal const *A, VectorReal const *b, VectorReal *x)
 
Needs to be implemented by the user.
 
MatrixRealtransposeMatrix (MatrixReal *A_v)
 Create a transposed matrix.
 
void iterateDyadic (Func func, MatrixIdentifier *mat_id, VectorReal *x_v, VectorReal *b_b)
 
void subtractMultiply (VectorReal *t, VectorReal const *b_d, MatrixReal const *A_d, VectorReal const *x)
 Computes t = b_d - A_d * x.
 
- Public Member Functions inherited from codi::LinearSystemInterface< T_InterfaceTypes >
template<typename M >
MatrixRealcreateMatrixReal (M *mat)
 
template<typename M >
MatrixIdentifiercreateMatrixIdentifier (M *mat)
 
template<typename V >
VectorRealcreateVectorReal (V *vec)
 
template<typename V >
VectorIdentifiercreateVectorIdentifier (V *vec)
 
void deleteMatrixReal (MatrixReal *A_v)
 Delete a real matrix.
 
void deleteMatrixIdentifier (MatrixIdentifier *A_id)
 Delete an identifier matrix.
 
void deleteVectorReal (VectorReal *vec_v)
 Delete a real Vector.
 
void deleteVectorIdentifier (VectorIdentifier *vec_id)
 Delete an identifier vector.
 
template<typename Func , typename MatrixA , typename MatrixB >
void iterateMatrix (Func func, MatrixA *matA, MatrixB *matB)
 Iterate over all elements in the matrices at the same time.
 
template<typename Func , typename MatrixA , typename MatrixB , typename MatrixC >
void iterateMatrix (Func func, MatrixA *matA, MatrixB *matB, MatrixC *matC)
 Iterate over all elements in the matrices at the same time.
 
template<typename Func , typename VectorA , typename VectorB >
void iterateVector (Func func, VectorA *vecA, VectorB *vecB)
 Iterate over all elements in the vectors at the same time.
 
template<typename Func , typename VectorA , typename VectorB , typename VectorC >
void iterateVector (Func func, VectorA *vecA, VectorB *vecB, VectorC *vecC)
 Iterate over all elements in the vectors at the same time.
 
template<typename Func , typename VectorA , typename VectorB , typename VectorC , typename VectorD >
void iterateVector (Func func, VectorA *vecA, VectorB *vecB, VectorC *vecC, VectorD *vecD)
 Iterate over all elements in the vectors at the same time.
 
void solveSystem (MatrixReal const *A, VectorReal const *b, VectorReal *x)
 
template<typename Func >
void iterateDyadic (Func func, MatrixIdentifier *mat_id, VectorReal *x_v, VectorReal *b_b)
 
MatrixRealtransposeMatrix (MatrixReal *A_v)
 Create a transposed matrix.
 
void subtractMultiply (VectorReal *t, VectorReal const *b_d, MatrixReal const *A_d, VectorReal const *x)
 Computes t = b_d - A_d * x.
 
void solveSystemPrimal (MatrixReal const *A, VectorReal const *b, VectorReal *x)
 

Detailed Description

template<typename Number>
struct EigenSolver< Number >

[Function]


The documentation for this struct was generated from the following file: