v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor1_or_Tensor1< A, B, T, U, Dim, i, j > Class Template Reference

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

Collaboration diagram for FTensor::Tensor1_or_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_or_Tensor1 (const Tensor1_Expr< A, T, Dim, i > &a, const Tensor1_Expr< B, U, Dim, j > &b)
 

Private Attributes

Tensor1_Expr< A, T, Dim, iiterA
 
Tensor1_Expr< B, U, Dim, jiterB
 

Detailed Description

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

Definition at line 8 of file Tensor1_or_Tensor1.hpp.

Constructor & Destructor Documentation

◆ Tensor1_or_Tensor1()

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

Definition at line 19 of file Tensor1_or_Tensor1.hpp.

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

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_or_Tensor1< A, B, T, U, Dim, i, j >::operator() ( const int  N1,
const int  N2 
) const
inline

Definition at line 14 of file Tensor1_or_Tensor1.hpp.

15 {
16 return iterA(N1) + iterB(N2);
17 }
static Number< 2 > N2
static Number< 1 > N1

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_or_Tensor1< A, B, T, U, Dim, i, j >::iterA
private

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

Definition at line 11 of file Tensor1_or_Tensor1.hpp.


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