KGraph
 All Classes Namespaces Functions Pages
Public Member Functions | List of all members
kgraph::Matrix< T, A > Class Template Reference

Matrix data. More...

#include <kgraph-data.h>

Public Member Functions

 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)
 

Detailed Description

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: