![]() |
#include <ctype.h>
#include <misc/auxiliary.h>
#include <flint/flint.h>
#include <flint/nmod_poly.h>
#include <factory/factory.h>
#include <omalloc/omalloc.h>
#include <coeffs/coeffs.h>
#include <coeffs/numbers.h>
#include <coeffs/longrat.h>
#include <coeffs/modulop.h>
#include <coeffs/flintcf_Zn.h>
Go to the source code of this file.
Typedefs | |
typedef nmod_poly_struct * | nmod_poly_ptr |
Functions | |
static const char * | Eati (const char *s, int *i) |
static void | CoeffWrite (const coeffs r, BOOLEAN details) |
static BOOLEAN | CoeffIsEqual (const coeffs r, n_coeffType n, void *parameter) |
static void | KillChar (coeffs r) |
static void | SetChar (const coeffs r) |
static number | Mult (number a, number b, const coeffs c) |
static number | Sub (number a, number b, const coeffs c) |
static number | Add (number a, number b, const coeffs c) |
static number | Div (number a, number b, const coeffs c) |
static number | ExactDiv (number a, number b, const coeffs c) |
static number | IntMod (number a, number b, const coeffs c) |
static number | Init (long i, const coeffs r) |
static number | InitMPZ (mpz_t i, const coeffs r) |
static int | Size (number n, const coeffs r) |
static long | Int (number &n, const coeffs r) |
static void | MPZ (mpz_t result, number &n, const coeffs r) |
static number | Neg (number a, const coeffs r) |
static number | Invers (number a, const coeffs r) |
static number | Copy (number a, const coeffs r) |
static BOOLEAN | IsOne (number a, const coeffs r) |
static BOOLEAN | IsZero (number a, const coeffs r) |
static void | WriteShort (number a, const coeffs r) |
static const char * | Read (const char *st, number *a, const coeffs r) |
static void | Normalize (number &a, const coeffs r) |
static BOOLEAN | Greater (number a, number b, const coeffs r) |
static BOOLEAN | Equal (number a, number b, const coeffs r) |
static BOOLEAN | IsMOne (number k, const coeffs r) |
static BOOLEAN | GreaterZero (number k, const coeffs r) |
static void | Power (number a, int i, number *result, const coeffs r) |
static number | Gcd (number a, number b, const coeffs r) |
static number | ExtGcd (number a, number b, number *s, number *t, const coeffs r) |
static number | Lcm (number a, number b, const coeffs r) |
static void | Delete (number *a, const coeffs r) |
static nMapFunc | SetMap (const coeffs src, const coeffs dst) |
static number | Init_bigint (number i, const coeffs dummy, const coeffs dst) |
static number | Farey (number p, number n, const coeffs) |
static number | ChineseRemainder (number *x, number *q, int rl, BOOLEAN sym, CFArray &inv_cache, const coeffs) |
static int | ParDeg (number x, const coeffs r) |
static number | Parameter (const int i, const coeffs r) |
static number | ConvFactoryNSingN (const CanonicalForm n, const coeffs r) |
static CanonicalForm | ConvSingNFactoryN (number n, BOOLEAN setChar, const coeffs r) |
static char * | CoeffName (const coeffs r) |
static char * | CoeffString (const coeffs r) |
static void | WriteFd (number a, FILE *f, const coeffs) |
static number | ReadFd (s_buff f, const coeffs r) |
static BOOLEAN | DBTest (number a, const char *f, const int l, const coeffs r) |
BOOLEAN | flintZn_InitChar (coeffs cf, void *infoStruct) |
Variables | |
static char | CoeffName_flint_Zn [20] |
typedef nmod_poly_struct* nmod_poly_ptr |
Definition at line 26 of file flintcf_Zn.cc.
Definition at line 85 of file flintcf_Zn.cc.
|
static |
Definition at line 400 of file flintcf_Zn.cc.
|
static |
Definition at line 56 of file flintcf_Zn.cc.
Definition at line 424 of file flintcf_Zn.cc.
Definition at line 429 of file flintcf_Zn.cc.
Definition at line 52 of file flintcf_Zn.cc.
|
static |
Definition at line 417 of file flintcf_Zn.cc.
|
static |
Definition at line 420 of file flintcf_Zn.cc.
Definition at line 205 of file flintcf_Zn.cc.
Definition at line 462 of file flintcf_Zn.cc.
Definition at line 356 of file flintcf_Zn.cc.
Definition at line 92 of file flintcf_Zn.cc.
Definition at line 31 of file flintcf_Zn.cc.
Definition at line 305 of file flintcf_Zn.cc.
Definition at line 114 of file flintcf_Zn.cc.
Definition at line 343 of file flintcf_Zn.cc.
Definition at line 396 of file flintcf_Zn.cc.
Definition at line 467 of file flintcf_Zn.cc.
Definition at line 336 of file flintcf_Zn.cc.
Definition at line 290 of file flintcf_Zn.cc.
Definition at line 323 of file flintcf_Zn.cc.
Definition at line 133 of file flintcf_Zn.cc.
Definition at line 376 of file flintcf_Zn.cc.
Definition at line 142 of file flintcf_Zn.cc.
Definition at line 157 of file flintcf_Zn.cc.
Definition at line 126 of file flintcf_Zn.cc.
Definition at line 182 of file flintcf_Zn.cc.
Definition at line 317 of file flintcf_Zn.cc.
Definition at line 313 of file flintcf_Zn.cc.
Definition at line 309 of file flintcf_Zn.cc.
|
static |
Definition at line 63 of file flintcf_Zn.cc.
Definition at line 352 of file flintcf_Zn.cc.
Definition at line 167 of file flintcf_Zn.cc.
Definition at line 71 of file flintcf_Zn.cc.
Definition at line 177 of file flintcf_Zn.cc.
Definition at line 287 of file flintcf_Zn.cc.
Definition at line 408 of file flintcf_Zn.cc.
Definition at line 404 of file flintcf_Zn.cc.
Definition at line 329 of file flintcf_Zn.cc.
Definition at line 253 of file flintcf_Zn.cc.
Definition at line 447 of file flintcf_Zn.cc.
Definition at line 67 of file flintcf_Zn.cc.
Definition at line 365 of file flintcf_Zn.cc.
Definition at line 153 of file flintcf_Zn.cc.
Definition at line 78 of file flintcf_Zn.cc.
Definition at line 435 of file flintcf_Zn.cc.
Definition at line 223 of file flintcf_Zn.cc.
|
static |
Definition at line 51 of file flintcf_Zn.cc.