SimiLie
Loading...
Searching...
No Matches
sil::tensor::TensorAccessor< Index > Class Template Reference

#include <tensor_impl.hpp>

Collaboration diagram for sil::tensor::TensorAccessor< Index >:
Collaboration graph

Public Types

using discrete_domain_type = ddc::DiscreteDomain<Index...>
 
using discrete_element_type = ddc::DiscreteElement<Index...>
 
using natural_domain_t
 

Public Member Functions

constexpr TensorAccessor ()
 

Static Public Member Functions

static constexpr natural_domain_t natural_domain ()
 
static constexpr discrete_domain_type domain ()
 
static constexpr discrete_domain_type access_domain ()
 
template<class... CDim>
static constexpr discrete_element_type access_element ()
 
template<class... NaturalIndex>
static constexpr discrete_element_type access_element (ddc::DiscreteElement< NaturalIndex... > natural_elem)
 
template<class... MemIndex>
static constexpr natural_domain_t::discrete_element_type canonical_natural_element (ddc::DiscreteElement< MemIndex... > mem_elem)
 

Detailed Description

template<TensorIndex... Index>
class sil::tensor::TensorAccessor< Index >

Definition at line 271 of file tensor_impl.hpp.

Member Typedef Documentation

◆ discrete_domain_type

template<TensorIndex... Index>
using sil::tensor::TensorAccessor< Index >::discrete_domain_type = ddc::DiscreteDomain<Index...>

Definition at line 276 of file tensor_impl.hpp.

◆ discrete_element_type

template<TensorIndex... Index>
using sil::tensor::TensorAccessor< Index >::discrete_element_type = ddc::DiscreteElement<Index...>

Definition at line 278 of file tensor_impl.hpp.

◆ natural_domain_t

template<TensorIndex... Index>
using sil::tensor::TensorAccessor< Index >::natural_domain_t
Initial value:
ddc::cartesian_prod_t<std::conditional_t<
ddc::DiscreteDomain<Index>,
typename Index::subindices_domain_t>...>

Definition at line 280 of file tensor_impl.hpp.

Constructor & Destructor Documentation

◆ TensorAccessor()

template<TensorIndex... Index>
sil::tensor::TensorAccessor< Index >::TensorAccessor ( )
explicitconstexpr

Definition at line 333 of file tensor_impl.hpp.

Member Function Documentation

◆ natural_domain()

template<TensorIndex... Index>
TensorAccessor< Index... >::natural_domain_t sil::tensor::TensorAccessor< Index >::natural_domain ( )
staticconstexpr

Definition at line 351 of file tensor_impl.hpp.

◆ domain()

template<TensorIndex... Index>
TensorAccessor< Index... >::discrete_domain_type sil::tensor::TensorAccessor< Index >::domain ( )
staticconstexpr

Definition at line 357 of file tensor_impl.hpp.

◆ access_domain()

template<TensorIndex... Index>
TensorAccessor< Index... >::discrete_domain_type sil::tensor::TensorAccessor< Index >::access_domain ( )
staticconstexpr

Definition at line 365 of file tensor_impl.hpp.

◆ access_element() [1/2]

template<TensorIndex... Index>
template<class... CDim>
TensorAccessor< Index... >::discrete_element_type sil::tensor::TensorAccessor< Index >::access_element ( )
staticconstexpr

Definition at line 374 of file tensor_impl.hpp.

◆ access_element() [2/2]

template<TensorIndex... Index>
template<class... NaturalIndex>
TensorAccessor< Index... >::discrete_element_type sil::tensor::TensorAccessor< Index >::access_element ( ddc::DiscreteElement< NaturalIndex... > natural_elem)
staticconstexpr

Definition at line 382 of file tensor_impl.hpp.

◆ canonical_natural_element()

template<TensorIndex... Index>
template<class... MemIndex>
TensorAccessor< Index... >::natural_domain_t::discrete_element_type sil::tensor::TensorAccessor< Index >::canonical_natural_element ( ddc::DiscreteElement< MemIndex... > mem_elem)
staticconstexpr

Definition at line 393 of file tensor_impl.hpp.


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