Tatooine
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
tatooine::imag_complex_tensor< Tensor, T, Dims > Struct Template Reference

#include <complex_tensor_views.h>

Inheritance diagram for tatooine::imag_complex_tensor< Tensor, T, Dims >:
[legend]
Collaboration diagram for tatooine::imag_complex_tensor< Tensor, T, Dims >:
[legend]

Public Types

using this_type = imag_complex_tensor< Tensor, T, Dims... >
 
using parent_type = base_tensor< this_type, T, Dims... >
 
- Public Types inherited from tatooine::base_tensor< imag_complex_tensor< Tensor, T, Dims... >, T, Dims... >
using value_type = ValueType
 
using tensor_type = imag_complex_tensor< Tensor, T, Dims... >
 
using this_type = base_tensor< imag_complex_tensor< Tensor, T, Dims... >, ValueType, Dims... >
 
using parent_type = crtp< imag_complex_tensor< Tensor, T, Dims... > >
 
using multidim_size_t = static_multidim_size< x_fastest, Dims... >
 
using const_indexed_type = einstein_notation::indexed_static_tensor< imag_complex_tensor< Tensor, T, Dims... > const &, Is... >
 
using indexed_type = einstein_notation::indexed_static_tensor< imag_complex_tensor< Tensor, T, Dims... > &, Is... >
 
- Public Types inherited from tatooine::crtp< Derived >
using derived_type = Derived
 

Public Member Functions

constexpr imag_complex_tensor (base_tensor< Tensor, std::complex< T >, Dims... > &internal_tensor)
 
constexpr auto operator() (integral auto const ... is) const -> decltype(auto)
 
constexpr auto operator() (integral auto const ... is) -> decltype(auto)
 
constexpr auto at (integral auto const ... is) const -> decltype(auto)
 
constexpr auto at (integral auto const ... is) -> decltype(auto)
 
auto internal_tensor () -> auto &
 
auto internal_tensor () const -> auto const &
 
- Public Member Functions inherited from tatooine::base_tensor< imag_complex_tensor< Tensor, T, Dims... >, T, Dims... >
constexpr base_tensor ()=default
 
constexpr base_tensor (Other &&other)
 
auto constexpr operator= (Other &&other) -> base_tensor &
 
auto constexpr assign (Other &&other) -> void
 
auto constexpr at (Is const ...)
 
auto constexpr at (Is const ...) const
 
auto constexpr at (integral auto const ... is) const -> decltype(auto) requires(sizeof...(is)==rank())
 
auto constexpr at (integral auto const ... is) -> decltype(auto) requires(sizeof...(is)==rank())
 
auto constexpr at (integral_range auto const &is) -> decltype(auto)
 
auto constexpr at (integral_range auto const &is) const -> decltype(auto)
 
auto constexpr operator() (Is const ... is) const
 
auto constexpr operator() (Is const ... is)
 
auto constexpr operator() (integral auto const ... is) const -> decltype(auto) requires(sizeof...(is)==rank())
 
auto constexpr operator() (integral auto const ... is) -> decltype(auto) requires(sizeof...(is)==rank())
 
auto constexpr slice (std::size_t fixed_index, std::index_sequence< Is... >) -> decltype(auto)
 
auto constexpr slice (std::size_t fixed_index) -> decltype(auto)
 
auto constexpr slice (std::size_t fixed_index, std::index_sequence< Is... >) const
 
auto constexpr slice (std::size_t fixed_index) const
 
auto operator+= (base_tensor< OtherTensor, OtherValueType, Dims... > const &other) -> auto &
 
auto operator+= (convertible_to< ValueType > auto const &other) -> auto &
 
auto operator-= (base_tensor< OtherTensor, OtherValueType, Dims... > const &other) -> auto &
 
auto operator-= (convertible_to< ValueType > auto const &other) -> auto &
 
auto operator*= (convertible_to< ValueType > auto const &other) -> auto &
 
auto operator/= (convertible_to< ValueType > auto const &other) -> auto &
 
auto isnan () const
 
auto isinf () const
 
- Public Member Functions inherited from tatooine::crtp< Derived >
constexpr auto as_derived () -> derived_type &
 returns casted as_derived data More...
 
constexpr auto as_derived () const -> derived_type const &
 returns casted as_derived data More...
 

Static Public Member Functions

static auto constexpr rank ()
 
- Static Public Member Functions inherited from tatooine::base_tensor< imag_complex_tensor< Tensor, T, Dims... >, T, Dims... >
static auto constexpr rank ()
 
static auto constexpr num_components ()
 
static auto constexpr dimensions ()
 
static auto constexpr dimension (std::size_t const i)
 
static auto constexpr is_static () -> bool
 
static auto constexpr is_tensor () -> bool
 
static auto constexpr indices ()
 
static auto constexpr for_indices (invocable< decltype(Dims)... > auto &&f)
 
static auto constexpr array_index (integral auto const ... is)
 

Private Attributes

Tensorm_internal_tensor
 

Member Typedef Documentation

◆ parent_type

template<typename Tensor , typename T , size_t... Dims>
using tatooine::imag_complex_tensor< Tensor, T, Dims >::parent_type = base_tensor<this_type, T, Dims...>

◆ this_type

template<typename Tensor , typename T , size_t... Dims>
using tatooine::imag_complex_tensor< Tensor, T, Dims >::this_type = imag_complex_tensor<Tensor, T, Dims...>

Constructor & Destructor Documentation

◆ imag_complex_tensor()

template<typename Tensor , typename T , size_t... Dims>
constexpr tatooine::imag_complex_tensor< Tensor, T, Dims >::imag_complex_tensor ( base_tensor< Tensor, std::complex< T >, Dims... > &  internal_tensor)
inlineexplicitconstexpr

Member Function Documentation

◆ at() [1/2]

template<typename Tensor , typename T , size_t... Dims>
constexpr auto tatooine::imag_complex_tensor< Tensor, T, Dims >::at ( integral auto const ...  is) -> decltype(auto)
inlineconstexpr

◆ at() [2/2]

template<typename Tensor , typename T , size_t... Dims>
constexpr auto tatooine::imag_complex_tensor< Tensor, T, Dims >::at ( integral auto const ...  is) const -> decltype(auto)
inlineconstexpr

◆ internal_tensor() [1/2]

template<typename Tensor , typename T , size_t... Dims>
auto tatooine::imag_complex_tensor< Tensor, T, Dims >::internal_tensor ( ) -> auto&
inline

◆ internal_tensor() [2/2]

template<typename Tensor , typename T , size_t... Dims>
auto tatooine::imag_complex_tensor< Tensor, T, Dims >::internal_tensor ( ) const -> auto const&
inline

◆ operator()() [1/2]

template<typename Tensor , typename T , size_t... Dims>
constexpr auto tatooine::imag_complex_tensor< Tensor, T, Dims >::operator() ( integral auto const ...  is) -> decltype(auto)
inlineconstexpr

◆ operator()() [2/2]

template<typename Tensor , typename T , size_t... Dims>
constexpr auto tatooine::imag_complex_tensor< Tensor, T, Dims >::operator() ( integral auto const ...  is) const -> decltype(auto)
inlineconstexpr

◆ rank()

template<typename Tensor , typename T , size_t... Dims>
static auto constexpr tatooine::base_tensor< Tensor, ValueType, Dims >::rank ( )
inlinestaticconstexpr

Member Data Documentation

◆ m_internal_tensor

template<typename Tensor , typename T , size_t... Dims>
Tensor& tatooine::imag_complex_tensor< Tensor, T, Dims >::m_internal_tensor
private

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