v0.8.15
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor2_symmetric/Tensor2_symmetric_times_Tensor1.hpp>

Collaboration diagram for FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >:
[legend]

Public Member Functions

 Tensor2_symmetric_times_Tensor1_1 (const Tensor2_symmetric_Expr< A, T, Dim, i, j > &a, const Tensor1_Expr< B, U, Dim, j > &b)
 
promote< T, U >::V operator() (const int N1) const
 

Private Member Functions

template<int Current_Dim>
promote< T, U >::V eval (const int N1, const Number< Current_Dim > &) const
 
promote< T, U >::V eval (const int N1, const Number< 1 > &) const
 

Private Attributes

Tensor2_symmetric_Expr< A, T, Dim, i, j > iterA
 
Tensor1_Expr< B, U, Dim, j > iterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim, char i, char j>
class FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >

Definition at line 12 of file Tensor2_symmetric_times_Tensor1.hpp.

Constructor & Destructor Documentation

◆ Tensor2_symmetric_times_Tensor1_1()

template<class A , class B , class T , class U , int Dim, char i, char j>
FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >::Tensor2_symmetric_times_Tensor1_1 ( const Tensor2_symmetric_Expr< A, T, Dim, i, j > &  a,
const Tensor1_Expr< B, U, Dim, j > &  b 
)

Definition at line 30 of file Tensor2_symmetric_times_Tensor1.hpp.

33  : iterA(a), iterB(b)
34  {}
Tensor2_symmetric_Expr< A, T, Dim, i, j > iterA

Member Function Documentation

◆ eval() [1/2]

template<class A , class B , class T , class U , int Dim, char i, char j>
template<int Current_Dim>
promote<T, U>::V FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >::eval ( const int  N1,
const Number< Current_Dim > &   
) const
private

Definition at line 19 of file Tensor2_symmetric_times_Tensor1.hpp.

20  {
21  return iterA(N1, Current_Dim - 1) * iterB(Current_Dim - 1)
22  + eval(N1, Number<Current_Dim - 1>());
23  }
promote< T, U >::V eval(const int N1, const Number< Current_Dim > &) const
Tensor2_symmetric_Expr< A, T, Dim, i, j > iterA

◆ eval() [2/2]

template<class A , class B , class T , class U , int Dim, char i, char j>
promote<T, U>::V FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >::eval ( const int  N1,
const Number< 1 > &   
) const
private

Definition at line 24 of file Tensor2_symmetric_times_Tensor1.hpp.

25  {
26  return iterA(N1, 0) * iterB(0);
27  }
Tensor2_symmetric_Expr< A, T, Dim, i, j > iterA

◆ operator()()

template<class A , class B , class T , class U , int Dim, char i, char j>
promote<T, U>::V FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >::operator() ( const int  N1) const

Definition at line 35 of file Tensor2_symmetric_times_Tensor1.hpp.

36  {
37  return eval(N1, Number<Dim>());
38  }
promote< T, U >::V eval(const int N1, const Number< Current_Dim > &) const

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim, char i, char j>
Tensor2_symmetric_Expr<A, T, Dim, i, j> FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >::iterA
private

Definition at line 14 of file Tensor2_symmetric_times_Tensor1.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim, char i, char j>
Tensor1_Expr<B, U, Dim, j> FTensor::Tensor2_symmetric_times_Tensor1_1< A, B, T, U, Dim, i, j >::iterB
private

Definition at line 15 of file Tensor2_symmetric_times_Tensor1.hpp.


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