Loading [MathJax]/extensions/TeX/AMSsymbols.js
Template Numerical Library version\ main:be918e6f
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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)
 
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)
 
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 > >
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: