6#include <Common/primitive_type.h>
16template<
typename T, std::
size_t N>
19template<
typename T, std::
size_t M>
22template<
typename T, std::
size_t M, std::
size_t N>
32template<
typename Derived,
typename T, std::
size_t M, std::
size_t N>
53 constexpr std::size_t
numRows() const noexcept;
56 Derived
mul(T constantValue) const;
59 Derived&
set(T constantValue);
63 template<
std::
size_t K>
66 template<
std::
size_t K>
82#include "Math/General/TMatrixMxNBase.ipp"
if constexpr(IS_ROBUST)
Definition TBvhSimdComputingContext.h:561
A base for general M by N row-major matrices.
Definition TMatrixMxNBase.h:34
void multiplyMatrix(const TRawMatrix< T, N, K > &rhsMatrix, TRawMatrix< T, M, K > *out_result) const
Definition TMatrixMxNBase.ipp:75
PH_DEFINE_INLINE_RULE_OF_5_MEMBERS(TMatrixMxNBase)
Derived mul(T constantValue) const
Definition TMatrixMxNBase.ipp:36
TRawMatrix< T, M, N > m
Definition TMatrixMxNBase.h:77
TRawMatrix< T, N, M > transposeMatrix() const
Definition TMatrixMxNBase.ipp:114
Derived & mulLocal(T constantValue)
Definition TMatrixMxNBase.ipp:43
constexpr std::size_t numRows() const noexcept
Definition TMatrixMxNBase.ipp:24
Derived & set(T constantValue)
Definition TMatrixMxNBase.ipp:129
std::string toString() const
Definition TMatrixMxNBase.ipp:158
static constexpr auto NUM_ROWS
Definition TMatrixMxNBase.h:50
constexpr std::size_t numCols() const noexcept
Definition TMatrixMxNBase.ipp:30
void multiplyTransposedMatrix(const TRawMatrix< T, K, N > &rhsMatrix, TRawMatrix< T, M, K > *out_result) const
Definition TMatrixMxNBase.ipp:95
TMatrixMxNBase(T elements)
Definition TMatrixMxNBase.ipp:13
static constexpr auto NUM_COLS
Definition TMatrixMxNBase.h:51
TRawColVector< T, M > multiplyVector(const TRawColVector< T, M > &rhsColVector) const
Definition TMatrixMxNBase.ipp:57
TRawMatrix< T, M, N > Elements
Definition TMatrixMxNBase.h:39
Math functions and utilities.
Definition TransformInfo.h:10
std::array< T, M > TRawColVector
Definition TMatrixMxNBase.h:20
std::array< std::array< T, N >, M > TRawMatrix
Definition TMatrixMxNBase.h:23
std::array< T, N > TRawRowVector
Definition TMatrixMxNBase.h:17