|
|
| Matrix_mock_load_to_buffer (uint height, uint width) |
| |
|
| Matrix_mock_load_to_buffer (uint height, uint width, const vector< T > &vec) |
| |
|
IO::Error | loadFromFileToBuffer (typename Matrix< T, ReadWriteT >::BufferType &, const AnyString &) const override |
| |
|
void | error_when_loading_from_file (IO::Error err) |
| |
|
Matrix< double, double > & | operator= (const Matrix< U > &rhs) |
| |
|
| Matrix () |
| | Default Constructor.
|
| |
|
| Matrix (const Matrix &rhs) |
| | Copy constructor.
|
| |
|
| Matrix (Matrix &&rhs) noexcept |
| | Move constructor.
|
| |
|
| Matrix (const Matrix< U, V > &rhs) |
| | Copy constructor.
|
| |
|
| Matrix (uint w, uint h) |
| | Constructor with a initial size.
|
| |
|
virtual | ~Matrix () |
| | Destructor.
|
| |
|
void | copyFrom (const Matrix< U, V > &rhs) |
| | Copy values from another matrix.
|
| |
|
void | copyFrom (const Matrix< U, V > *rhs) |
| |
|
void | swap (MatrixType &rhs) noexcept |
| | Swap contents of Matrix with another.
|
| |
| virtual bool | loadFromCSVFile (const AnyString &filename, uint minWidth, uint maxHeight, uint options=optNone, BufferType *buffer=NULL) |
| | Load entries from a CSV file. More...
|
| |
|
bool | loadFromCSVFile (const AnyString &filename, uint minWidth, uint maxHeight, BufferType *buffer) |
| |
|
bool | loadFromCSVFile (const AnyString &filename) |
| |
| virtual bool | openFile (Yuni::IO::File::Stream &file, const AnyString &filename) const |
| | Trying to open a file. More...
|
| |
|
virtual void | saveBufferToFile (std::string &buffer, Yuni::IO::File::Stream &f) const |
| |
| bool | saveToCSVFile (const AnyString &filename, uint precision=6, bool print_dimensions=false, bool saveEvenIfAllZero=false) const |
| | Write the content of a matrix into a single file. More...
|
| |
| bool | saveToCSVFile (const AnyString &filename, uint precision, bool print_dimensions, PredicateT &predicate, bool saveEvenIfAllZero=false) const |
| | Write the content of a matrix into a single file. More...
|
| |
|
virtual Yuni::IO::Error | loadFromFileToBuffer (BufferType &buffer, const AnyString &filename) const |
| |
|
void | saveToFileDescriptor (std::string &data, uint precision, bool print_dimensions, PredicateT &predicate) const |
| |
| void | resize (uint w, uint h, bool fixedSize=false) |
| | Resize the matrix. More...
|
| |
|
void | resizeWithoutDataLost (uint x, uint y, const double &defVal=double()) |
| | Resize the matrix without destroying its content.
|
| |
|
void | clear () |
| | Empty the matrix.
|
| |
|
void | reset () |
| | Empty the matrix and mark it as modified.
|
| |
| void | reset (uint w, uint h, bool fixedSize=false) |
| | Resize a matrix and reset its values. More...
|
| |
|
ColumnType & | column (uint n) |
| | Get the Nth column.
|
| |
|
const ColumnType & | column (uint n) const |
| | Get the Nth column (const)
|
| |
|
void | zero () |
| | Make the matrix a zero matrix.
|
| |
|
void | fill (const double &v) |
| | Fill the matrix with a given value.
|
| |
|
void | fillUnit () |
| | Make the matrix an unit matrix (identity matrix)
|
| |
|
void | multiplyAllEntriesBy (const U &c) |
| | Multiply all entries by a given value.
|
| |
|
void | multiplyColumnBy (uint x, const U &c) |
| | Multiply or divide a column by a given value.
|
| |
|
void | divideColumnBy (uint x, const U &c) |
| |
|
void | averageTimeseries (bool roundValues=true) |
| | Compute the average of all timeseries (derated mode)
|
| |
|
void | roundAllEntries () |
| | Round all entries.
|
| |
|
double | findLowerBound () const |
| | Find the lower bound.
|
| |
|
double | findUpperBound () const |
| | Find the upper bound.
|
| |
|
void | makeAllEntriesAbsolute () |
| | Make all entries absolute.
|
| |
| void | pasteToColumn (uint x, const U *data) |
| | Copy values into a given column in the matrix. More...
|
| |
| void | fillColumn (uint x, const double &value) |
| | Set a entire column with a given value. More...
|
| |
| void | columnToZero (uint x) |
| | Set to zero a entire column. More...
|
| |
|
bool | containsOnlyZero () const |
| | Get if the matrix only contains zero.
|
| |
| bool | containsOnlyZero (PredicateT &predicate) const |
| | Get if the matrix only contains zero. More...
|
| |
|
void | circularShiftRows (uint count) |
| | Shift all rows.
|
| |
|
void | circularShiftRows (uint column, uint count) |
| | Shift all rows of a specific column.
|
| |
| bool | forceReload (bool reload=false) const |
| | Force the Load of data (if not done) for the next save and mark the matrix as modified. More...
|
| |
| void | unloadFromMemory () const |
| | Try to remove from memory all data from the matrix. More...
|
| |
| void | markAsModified () const |
| | Mark the matrix as modified. More...
|
| |
| bool | empty () const |
| | Get if the matrix is empty. More...
|
| |
|
void | print () const |
| | Print the matrix to std::cout (debug)
|
| |
|
Matrix & | operator= (const Matrix &rhs) |
| | Assignement.
|
| |
|
Matrix & | operator= (Matrix &&rhs) noexcept |
| |
|
Matrix & | operator= (const Matrix< U > &rhs) |
| | Assignement.
|
| |
|
ColumnType & | operator[] (uint column) |
| | operator []
|
| |
|
const ColumnType & | operator[] (uint column) const |
| |
|
void | saveToBuffer (std::string &data, uint precision=6) const |
| |
|
void | saveToBuffer (std::string &data, uint precision, bool print_dimensions, PredicateT &predicate, bool saveEvenIfAllZero) const |
| |