![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <deeplima/utils/std_matrix.h>
Public Member Functions | |
| StdMatrix () | |
| StdMatrix (std::shared_ptr< std::vector< std::vector< T > > > input) | |
| StdMatrix (const StdMatrix &m) | |
| StdMatrix & | operator= (const StdMatrix &m) |
| ~StdMatrix () | |
| size_t | get (size_t time, size_t feat) const |
| void | copy (const StdMatrix< T > &m) |
| size_t | size () const |
| Return the number of elements in this matrix. | |
| size_t | dim () const |
| Return the dimension of this matrix's vectors (their size). | |
| void | resize (size_t new_size) |
| std::vector< T > & | operator[] (size_t index) |
Public Attributes | |
| std::vector< std::vector< T > > | m_tensor |
Definition at line 33 of file std_matrix.h.
|
inline |
Definition at line 37 of file std_matrix.h.
|
inlineexplicit |
Definition at line 44 of file std_matrix.h.
Definition at line 49 of file std_matrix.h.
Definition at line 57 of file std_matrix.h.
Definition at line 69 of file std_matrix.h.
|
inline |
Return the dimension of this matrix's vectors (their size).
This matrix must be non-empty. Otherwise, the result is undefined.
Definition at line 83 of file std_matrix.h.
|
inline |
Definition at line 61 of file std_matrix.h.
Definition at line 52 of file std_matrix.h.
|
inline |
Definition at line 94 of file std_matrix.h.
|
inline |
Definition at line 89 of file std_matrix.h.
|
inline |
Return the number of elements in this matrix.
Definition at line 74 of file std_matrix.h.
| std::vector<std::vector<T> > StdMatrix< T >::m_tensor |
Definition at line 99 of file std_matrix.h.