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_v<U>>::type> | |
void | gather (const scalarType *p, const scalarT< U > &indices) |
template<typename U , typename = typename std::enable_if<std::is_integral_v<U>>::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 109 of file scalar.hpp.
using tinysimd::scalarT< T, typename >::scalarArray = scalarType[width] |
Definition at line 116 of file scalar.hpp.
using tinysimd::scalarT< T, typename >::scalarType = T |
Definition at line 114 of file scalar.hpp.
using tinysimd::scalarT< T, typename >::vectorType = scalarType |
Definition at line 115 of file scalar.hpp.
|
inlinedefault |
|
inlinedefault |
|
inline |
Definition at line 124 of file scalar.hpp.
|
inline |
Definition at line 153 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 175 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 160 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 143 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 148 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 202 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 192 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 197 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 207 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inlinedefault |
|
inline |
Definition at line 186 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 181 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data.
|
inline |
Definition at line 167 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 132 of file scalar.hpp.
References tinysimd::scalarT< T, typename >::_data, and CellMLToNektar.cellml_metadata::p.
|
inline |
Definition at line 137 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 119 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 112 of file scalar.hpp.
|
staticconstexpr |
Definition at line 111 of file scalar.hpp.