PIMathMatrix doc

This commit is contained in:
Шишов Максим Денисович
2020-09-03 13:54:02 +03:00
committed by Gama
parent d0e703751a
commit 604aa44e57
3 changed files with 1029 additions and 4 deletions

View File

@@ -77,10 +77,10 @@ inline bool _PIMathMatrixNullCompare<complexd>(const complexd v) {
//! \brief A class that works with square matrix operations, the input data of which are columns, rows and the data type of the matrix
template<uint Rows, uint Cols = Rows, typename Type = double>
class PIP_EXPORT PIMathMatrixT {
typedef PIMathMatrixT<Rows, Cols, Type> _CMatrix;
typedef PIMathMatrixT<Cols, Rows, Type> _CMatrixI;
typedef PIMathVectorT<Rows, Type> _CMCol;
typedef PIMathVectorT<Cols, Type> _CMRow;
typedef PIMathMatrixT<Rows, Cols, Type> _CMatrix;
typedef PIMathMatrixT<Cols, Rows, Type> _CMatrixI;
typedef PIMathVectorT<Rows, Type> _CMCol;
typedef PIMathVectorT<Cols, Type> _CMRow;
static_assert(std::is_arithmetic<Type>::value, "Type must be arithmetic");
static_assert(Rows > 0, "Row count must be > 0");
static_assert(Cols > 0, "Column count must be > 0");