50 return matrix_list[index];
56 return matrix_list[index];
62 matrix_list[index] = matrix;
91 "The number of columns (%d) must be multiple of the number " 92 "of components (%d).\n",
95 int32_t new_num_cols = matrix.
num_cols / num_components;
98 for ( int32_t i = 0 ; i < num_components ; ++i )
102 for ( int32_t row = 0 ; row < matrix.
num_rows ; ++row )
104 for ( int32_t col = 0 ; col < new_num_cols ; ++col )
105 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