Template Numerical Library version\ main:bb09b17
Loading...
Searching...
No Matches
TNL::Matrices::StaticMatrix< Value, Rows, Columns, Permutation > Class Template Reference
Inheritance diagram for TNL::Matrices::StaticMatrix< Value, Rows, Columns, Permutation >:
Collaboration diagram for TNL::Matrices::StaticMatrix< Value, Rows, Columns, Permutation >:

Public Member Functions

__cuda_callable__ constexpr StaticMatrix (const StaticMatrix &)=default
 
__cuda_callable__ constexpr StaticMatrix (const std::initializer_list< Value > &elems)
 
template<typename T >
__cuda_callable__ constexpr StaticMatrix (const T &v)
 
__cuda_callable__ Containers::StaticVector< Rows, Value > operator* (const Containers::StaticVector< Columns, Value > &vector) const
 
template<typename T >
__cuda_callable__ constexpr StaticMatrix< Value, Rows, Columns > & operator*= (const T &value)
 
__cuda_callable__ constexpr StaticMatrix< Value, Rows, Columns > & operator+= (const StaticMatrix< Value, Rows, Columns > &matrix)
 
__cuda_callable__ constexpr StaticMatrix< Value, Rows, Columns > & operator-= (const StaticMatrix< Value, Rows, Columns > &matrix)
 
template<typename T >
__cuda_callable__ constexpr StaticMatrix< Value, Rows, Columns > & operator/= (const T &value)
 
NDArrayStorageoperator= (const NDArrayStorage &other)=default
 Copy-assignment operator for deep-copying data from another array. Mismatched sizes cause reallocations.
 
template<typename OtherArray >
NDArrayStorageoperator= (const OtherArray &other)
 Templated copy-assignment operator for deep-copying data from another array.
 
template<typename T >
__cuda_callable__ constexpr StaticMatrixoperator= (const T &v)
 
template<typename T >
__cuda_callable__ constexpr StaticMatrix< Value, Rows, Columns, Permutation > & operator= (const T &v)
 
NDArrayStorageoperator= (NDArrayStorage &&) noexcept(false)=default
 Move-assignment operator for acquiring data from rvalues.
 
void print (std::ostream &str) const
 
- Public Member Functions inherited from TNL::Containers::StaticNDArray< Value, Containers::SizesHolder< int, Rows, Columns >, std::index_sequence< 0, 1 > >
NDArrayStorageoperator= (const NDArrayStorage &other)=default
 Copy-assignment operator for deep-copying data from another array. Mismatched sizes cause reallocations.
 
NDArrayStorageoperator= (const OtherArray &other)
 Templated copy-assignment operator for deep-copying data from another array.
 
NDArrayStorageoperator= (NDArrayStorage &&) noexcept(false)=default
 Move-assignment operator for acquiring data from rvalues.
 
constexpr void setValue (Value value)
 Sets all elements of the array to given value.
 
- Public Member Functions inherited from TNL::Containers::ConstStaticSizesHolder< typename SizesHolder::IndexType, SizesHolder::getDimension(), 0 >
__cuda_callable__ typename SizesHolder::IndexType getSize () const
 
__cuda_callable__ typename SizesHolder::IndexType operator[] (typename SizesHolder::IndexType level) const
 Returns the dynamic size along a specific axis. It is always equal to the static size.
 

Static Public Member Functions

static constexpr std::size_t getColumns ()
 
static constexpr std::size_t getRows ()
 
- Static Public Member Functions inherited from TNL::Containers::ConstStaticSizesHolder< typename SizesHolder::IndexType, SizesHolder::getDimension(), 0 >
static constexpr std::size_t getDimension ()
 
static constexpr std::size_t getStaticSize ()
 
static constexpr typename SizesHolder::IndexType getStaticSize (typename SizesHolder::IndexType level)
 Returns the static size of a specific dimension identified by a runtime parameter level.
 

Additional Inherited Members

- Public Types inherited from TNL::Containers::ConstStaticSizesHolder< typename SizesHolder::IndexType, SizesHolder::getDimension(), 0 >
using IndexType
 

The documentation for this class was generated from the following file: