shogun matrix list
在文件 SGMatrixList.h 第 23 行定义.

Public 成员函数 | |
| SGMatrixList () | |
| SGMatrixList (SGMatrix< T > *ml, int32_t nmats, bool ref_counting=true) | |
| SGMatrixList (int32_t nmats, bool ref_counting=true) | |
| SGMatrixList (SGMatrixList const &orig) | |
| virtual | ~SGMatrixList () |
| SGMatrix< T > | get_matrix (index_t index) const |
| SGMatrix< T > | operator[] (index_t index) const |
| void | set_matrix (index_t index, const SGMatrix< T > matrix) |
| int32_t | ref_count () |
静态 Public 成员函数 | |
| static SGMatrixList< T > | split (SGMatrix< T > matrix, int32_t num_components) |
Public 属性 | |
| SGMatrix< T > * | matrix_list |
| int32_t | num_matrices |
Protected 成员函数 | |
| virtual void | copy_data (const SGReferencedData &orig) |
| virtual void | init_data () |
| virtual void | free_data () |
| void | copy_refcount (const SGReferencedData &orig) |
| int32_t | ref () |
| int32_t | unref () |
| SGMatrixList | ( | ) |
default constructor
在文件 SGMatrixList.cpp 第 18 行定义.
| SGMatrixList | ( | SGMatrix< T > * | ml, |
| int32_t | nmats, | ||
| bool | ref_counting = true |
||
| ) |
constructor for setting parameters
在文件 SGMatrixList.cpp 第 24 行定义.
| SGMatrixList | ( | int32_t | nmats, |
| bool | ref_counting = true |
||
| ) |
constructor to create a new matrix list in memory
在文件 SGMatrixList.cpp 第 30 行定义.
| SGMatrixList | ( | SGMatrixList< T > const & | orig | ) |
copy constructor
在文件 SGMatrixList.cpp 第 37 行定义.
|
virtual |
destructor
在文件 SGMatrixList.cpp 第 43 行定义.
|
protectedvirtual |
|
protectedinherited |
copy refcount
在文件 SGReferencedData.cpp 第 55 行定义.
|
protectedvirtual |
get a matrix of the list
| index | matrix index, index must be less than num_matrices although no check is performed in the method |
在文件 SGMatrixList.cpp 第 49 行定义.
|
protectedvirtual |
operator overload to get a matrix for read & write access
| index | matrix index, index must be less than num_matrices although no check is performed in the method |
在文件 SGMatrixList.cpp 第 55 行定义.
|
protectedinherited |
|
inherited |
set a matrix of the list
| index | matrix index, index must be less than num_matrices although no check is performed in the method |
| matrix | matrix to set at index |
在文件 SGMatrixList.cpp 第 61 行定义.
|
static |
divide the matrix into a list of matrices. Each of the new matrices has the same number of rows as the original so the splits to the original matrix are done column-wise.
| matrix | matrix to split |
| num_components | number of new matrices |
在文件 SGMatrixList.cpp 第 89 行定义.
|
protectedinherited |
decrement reference counter and deallocate object if refcount is zero before or after decrementing it
在文件 SGReferencedData.cpp 第 84 行定义.
| SGMatrix<T>* matrix_list |
matrix list
在文件 SGMatrixList.h 第 91 行定义.
| int32_t num_matrices |
number of matrices of matrix list
在文件 SGMatrixList.h 第 94 行定义.