v0.14.0
Public Types | Public Member Functions | Public Attributes | List of all members
EigenMatrix::GetMatImpl< E, C, T > Struct Template Reference

#include <src/ftensor/src/MatrixFunctionTemplate.hpp>

Collaboration diagram for EigenMatrix::GetMatImpl< E, C, T >:
[legend]

Public Types

using Val = typename E::Val
 
using Vec = typename E::Vec
 
using Fun = typename E::Fun
 
using NumberNb = typename E::NumberNb
 
using NumberDim = typename E::NumberDim
 
template<int N>
using Number = FTensor::Number< N >
 

Public Member Functions

 GetMatImpl (E &e, T &t_a)
 
template<int i, int j>
void set (const Number< i > &, const Number< j > &)
 
template<int i>
void set (const Number< i > &, const Number< 1 > &)
 
void set (const Number< 1 > &, const Number< 1 > &)
 

Public Attributes

ReconstructMatImpl< E, C > r
 
T & tA
 

Detailed Description

template<typename E, typename C, typename T>
struct EigenMatrix::GetMatImpl< E, C, T >

Definition at line 492 of file MatrixFunctionTemplate.hpp.

Member Typedef Documentation

◆ Fun

template<typename E , typename C , typename T >
using EigenMatrix::GetMatImpl< E, C, T >::Fun = typename E::Fun

Definition at line 495 of file MatrixFunctionTemplate.hpp.

◆ Number

template<typename E , typename C , typename T >
template<int N>
using EigenMatrix::GetMatImpl< E, C, T >::Number = FTensor::Number<N>

Definition at line 500 of file MatrixFunctionTemplate.hpp.

◆ NumberDim

template<typename E , typename C , typename T >
using EigenMatrix::GetMatImpl< E, C, T >::NumberDim = typename E::NumberDim

Definition at line 498 of file MatrixFunctionTemplate.hpp.

◆ NumberNb

template<typename E , typename C , typename T >
using EigenMatrix::GetMatImpl< E, C, T >::NumberNb = typename E::NumberNb

Definition at line 497 of file MatrixFunctionTemplate.hpp.

◆ Val

template<typename E , typename C , typename T >
using EigenMatrix::GetMatImpl< E, C, T >::Val = typename E::Val

Definition at line 493 of file MatrixFunctionTemplate.hpp.

◆ Vec

template<typename E , typename C , typename T >
using EigenMatrix::GetMatImpl< E, C, T >::Vec = typename E::Vec

Definition at line 494 of file MatrixFunctionTemplate.hpp.

Constructor & Destructor Documentation

◆ GetMatImpl()

template<typename E , typename C , typename T >
EigenMatrix::GetMatImpl< E, C, T >::GetMatImpl ( E e,
T &  t_a 
)
inline

Definition at line 502 of file MatrixFunctionTemplate.hpp.

502 : r(e), tA(t_a) {}

Member Function Documentation

◆ set() [1/3]

template<typename E , typename C , typename T >
void EigenMatrix::GetMatImpl< E, C, T >::set ( const Number< 1 > &  ,
const Number< 1 > &   
)
inline

Definition at line 523 of file MatrixFunctionTemplate.hpp.

523  {
524  tA(Number<0>(), Number<0>()) =
525  r.eval(NumberDim(), Number<0>(), Number<0>());
526  }

◆ set() [2/3]

template<typename E , typename C , typename T >
template<int i>
void EigenMatrix::GetMatImpl< E, C, T >::set ( const Number< i > &  ,
const Number< 1 > &   
)
inline

Definition at line 515 of file MatrixFunctionTemplate.hpp.

515  {
516 
517  set(Number<i - 1>(), Number<i - 1>());
518 
519  tA(Number<i - 1>(), Number<0>()) =
520  r.eval(NumberDim(), Number<i - 1>(), Number<0>());
521  }

◆ set() [3/3]

template<typename E , typename C , typename T >
template<int i, int j>
void EigenMatrix::GetMatImpl< E, C, T >::set ( const Number< i > &  ,
const Number< j > &   
)
inline

Definition at line 507 of file MatrixFunctionTemplate.hpp.

507  {
508 
509  set(Number<i>(), Number<j - 1>());
510 
511  tA(Number<i - 1>(), Number<j - 1>()) =
512  r.eval(NumberDim(), Number<i - 1>(), Number<j - 1>());
513  }

Member Data Documentation

◆ r

template<typename E , typename C , typename T >
ReconstructMatImpl<E, C> EigenMatrix::GetMatImpl< E, C, T >::r

Definition at line 503 of file MatrixFunctionTemplate.hpp.

◆ tA

template<typename E , typename C , typename T >
T& EigenMatrix::GetMatImpl< E, C, T >::tA

Definition at line 504 of file MatrixFunctionTemplate.hpp.


The documentation for this struct was generated from the following file:
EigenMatrix::GetMatImpl::r
ReconstructMatImpl< E, C > r
Definition: MatrixFunctionTemplate.hpp:503
EigenMatrix::GetMatImpl::set
void set(const Number< i > &, const Number< j > &)
Definition: MatrixFunctionTemplate.hpp:507
EigenMatrix::GetMatImpl::tA
T & tA
Definition: MatrixFunctionTemplate.hpp:504
EigenMatrix::GetMatImpl::NumberDim
typename E::NumberDim NumberDim
Definition: MatrixFunctionTemplate.hpp:498