v0.14.0
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

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
 
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,
func 
)
inline

Definition at line 19 of file Tensor2_transform.hpp.

20  : iterA(a), function(func)
21  {}

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  }

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:
FTensor::transform_Tensor2::iterA
const Tensor2_Expr< A, T, Dim0, Dim1, i, j > iterA
Definition: Tensor2_transform.hpp:10
a
constexpr double a
Definition: approx_sphere.cpp:30