51 return matrix_list[index];
57 return matrix_list[index];
63 matrix_list[index] = matrix;
92 "The number of columns (%d) must be multiple of the number " 93 "of components (%d).\n",
96 int32_t new_num_cols = matrix.
num_cols / num_components;
99 for ( int32_t i = 0 ; i < num_components ; ++i )
103 for ( int32_t row = 0 ; row < matrix.
num_rows ; ++row )
105 for ( int32_t col = 0 ; col < new_num_cols ; ++col )
106 new_matrix(row, col) = matrix(row, int64_t(i)*new_num_cols + col);
void split(v_array< ds_node< P > > &point_set, v_array< ds_node< P > > &far_set, int max_scale)
void set_matrix(index_t index, const SGMatrix< T > matrix)
shogun reference count managed data
all of classes and functions are contained in the shogun namespace