Matrix
Functions
-
template<class T>
class Matrix Public Functions
-
inline Matrix(std::vector<std::vector<T>> coefs)
Creates a matrix filled with the given coefficients.
-
inline Matrix(const int lines_count, const int columns_count)
Creates a matrix filled with 0s.
-
inline Matrix()
Creates an empty matrix.
-
inline Matrix(const int n)
Creates a square matrix of size n filled with 0s.
-
inline int lines_count() const
Returns the number of lines of the matrix.
-
inline int columns_count() const
Returns the number of colmuns of the matrix.
Public Static Functions
-
inline Matrix(std::vector<std::vector<T>> coefs)