My Project
|
Data Structures | |
class | LinTree |
Typedefs | |
typedef void(* | LinTreeEncodeFunc) (LinTree &lintree, leftv val) |
typedef leftv(* | LinTreeDecodeFunc) (LinTree &lintree) |
typedef void(* | LinTreeRefFunc) (LinTree &lintree, int by) |
Functions | |
void | install (int typ, LinTreeEncodeFunc enc, LinTreeDecodeFunc dec, LinTreeRefFunc ref) |
void | set_needs_ring (int typ) |
void | encode (LinTree &lintree, leftv val) |
leftv | decode (LinTree &lintree) |
void | updateref (LinTree &lintree, int by) |
leftv | new_leftv (int code, void *data) |
leftv | new_leftv (int code, long data) |
void | encode_mpz (LinTree &lintree, const mpz_t num) |
void | decode_mpz (LinTree &lintree, mpz_t &num) |
void | encode_none (LinTree &lintree, leftv val) |
leftv | decode_none (LinTree &lintree) |
void | ref_none (LinTree &lintree, int by) |
void | encode_int (LinTree &lintree, leftv val) |
leftv | decode_int (LinTree &lintree) |
void | ref_int (LinTree &lintree, int by) |
void | encode_string (LinTree &lintree, leftv val) |
leftv | decode_string (LinTree &lintree) |
void | ref_string (LinTree &lintree, int by) |
void | encode_def (LinTree &lintree, leftv val) |
leftv | decode_def (LinTree &lintree) |
void | ref_def (LinTree &lintree, int by) |
void | encode_longrat_cf (LinTree &lintree, const number n) |
number | decode_longrat_cf (LinTree &lintree) |
void | encode_number_cf (LinTree &lintree, const number n, const coeffs cf) |
number | decode_number_cf (LinTree &lintree, const coeffs cf) |
leftv | decode_number (LinTree &lintree) |
void | encode_number (LinTree &lintree, leftv val) |
void | ref_number_cf (LinTree &lintree, coeffs cf, int by) |
void | ref_number (LinTree &lintree, int by) |
void | encode_bigint (LinTree &lintree, leftv val) |
leftv | decode_bigint (LinTree &lintree) |
void | ref_bigint (LinTree &lintree, int by) |
leftv | decode_intmat (LinTree &lintree) |
void | encode_intmat (LinTree &lintree, leftv val) |
void | ref_intmat (LinTree &lintree, int by) |
void | encode_poly (LinTree &lintree, int typ, poly p, const ring r) |
void | encode_poly (LinTree &lintree, int typ, poly p) |
void | encode_poly (LinTree &lintree, leftv val) |
poly | decode_poly (LinTree &lintree, const ring r) |
leftv | decode_poly (LinTree &lintree) |
void | ref_poly (LinTree &lintree, int by) |
ideal | decode_ideal (LinTree &lintree, int typ, const ring r) |
void | encode_ideal (LinTree &lintree, int typ, const ideal I, const ring R) |
void | encode_ideal (LinTree &lintree, int typ, const ideal I) |
void | encode_ideal (LinTree &lintree, leftv val) |
leftv | decode_ideal (LinTree &lintree) |
void | ref_ideal (LinTree &lintree, int by) |
void | encode_ring (LinTree &lintree, const ring r) |
void | encode_ring (LinTree &lintree, leftv val) |
ring | decode_ring_raw (LinTree &lintree) |
leftv | decode_ring (LinTree &lintree) |
void | ref_ring (LinTree &lintree, int by) |
void | encode_list (LinTree &lintree, leftv val) |
leftv | decode_list (LinTree &lintree) |
void | ref_list (LinTree &lintree, int by) |
void | encode_command (LinTree &lintree, leftv val) |
leftv | decode_command (LinTree &lintree) |
void | ref_command (LinTree &lintree, int by) |
void | dump_string (string str) |
void | encoding_error (const char *s) |
void | decoding_error (const char *s) |
std::string | to_string (leftv val) |
leftv | from_string (std::string &str) |
void | init () |
Variables | |
vector< LinTreeEncodeFunc > | encoders |
vector< LinTreeDecodeFunc > | decoders |
vector< LinTreeRefFunc > | refupdaters |
vector< char > | needs_ring |
typedef void(* LinTree::LinTreeRefFunc) (LinTree &lintree, int by) |
Definition at line 101 of file lintree.cc.
Definition at line 355 of file lintree.cc.
Definition at line 779 of file lintree.cc.
Definition at line 207 of file lintree.cc.
Definition at line 513 of file lintree.cc.
Definition at line 462 of file lintree.cc.
Definition at line 366 of file lintree.cc.
Definition at line 744 of file lintree.cc.
number LinTree::decode_longrat_cf | ( | LinTree & | lintree | ) |
void LinTree::decode_mpz | ( | LinTree & | lintree, |
mpz_t & | num | ||
) |
Definition at line 140 of file lintree.cc.
Definition at line 315 of file lintree.cc.
Definition at line 292 of file lintree.cc.
Definition at line 445 of file lintree.cc.
Definition at line 420 of file lintree.cc.
Definition at line 693 of file lintree.cc.
ring LinTree::decode_ring_raw | ( | LinTree & | lintree | ) |
Definition at line 597 of file lintree.cc.
Definition at line 184 of file lintree.cc.
void LinTree::decoding_error | ( | const char * | s | ) |
Definition at line 838 of file lintree.cc.
void LinTree::dump_string | ( | string | str | ) |
Definition at line 78 of file lintree.cc.
Definition at line 351 of file lintree.cc.
Definition at line 765 of file lintree.cc.
Definition at line 200 of file lintree.cc.
Definition at line 491 of file lintree.cc.
Definition at line 470 of file lintree.cc.
Definition at line 495 of file lintree.cc.
Definition at line 161 of file lintree.cc.
Definition at line 230 of file lintree.cc.
Definition at line 148 of file lintree.cc.
Definition at line 320 of file lintree.cc.
Definition at line 265 of file lintree.cc.
void LinTree::encode_poly | ( | LinTree & | lintree, |
int | typ, | ||
poly | p | ||
) |
Definition at line 412 of file lintree.cc.
Definition at line 400 of file lintree.cc.
Definition at line 416 of file lintree.cc.
Definition at line 527 of file lintree.cc.
Definition at line 593 of file lintree.cc.
void LinTree::encoding_error | ( | const char * | s | ) |
Definition at line 834 of file lintree.cc.
leftv LinTree::from_string | ( | std::string & | str | ) |
Definition at line 854 of file lintree.cc.
void LinTree::init | ( | ) |
Definition at line 864 of file lintree.cc.
void LinTree::install | ( | int | typ, |
LinTreeEncodeFunc | enc, | ||
LinTreeDecodeFunc | dec, | ||
LinTreeRefFunc | ref | ||
) |
Definition at line 51 of file lintree.cc.
leftv LinTree::new_leftv | ( | int | code, |
long | data | ||
) |
Definition at line 125 of file lintree.cc.
leftv LinTree::new_leftv | ( | int | code, |
void * | data | ||
) |
Definition at line 118 of file lintree.cc.
void LinTree::ref_bigint | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 360 of file lintree.cc.
void LinTree::ref_command | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 810 of file lintree.cc.
void LinTree::ref_def | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 222 of file lintree.cc.
void LinTree::ref_ideal | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 518 of file lintree.cc.
void LinTree::ref_int | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 171 of file lintree.cc.
void LinTree::ref_intmat | ( | LinTree & | lintree, |
int | by | ||
) |
void LinTree::ref_list | ( | LinTree & | lintree, |
int | by | ||
) |
void LinTree::ref_none | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 155 of file lintree.cc.
void LinTree::ref_number | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 344 of file lintree.cc.
Definition at line 325 of file lintree.cc.
void LinTree::ref_poly | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 450 of file lintree.cc.
void LinTree::ref_ring | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 697 of file lintree.cc.
void LinTree::ref_string | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 193 of file lintree.cc.
void LinTree::set_needs_ring | ( | int | typ | ) |
Definition at line 74 of file lintree.cc.
std::string LinTree::to_string | ( | leftv | val | ) |
Definition at line 843 of file lintree.cc.
void LinTree::updateref | ( | LinTree & | lintree, |
int | by | ||
) |
Definition at line 112 of file lintree.cc.
std::vector< LinTreeDecodeFunc > LinTree::decoders |
Definition at line 47 of file lintree.cc.
std::vector< LinTreeEncodeFunc > LinTree::encoders |
Definition at line 46 of file lintree.cc.
vector<char> LinTree::needs_ring |
Definition at line 49 of file lintree.cc.
std::vector< LinTreeRefFunc > LinTree::refupdaters |
Definition at line 48 of file lintree.cc.