votca 2024.2-dev
Loading...
Searching...
No Matches
votca::xtp::MatrixFreeOperator Class Referenceabstract

#include <matrixfreeoperator.h>

Inheritance diagram for votca::xtp::MatrixFreeOperator:
Collaboration diagram for votca::xtp::MatrixFreeOperator:

Public Types

enum  { ColsAtCompileTime = Eigen::Dynamic , MaxColsAtCompileTime = Eigen::Dynamic , IsRowMajor = false }
 

Public Member Functions

Index rows () const
 
Index cols () const
 
template<typename Vtype >
Eigen::Product< MatrixFreeOperator, Vtype, Eigen::AliasFreeProduct > operator* (const Eigen::MatrixBase< Vtype > &x) const
 
virtual Eigen::VectorXd diagonal () const =0
 
virtual Eigen::MatrixXd matmul (const Eigen::MatrixXd &input) const =0
 
Index size () const
 
void set_size (Index size)
 

Private Attributes

Index size_
 

Detailed Description

Definition at line 43 of file matrixfreeoperator.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ColsAtCompileTime 
MaxColsAtCompileTime 
IsRowMajor 

Definition at line 45 of file matrixfreeoperator.h.

Member Function Documentation

◆ cols()

Index votca::xtp::MatrixFreeOperator::cols ( ) const
inline

Definition at line 52 of file matrixfreeoperator.h.

◆ diagonal()

virtual Eigen::VectorXd votca::xtp::MatrixFreeOperator::diagonal ( ) const
pure virtual

◆ matmul()

virtual Eigen::MatrixXd votca::xtp::MatrixFreeOperator::matmul ( const Eigen::MatrixXd & input) const
pure virtual

◆ operator*()

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

Definition at line 55 of file matrixfreeoperator.h.

◆ rows()

Index votca::xtp::MatrixFreeOperator::rows ( ) const
inline

Definition at line 51 of file matrixfreeoperator.h.

◆ set_size()

void votca::xtp::MatrixFreeOperator::set_size ( Index size)

Definition at line 29 of file matrixfreeoperator.cc.

◆ size()

Index votca::xtp::MatrixFreeOperator::size ( ) const

Definition at line 26 of file matrixfreeoperator.cc.

Member Data Documentation

◆ size_

Index votca::xtp::MatrixFreeOperator::size_
private

Definition at line 67 of file matrixfreeoperator.h.


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