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

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

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

Public Member Functions

promote< T, U >::V operator() (const int N) const
 
 Tensor1_and_Tensor1 (const Tensor1_Expr< A, T, Dim, i > &a, const Tensor1_Expr< B, U, Dim, i > &b)
 

Private Attributes

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

Detailed Description

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

Definition at line 9 of file Tensor1_and_Tensor1.hpp.

Constructor & Destructor Documentation

◆ Tensor1_and_Tensor1()

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

Definition at line 20 of file Tensor1_and_Tensor1.hpp.

22  : iterA(a), iterB(b)
23  {}

Member Function Documentation

◆ operator()()

template<class A , class B , class T , class U , int Dim, char i>
promote<T, U>::V FTensor::Tensor1_and_Tensor1< A, B, T, U, Dim, i >::operator() ( const int  N) const
inline

Definition at line 15 of file Tensor1_and_Tensor1.hpp.

16  {
17  return iterA(N) * iterB(N);
18  }

Member Data Documentation

◆ iterA

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

Definition at line 11 of file Tensor1_and_Tensor1.hpp.

◆ iterB

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

Definition at line 12 of file Tensor1_and_Tensor1.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
N
const int N
Definition: speed_test.cpp:3
FTensor::Tensor1_and_Tensor1::iterB
Tensor1_Expr< B, U, Dim, i > iterB
Definition: Tensor1_and_Tensor1.hpp:12
FTensor::Tensor1_and_Tensor1::iterA
Tensor1_Expr< A, T, Dim, i > iterA
Definition: Tensor1_and_Tensor1.hpp:11