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

#include <src/ftensor/src/FTensor/Tensor1/Tensor1_carat_Tensor1.hpp>

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

Public Member Functions

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

Private Attributes

Tensor1_Expr< A, T, Dim, i > 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::Tensor1_carat_Tensor1< A, B, T, U, Dim, i, j >

Definition at line 8 of file Tensor1_carat_Tensor1.hpp.

Constructor & Destructor Documentation

◆ Tensor1_carat_Tensor1()

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

Definition at line 19 of file Tensor1_carat_Tensor1.hpp.

21  : iterA(a), iterB(b)
22  {}
Tensor1_Expr< B, U, Dim, j > iterB
Tensor1_Expr< A, T, Dim, i > iterA

Member Function Documentation

◆ operator()()

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

Definition at line 14 of file Tensor1_carat_Tensor1.hpp.

15  {
16  return iterA(N1) * iterB(N2);
17  }
Tensor1_Expr< B, U, Dim, j > iterB
Tensor1_Expr< A, T, Dim, i > iterA

Member Data Documentation

◆ iterA

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

Definition at line 10 of file Tensor1_carat_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::Tensor1_carat_Tensor1< A, B, T, U, Dim, i, j >::iterB
private

Definition at line 11 of file Tensor1_carat_Tensor1.hpp.


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