votca 2024-dev
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB > Class Template Reference

#include <bseoperator_btda.h>

Inheritance diagram for votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >:
Inheritance graph
[legend]
Collaboration diagram for votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >:
Collaboration graph
[legend]

Public Types

enum  { ColsAtCompileTime = Eigen::Dynamic , MaxColsAtCompileTime = Eigen::Dynamic , IsRowMajor = false }
 
using Scalar = double
 
using RealScalar = double
 
using StorageIndex = votca::Index
 

Public Member Functions

 HamiltonianOperator (const MatrixReplacementA &A, const MatrixReplacementB &B)
 
Eigen::Index rows () const
 
Eigen::Index cols () const
 
template<typename Vtype >
Eigen::Product< HamiltonianOperator, Vtype, Eigen::AliasFreeProduct > operator* (const Eigen::MatrixBase< Vtype > &x) const
 
Eigen::VectorXd diagonal () const
 

Public Attributes

const MatrixReplacementA & A_
 
const MatrixReplacementB & B_
 

Private Member Functions

Eigen::VectorXd get_diagonal () const
 

Private Attributes

Index size_
 
Eigen::VectorXd diag_
 

Detailed Description

template<typename MatrixReplacementA, typename MatrixReplacementB>
class votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >

Definition at line 45 of file bseoperator_btda.h.

Member Typedef Documentation

◆ RealScalar

template<typename MatrixReplacementA , typename MatrixReplacementB >
using votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::RealScalar = double

Definition at line 51 of file bseoperator_btda.h.

◆ Scalar

template<typename MatrixReplacementA , typename MatrixReplacementB >
using votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::Scalar = double

Definition at line 50 of file bseoperator_btda.h.

◆ StorageIndex

template<typename MatrixReplacementA , typename MatrixReplacementB >
using votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::StorageIndex = votca::Index

Definition at line 52 of file bseoperator_btda.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename MatrixReplacementA , typename MatrixReplacementB >
anonymous enum
Enumerator
ColsAtCompileTime 
MaxColsAtCompileTime 
IsRowMajor 

Definition at line 53 of file bseoperator_btda.h.

Constructor & Destructor Documentation

◆ HamiltonianOperator()

template<typename MatrixReplacementA , typename MatrixReplacementB >
votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::HamiltonianOperator ( const MatrixReplacementA &  A,
const MatrixReplacementB &  B 
)
inline

Definition at line 59 of file bseoperator_btda.h.

Member Function Documentation

◆ cols()

template<typename MatrixReplacementA , typename MatrixReplacementB >
Eigen::Index votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::cols ( ) const
inline

Definition at line 66 of file bseoperator_btda.h.

◆ diagonal()

template<typename MatrixReplacementA , typename MatrixReplacementB >
Eigen::VectorXd votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::diagonal ( ) const
inline

Definition at line 75 of file bseoperator_btda.h.

◆ get_diagonal()

template<typename MatrixReplacementA , typename MatrixReplacementB >
Eigen::VectorXd votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::get_diagonal ( ) const
inlineprivate

Definition at line 81 of file bseoperator_btda.h.

◆ operator*()

template<typename MatrixReplacementA , typename MatrixReplacementB >
template<typename Vtype >
Eigen::Product< HamiltonianOperator, Vtype, Eigen::AliasFreeProduct > votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::operator* ( const Eigen::MatrixBase< Vtype > &  x) const
inline

Definition at line 69 of file bseoperator_btda.h.

◆ rows()

template<typename MatrixReplacementA , typename MatrixReplacementB >
Eigen::Index votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::rows ( ) const
inline

Definition at line 65 of file bseoperator_btda.h.

Member Data Documentation

◆ A_

template<typename MatrixReplacementA , typename MatrixReplacementB >
const MatrixReplacementA& votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::A_

Definition at line 77 of file bseoperator_btda.h.

◆ B_

template<typename MatrixReplacementA , typename MatrixReplacementB >
const MatrixReplacementB& votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::B_

Definition at line 78 of file bseoperator_btda.h.

◆ diag_

template<typename MatrixReplacementA , typename MatrixReplacementB >
Eigen::VectorXd votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::diag_
private

Definition at line 90 of file bseoperator_btda.h.

◆ size_

template<typename MatrixReplacementA , typename MatrixReplacementB >
Index votca::xtp::HamiltonianOperator< MatrixReplacementA, MatrixReplacementB >::size_
private

Definition at line 89 of file bseoperator_btda.h.


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