Lugdunum
0.1.0
|
#include <ValArray.hpp>
Public Member Functions | |
ValArray ()=default | |
ValArray (const T &value) | |
ValArray (const T *values) | |
ValArray (const ValArray< Size, T > &rhs)=default | |
ValArray (ValArray< Size, T > &&rhs)=default | |
ValArray (std::initializer_list< T > list) | |
ValArray< Size, T > & | operator= (const ValArray< Size, T > &rhs)=default |
ValArray< Size, T > & | operator= (ValArray< Size, T > &&rhs)=default |
~ValArray ()=default | |
const T & | operator[] (size_t pos) const |
T & | operator[] (size_t pos) |
const std::array< T, Size > & | data () const |
std::array< T, Size > & | data () |
constexpr size_t | size () const |
T | sum () const |
ValArray< Size, T > & | operator+= (const T &rhs) |
ValArray< Size, T > & | operator-= (const T &rhs) |
ValArray< Size, T > & | operator*= (const T &rhs) |
ValArray< Size, T > & | operator/= (const T &rhs) |
ValArray< Size, T > & | operator+= (const ValArray< Size, T > &rhs) |
ValArray< Size, T > & | operator-= (const ValArray< Size, T > &rhs) |
ValArray< Size, T > & | operator*= (const ValArray< Size, T > &rhs) |
ValArray< Size, T > & | operator/= (const ValArray< Size, T > &rhs) |
Private Attributes | |
std::array< T, Size > | _data |
Definition at line 13 of file ValArray.hpp.
|
default |
|
explicit |
Definition at line 2 of file ValArray.inl.
|
explicit |
Definition at line 7 of file ValArray.inl.
|
default |
|
default |
ValArray::ValArray | ( | std::initializer_list< T > | list | ) |
Definition at line 12 of file ValArray.inl.
|
default |
|
default |
|
default |
|
inline |
Definition at line 17 of file ValArray.inl.
|
inline |
Definition at line 22 of file ValArray.inl.
|
inline |
Definition at line 27 of file ValArray.inl.
|
inline |
Definition at line 32 of file ValArray.inl.
|
inline |
Definition at line 37 of file ValArray.inl.
|
inline |
Definition at line 42 of file ValArray.inl.
|
inline |
Definition at line 48 of file ValArray.inl.
|
inline |
Definition at line 57 of file ValArray.inl.
|
inline |
Definition at line 66 of file ValArray.inl.
|
inline |
Definition at line 75 of file ValArray.inl.
|
inline |
Definition at line 85 of file ValArray.inl.
|
inline |
Definition at line 94 of file ValArray.inl.
|
inline |
Definition at line 103 of file ValArray.inl.
|
inline |
Definition at line 112 of file ValArray.inl.
|
private |
Definition at line 50 of file ValArray.hpp.