Matrix data.
More...
#include <kgraph-data.h>
|
| Matrix (unsigned r, unsigned c) |
|
unsigned | size () const |
|
unsigned | dim () const |
|
size_t | step () const |
|
void | resize (unsigned r, unsigned c) |
|
T const * | operator[] (unsigned i) const |
|
T * | operator[] (unsigned i) |
|
void | zero () |
|
void | normalize2 () |
|
void | load (const std::string &path, unsigned dim, unsigned skip=0, unsigned gap=0) |
|
void | load_lshkit (std::string const &path) |
|
void | save_lshkit (std::string const &path) |
|
template<typename T, unsigned A = KGRAPH_MATRIX_ALIGN>
class kgraph::Matrix< T, A >
Matrix data.
The documentation for this class was generated from the following file: