oILAB
Loading...
Searching...
No Matches
gbLAB::OperatorScalarProduct< T, E, dim > Class Template Reference

#include <Operator.h>

+ Inheritance diagram for gbLAB::OperatorScalarProduct< T, E, dim >:

Public Member Functions

 OperatorScalarProduct (const T &s_, const E &op_)
 
void perform_op (const double *x_in, double *y_out) const
 
 OperatorScalarProduct (const T &s_, const E &op_)
 
void perform_op (const double *x_in, double *y_out) const
 
- Public Member Functions inherited from gbLAB::Operator< OperatorScalarProduct< T, E, dim >, dim >
 Operator (const Eigen::Matrix< double, dim, dim > &A, const Eigen::array< Eigen::Index, dim > &n_)
 
 Operator (const Eigen::Matrix< double, dim, dim > &A, const Eigen::array< Eigen::Index, dim > &n_)
 
auto domain () const
 
auto domain () const
 
Eigen::Index rows () const
 
Eigen::Index rows () const
 
Eigen::Index cols () const
 
Eigen::Index cols () const
 
void perform_op (const double *x_in, double *y_out) const
 
void perform_op (const double *x_in, double *y_out) const
 

Private Attributes

double s
 
const E op
 

Additional Inherited Members

- Public Types inherited from gbLAB::Operator< OperatorScalarProduct< T, E, dim >, dim >
using Scalar = double
 
using Scalar = double
 
- Data Fields inherited from gbLAB::Operator< OperatorScalarProduct< T, E, dim >, dim >
const OperatorScalarProduct< T, E, dim > & derivedOperator
 
const Lattice< dim > L
 
const Eigen::array< Eigen::Index, dim > n
 

Detailed Description

template<typename T, typename E, int dim>
class gbLAB::OperatorScalarProduct< T, E, dim >

Definition at line 70 of file Operator.h.

Constructor & Destructor Documentation

◆ OperatorScalarProduct() [1/2]

template<typename T , typename E , int dim>
gbLAB::OperatorScalarProduct< T, E, dim >::OperatorScalarProduct ( const T &  s_,
const E &  op_ 
)
inline

Definition at line 74 of file Operator.h.

◆ OperatorScalarProduct() [2/2]

template<typename T , typename E , int dim>
gbLAB::OperatorScalarProduct< T, E, dim >::OperatorScalarProduct ( const T &  s_,
const E &  op_ 
)
inline

Definition at line 74 of file Operator.h.

Member Function Documentation

◆ perform_op() [1/2]

template<typename T , typename E , int dim>
void gbLAB::OperatorScalarProduct< T, E, dim >::perform_op ( const double *  x_in,
double *  y_out 
) const
inline

Definition at line 79 of file Operator.h.

◆ perform_op() [2/2]

template<typename T , typename E , int dim>
void gbLAB::OperatorScalarProduct< T, E, dim >::perform_op ( const double *  x_in,
double *  y_out 
) const
inline

Definition at line 79 of file Operator.h.

Field Documentation

◆ op

template<typename T , typename E , int dim>
const E gbLAB::OperatorScalarProduct< T, E, dim >::op
private

Definition at line 72 of file Operator.h.

◆ s

template<typename T , typename E , int dim>
double gbLAB::OperatorScalarProduct< T, E, dim >::s
private

Definition at line 71 of file Operator.h.


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