16namespace layer1_foundations {
17namespace data_structures {
42 int f_v = (verbose_level >= 1);
45 cout <<
"vector_builder::init" << endl;
53 cout <<
"vector_builder::init -dense" << endl;
65 cout <<
"vector_builder::init -compact" << endl;
74 if (c ==
' ' || c ==
',' || c ==
'\n') {
83 if (c ==
' ' || c ==
',' || c ==
'\n') {
97 cout <<
"vector_builder::init -repeat" << endl;
105 cout <<
"vector_builder::init repeat pattern: ";
125 cout <<
"vector_builder::init -file " <<
Descr->
file_name << endl;
138 cout <<
"vector_builder::init -sparse" << endl;
152 for (i = 0; i < nb_pairs; i++) {
153 c = pairs[2 * i + 0];
154 idx = pairs[2 * i + 1];
155 if (idx < 0 || idx >=
len) {
156 cout <<
"vector_builder::init idx is out of range" << endl;
194 cout <<
"vector_builder::init using index set through loop, start="
217 cout <<
"vector_builder::init please specify how the vector should be created" << endl;
224 for (i = 0; i <
len; i++) {
227 cout <<
"vector_builder::init entry is out of range: value = " << a << endl;
231 cout <<
"vector_builder::init entry is out of range: value = " << a << endl;
238 cout <<
"vector_builder::init created vector of length " <<
len << endl;
242 cout <<
"also seen as matrix of size " <<
k <<
" x " <<
len /
k << endl;
251 cout <<
"vector_builder::init done" << endl;
void matrix_print(int *p, int m, int n)
to define a vector of field elements
std::vector< std::string > concatenate_list
to create a vector of field elements from class vector_builder_description
field_theory::finite_field * F
vector_builder_description * Descr
void init(vector_builder_description *Descr, field_theory::finite_field *F, int verbose_level)
a collection of functions related to file io
void int_matrix_read_csv(std::string &fname, int *&M, int &m, int &n, int verbose_level)
data_structures::vector_builder * get_object_of_type_vector(std::string &label)
data_structures::int_vec * Int_vec
#define Int_vec_scan(A, B, C)
#define Int_vec_zero(A, B)
#define Int_vec_copy(A, B, C)
#define Int_vec_print(A, B, C)
orbiter_kernel_system::orbiter_session * Orbiter
global Orbiter session
the orbiter library for the classification of combinatorial objects