BigMatrix¶
BigMatrix<T> is a small matrix wrapper over std::vector<std::vector<T>>.
Header: unumber/matrix/BigMatrix.h
Supported types¶
Compile-time restricted to:
BigIntegerBigRationalBigFloatBigDecimal
Construction¶
Operations¶
BigMatrix operator+(const BigMatrix& other) const;
BigMatrix operator-(const BigMatrix& other) const;
BigMatrix operator*(const BigMatrix& other) const;
BigMatrix transpose() const;
Dimension checks throw std::invalid_argument.
Access¶
Streams¶
<< prints rows as space-separated values.
>> reads elements into the existing matrix shape.