Spectra::SymGEigsCholeskyOp< OpType, BOpType > Class Template Reference

Description

template<typename OpType = DenseSymMatProd<double>, typename BOpType = DenseCholesky<double>>
class Spectra::SymGEigsCholeskyOp< OpType, BOpType >

This class defines the matrix operation for generalized eigen solver in the Cholesky decomposition mode. It calculates \(y=L^{-1}A(L')^{-1}x\) for any vector \(x\), where \(L\) is the Cholesky decomposition of \(B\). This class is intended for internal use.

#include <SymGEigsCholeskyOp.h>

Public Types

using Scalar = typename OpType::Scalar
 

Public Member Functions

 SymGEigsCholeskyOp (const OpType &op, const BOpType &Bop)
 Constructor to create the matrix operation object. More...
 
 SymGEigsCholeskyOp (SymGEigsCholeskyOp &&other)
 Move constructor.
 
Index rows () const
 Return the number of rows of the underlying matrix.
 
Index cols () const
 Return the number of columns of the underlying matrix.
 
void perform_op (const Scalar *x_in, Scalar *y_out) const
 Perform the matrix operation \(y=L^{-1}A(L')^{-1}x\). More...
 

Constructor & Destructor Documentation

◆ SymGEigsCholeskyOp()

template<typename OpType = DenseSymMatProd<double>, typename BOpType = DenseCholesky<double>>
Spectra::SymGEigsCholeskyOp< OpType, BOpType >::SymGEigsCholeskyOp ( const OpType &  op,
const BOpType &  Bop 
)
inline

Constructor to create the matrix operation object.

Parameters
opThe \(A\) matrix operation object.
BopThe \(B\) matrix operation object.

Member Function Documentation

◆ perform_op()

template<typename OpType = DenseSymMatProd<double>, typename BOpType = DenseCholesky<double>>
void Spectra::SymGEigsCholeskyOp< OpType, BOpType >::perform_op ( const Scalar *  x_in,
Scalar *  y_out 
) const
inline

Perform the matrix operation \(y=L^{-1}A(L')^{-1}x\).

Parameters
x_inPointer to the \(x\) vector.
y_outPointer to the \(y\) vector.

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_thirdparty/spectra/Spectra/MatOp/internal/SymGEigsCholeskyOp.h