Nektar++
|
#include <scalar.hpp>
Public Types | |
using | scalarType = T |
using | vectorType = scalarType |
using | scalarArray = scalarType[width] |
Public Member Functions | |
scalarT ()=default | |
scalarT (const scalarT &rhs)=default | |
scalarT (const vectorType &rhs) | |
scalarT & | operator= (const scalarT &)=default |
void | store (scalarType *p) const |
template<class flag > | |
void | store (scalarType *p, flag) const |
void | load (const scalarType *p) |
template<class flag > | |
void | load (const scalarType *p, flag) |
void | broadcast (const scalarType rhs) |
template<typename U , typename = typename std::enable_if< std::is_integral<U>::value>::type> | |
void | gather (const scalarType *p, const scalarT< U > &indices) |
template<typename U , typename = typename std::enable_if< std::is_integral<U>::value>::type> | |
void | scatter (scalarType *p, const scalarT< U > &indices) const |
void | fma (const scalarT< T > &a, const scalarT< T > &b) |
scalarType | operator[] (size_t) const |
scalarType & | operator[] (size_t) |
void | operator+= (scalarT< T > rhs) |
void | operator-= (scalarT< T > rhs) |
void | operator*= (scalarT< T > rhs) |
void | operator/= (scalarT< T > rhs) |
Public Attributes | |
vectorType | _data {0} |
Static Public Attributes | |
static constexpr unsigned int | width = 1 |
static constexpr unsigned int | alignment = sizeof(T) |
Definition at line 110 of file scalar.hpp.
using tinysimd::scalarT< T, typename >::scalarArray = scalarType[width] |
Definition at line 117 of file scalar.hpp.
using tinysimd::scalarT< T, typename >::scalarType = T |
Definition at line 115 of file scalar.hpp.
using tinysimd::scalarT< T, typename >::vectorType = scalarType |
Definition at line 116 of file scalar.hpp.
|
inlinedefault |
|
inlinedefault |
|
inline |
Definition at line 125 of file scalar.hpp.
|
inline |
Definition at line 154 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 176 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 161 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 144 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 149 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 203 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 193 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 198 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 208 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inlinedefault |
|
inline |
Definition at line 187 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 182 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 168 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 133 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 138 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
vectorType tinysimd::scalarT< T, typename >::_data {0} |
Definition at line 120 of file scalar.hpp.
Referenced by tinysimd::abs(), tinysimd::scalarT< T, typename >::broadcast(), tinysimd::scalarT< T, typename >::fma(), tinysimd::scalarT< T, typename >::gather(), tinysimd::scalarT< T, typename >::load(), tinysimd::log(), tinysimd::operator&&(), tinysimd::operator*(), tinysimd::scalarT< T, typename >::operator*=(), tinysimd::operator+(), tinysimd::scalarT< T, typename >::operator+=(), tinysimd::operator-(), tinysimd::scalarT< T, typename >::operator-=(), tinysimd::operator/(), tinysimd::scalarT< T, typename >::operator/=(), tinysimd::operator>(), tinysimd::scalarT< T, typename >::operator[](), tinysimd::scalarT< T, typename >::scatter(), tinysimd::sqrt(), and tinysimd::scalarT< T, typename >::store().
|
staticconstexpr |
Definition at line 113 of file scalar.hpp.
|
staticconstexpr |
Definition at line 112 of file scalar.hpp.