Class muda::Dense1DT
template <bool IsConst, typename T>
ClassList > muda > Dense1DT
Inherits the following classes: muda::ViewerBase
Public Types
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Type |
Name |
constexpr bool |
IsConst = = IsConst_
|
constexpr bool |
IsNonConst = = !IsConst_
|
Public Functions
Public Functions inherited from muda::ViewerBase
See muda::ViewerBase
Protected Types inherited from muda::ViewerBase
See muda::ViewerBase
Protected Attributes
Type |
Name |
auto_const_t< T > * |
m_data = = nullptr
|
int |
m_dim = = 0
|
Protected Functions
Type |
Name |
MUDA_INLINE MUDA_GENERIC void |
check () const
|
MUDA_GENERIC int |
map (int x) const
|
Protected Functions inherited from muda::ViewerBase
See muda::ViewerBase
Public Types Documentation
typedef ConstViewer
using muda::Dense1DT< IsConst, T >::ConstViewer = Dense1DT<true, T>;
typedef NonConstViewer
using muda::Dense1DT< IsConst, T >::NonConstViewer = Dense1DT<false, T>;
typedef ThisViewer
using muda::Dense1DT< IsConst, T >::ThisViewer = Dense1DT<IsConst, T>;
typedef value_type
using muda::Dense1DT< IsConst, T >::value_type = T;
Public Functions Documentation
function Dense1DT [1/4]
MUDA_GENERIC muda::Dense1DT::Dense1DT ()
function Dense1DT [2/4]
inline MUDA_GENERIC muda::Dense1DT::Dense1DT (
auto_const_t< T > * p,
int dim
)
function Dense1DT [3/4]
MUDA_GENERIC muda::Dense1DT::Dense1DT (
const Dense1DT & other
) = default
function Dense1DT [4/4]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::Dense1DT::Dense1DT (
const Dense1DT < OtherIsConst, T > & other
)
function as_const
inline MUDA_GENERIC auto muda::Dense1DT::as_const () const
function data
inline MUDA_GENERIC auto_const_t< T > * muda::Dense1DT::data () const
function dim
inline MUDA_GENERIC int muda::Dense1DT::dim () const
function operator()
inline MUDA_GENERIC auto_const_t< T > & muda::Dense1DT::operator() (
int x
) const
function subview [1/2]
inline MUDA_GENERIC ThisViewer muda::Dense1DT::subview (
int offset
) const
function subview [2/2]
inline MUDA_GENERIC ThisViewer muda::Dense1DT::subview (
int offset,
int size
) const
function total_size
inline MUDA_GENERIC int muda::Dense1DT::total_size () const
Protected Attributes Documentation
variable m_data
auto_const_t<T>* muda::Dense1DT< IsConst, T >::m_data;
variable m_dim
int muda::Dense1DT< IsConst, T >::m_dim;
Protected Functions Documentation
function check
inline MUDA_INLINE MUDA_GENERIC void muda::Dense1DT::check () const
function map
inline MUDA_GENERIC int muda::Dense1DT::map (
int x
) const
The documentation for this class was generated from the following file src/muda/viewer/dense/dense_1d.h