|
|
| TFEL_MATH_RUNTIME_ARRAY_DEFAULT_METHODS (matrix, GenericRuntimeArrayBase) |
| | matrix (const typename matrix::size_type, const typename matrix::size_type, const ValueType &=ValueType{}) |
| | constructor
|
| | matrix (const std::initializer_list< std::initializer_list< ValueType > > &) |
| | constructor from intricated initializer list
|
|
void | resize (const typename matrix::size_type, const typename matrix::size_type, const ValueType &=ValueType{}) |
| | resize the matrix
|
|
matrix< ValueType >::size_type | getNbRows () const |
|
matrix< ValueType >::size_type | getNbCols () const |
template<typename ValueType2>
requires (isAssignableTo<ValueType2, ValueType2>()) |
| matrix & | operator= (const std::initializer_list< std::initializer_list< ValueType2 > > &) |
| | constructor from intricated initializer list
|
| void | swap (matrix &) |
| | swap two matrixs
|
| | ~matrix () noexcept |
| | destructor
|
template<typename ValueType2>
requires (isAssignableTo<ValueType2, ValueType2>()) |
| matrix< ValueType > & | operator= (const std::initializer_list< std::initializer_list< ValueType2 > > &values) |
|
| GenericRuntimeArray ()=default |
| | default constructor
|
| GenericRuntimeArray< matrix< ValueType >, RuntimeRowMajorMatrixArrayPolicy< ValueType > >::pointer | data () noexcept |
|
void | resize (const typename RuntimeRowMajorMatrixArrayPolicy< ValueType >::IndexingPolicy &) |
| | resize the array
|
| GenericRuntimeArray< matrix< ValueType >, RuntimeRowMajorMatrixArrayPolicy< ValueType > >::size_type | getContainerSize () const noexcept |
| matrix< ValueType > & | operator= (const OtherArray &) |
| | assign values values from an other array
|
|
matrix< ValueType > & | operator+= (const OtherArray &) |
|
matrix< ValueType > & | operator-= (const OtherArray &) |
|
matrix< ValueType > & | operator*= (const ValueType2 &) noexcept |
|
matrix< ValueType > & | operator/= (const ValueType2 &) noexcept |
|
bool | empty () const |
|
void | clear () |
|
void | shrink_to_fit () |
|
| MutableRuntimeArrayBase ()=default |
| | default constructor
|
|
MutableRuntimeArrayBase & | operator= (const MutableRuntimeArrayBase &)=default |
| | copy assignement
|
| TFEL_HOST_DEVICE constexpr const RuntimeRowMajorMatrixArrayPolicy< ValueType >::IndexingPolicy & | getIndexingPolicy () const noexcept |
| void | iterate (const Functor &) |
| | apply a multi-indices functor
|
|
constexpr RuntimeRowMajorMatrixArrayPolicy< ValueType >::reference | operator() (const Indices... i) noexcept |
|
constexpr void | assign (const OtherArray &src) noexcept |
|
constexpr void | addAndAssign (const OtherArray &src) noexcept |
|
constexpr void | substractAndAssign (const OtherArray &src) noexcept |
|
constexpr GenericRuntimeArray< matrix< ValueType >, RuntimeRowMajorMatrixArrayPolicy< ValueType > > & | operator= (const std::initializer_list< ValueType > &values) noexcept |
|
constexpr void | import (const ImportIndexingPolicy &policy, const InputIterator p, const InputIterator pe) |
|
constexpr void | fill (const ValueType2 &v) |
|
constexpr void | clamp (const ValueType2 &lower_bound, const ValueType3 &upper_bound) |
|
constexpr void | multiplyByScalar (const ValueType2 &s) |
|
constexpr void | divideByScalar (const ValueType2 &s) |
| TFEL_HOST_DEVICE constexpr RuntimeRowMajorMatrixArrayPolicy< ValueType >::reference | operator[] (const typename RuntimeRowMajorMatrixArrayPolicy< ValueType >::IndexingPolicy::size_type) noexcept |
| | access operator
|
|
constexpr RuntimeRowMajorMatrixArrayPolicy< ValueType >::const_reference | operator() (const Indices... i) const noexcept |
| TFEL_HOST_DEVICE constexpr RuntimeRowMajorMatrixArrayPolicy< ValueType >::const_reference | operator[] (const typename RuntimeRowMajorMatrixArrayPolicy< ValueType >::IndexingPolicy::size_type) const noexcept |
| | access operator
|
template<typename ValueType>
class tfel::math::matrix< ValueType >
runtime row-major matrices
a class representing a dynamically allocated matrix
- Template Parameters
-
| ValueType | type of values hold by the matrix |
| T | the type hold by the matrix. |