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

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

Collaboration diagram for FTensor::Tensor1_times_Tensor1< A, B, T, U, Dim0, Dim1, i, j >:
[legend]

Public Member Functions

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

Private Attributes

Tensor1_Expr< A, T, Dim0, iiterA
 
Tensor1_Expr< B, U, Dim1, jiterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim0, int Dim1, char i, char j>
class FTensor::Tensor1_times_Tensor1< A, B, T, U, Dim0, Dim1, i, j >

Definition at line 39 of file Tensor1_times_Tensor1.hpp.

Constructor & Destructor Documentation

◆ Tensor1_times_Tensor1()

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

Definition at line 45 of file Tensor1_times_Tensor1.hpp.

47 : iterA(a), iterB(b)
48 {}
constexpr double a
Tensor1_Expr< B, U, Dim1, j > iterB
Tensor1_Expr< A, T, Dim0, i > iterA

Member Function Documentation

◆ operator()()

template<class A , class B , class T , class U , int Dim0, int Dim1, char i, char j>
promote< T, U >::V FTensor::Tensor1_times_Tensor1< A, B, T, U, Dim0, Dim1, i, j >::operator() ( const int  N1,
const int  N2 
) const
inline

Definition at line 49 of file Tensor1_times_Tensor1.hpp.

50 {
51 return iterA(N1) * iterB(N2);
52 }
static Number< 2 > N2
static Number< 1 > N1

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim0, int Dim1, char i, char j>
Tensor1_Expr<A, T, Dim0, i> FTensor::Tensor1_times_Tensor1< A, B, T, U, Dim0, Dim1, i, j >::iterA
private

Definition at line 41 of file Tensor1_times_Tensor1.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim0, int Dim1, char i, char j>
Tensor1_Expr<B, U, Dim1, j> FTensor::Tensor1_times_Tensor1< A, B, T, U, Dim0, Dim1, i, j >::iterB
private

Definition at line 42 of file Tensor1_times_Tensor1.hpp.


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