Strictly upper triangular matrix. More...
#include <UpperTriangularMatrix.h>
Public Types | |
using | DataType = UpperTriangularMatrixImpl::ArrayType< ValueType, dataSize > |
Public Member Functions | |
constexpr const DataType & | getData () const |
Get full underlying data in raw form. | |
Constructors | |
constexpr | UpperTriangularMatrix () |
Default constructor. | |
template<template< typename, size_t > class ArrayType> | |
constexpr | UpperTriangularMatrix (const ArrayType< ValueType, dataSize > &data) |
Constructor from existing data. | |
Element access | |
constexpr ValueType & | at (const unsigned i, const unsigned j) |
Modifiable matrix accessor. More... | |
PURITY_WEAK constexpr const ValueType & | at (const unsigned i, const unsigned j) const |
Static Public Attributes | |
Static properties | |
static constexpr unsigned | N = UpperTriangularMatrixImpl::getMatrixSize(dataSize) |
Private Attributes | |
DataType | data_ |
Strictly upper triangular matrix.
Stores the data of an upper-triangular matrix in a linear array in an all-constexpr fashion.
|
inline |
Modifiable matrix accessor.
|
inline |
Nonmodifiable matrix accessor