mirror of
https://github.com/xfarrow/lasd.git
synced 2025-06-05 21:49:14 +02:00
Library 5
fixed compile issues
This commit is contained in:
5
librerie/exercise5/matrix/vec/matrixvec.hpp
Normal file → Executable file
5
librerie/exercise5/matrix/vec/matrixvec.hpp
Normal file → Executable file
@ -16,12 +16,13 @@ protected:
|
||||
using Matrix<Data>::rows;
|
||||
using Matrix<Data>::columns;
|
||||
using Vector<Data>::size;
|
||||
using Vector<Data>::Elements;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
MatrixVec() = default;
|
||||
MatrixVec(ulong&, ulong&); // A matrix of some specified dimension
|
||||
MatrixVec(ulong, ulong); // A matrix of some specified dimension
|
||||
MatrixVec(const MatrixVec&);
|
||||
MatrixVec(MatrixVec&&) noexcept;
|
||||
|
||||
@ -37,7 +38,7 @@ public:
|
||||
// Specific member functions (inherited from Matrix)
|
||||
void RowResize(const ulong&) override; // Override Matrix member
|
||||
void ColumnResize(const ulong&) override; // Override Matrix member
|
||||
bool ExistsCell(const ulong&, const ulong&) noexcept override; // Override Matrix member (should not throw exceptions)
|
||||
bool ExistsCell(const ulong&, const ulong&) const noexcept override; // Override Matrix member (should not throw exceptions)
|
||||
Data& operator()(const ulong&, const ulong&) override; // Override Matrix member (mutable access to the element; throw out_of_range when out of range)
|
||||
const Data& operator()(const ulong&, const ulong&) const override; // Override Matrix member (immutable access to the element; throw out_of_range when out of range and length_error when not present)
|
||||
|
||||
|
Reference in New Issue
Block a user