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

#include <src/ftensor/src/FTensor/Tensor2/Tensor2_transform.hpp>

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

Public Member Functions

T operator() (const int N1, const int N2) const
 
 transform_Tensor2 (const Tensor2_Expr< A, T, Dim0, Dim1, i, j > &a, B func)
 

Private Attributes

const Tensor2_Expr< A, T, Dim0, Dim1, i, jiterA
 
B function
 

Detailed Description

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

Definition at line 8 of file Tensor2_transform.hpp.

Constructor & Destructor Documentation

◆ transform_Tensor2()

template<class A , class B , class T , int Dim0, int Dim1, char i, char j>
FTensor::transform_Tensor2< A, B, T, Dim0, Dim1, i, j >::transform_Tensor2 ( const Tensor2_Expr< A, T, Dim0, Dim1, i, j > &  a,
B  func 
)
inline

Definition at line 19 of file Tensor2_transform.hpp.

20 : iterA(a), function(func)
21 {}
constexpr double a
const Tensor2_Expr< A, T, Dim0, Dim1, i, j > iterA

Member Function Documentation

◆ operator()()

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

Definition at line 14 of file Tensor2_transform.hpp.

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

Member Data Documentation

◆ function

template<class A , class B , class T , int Dim0, int Dim1, char i, char j>
B FTensor::transform_Tensor2< A, B, T, Dim0, Dim1, i, j >::function
private

Definition at line 11 of file Tensor2_transform.hpp.

◆ iterA

template<class A , class B , class T , int Dim0, int Dim1, char i, char j>
const Tensor2_Expr<A, T, Dim0, Dim1, i, j> FTensor::transform_Tensor2< A, B, T, Dim0, Dim1, i, j >::iterA
private

Definition at line 10 of file Tensor2_transform.hpp.


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