![]() |
#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 25 of file flintcf_Zn.cc.
Definition at line 84 of file flintcf_Zn.cc.
|
static |
Definition at line 399 of file flintcf_Zn.cc.
|
static |
Definition at line 55 of file flintcf_Zn.cc.
Definition at line 423 of file flintcf_Zn.cc.
Definition at line 428 of file flintcf_Zn.cc.
Definition at line 51 of file flintcf_Zn.cc.
|
static |
Definition at line 416 of file flintcf_Zn.cc.
|
static |
Definition at line 419 of file flintcf_Zn.cc.
Definition at line 204 of file flintcf_Zn.cc.
Definition at line 461 of file flintcf_Zn.cc.
Definition at line 355 of file flintcf_Zn.cc.
Definition at line 91 of file flintcf_Zn.cc.
Definition at line 30 of file flintcf_Zn.cc.
Definition at line 304 of file flintcf_Zn.cc.
Definition at line 113 of file flintcf_Zn.cc.
Definition at line 342 of file flintcf_Zn.cc.
Definition at line 395 of file flintcf_Zn.cc.
Definition at line 466 of file flintcf_Zn.cc.
Definition at line 335 of file flintcf_Zn.cc.
Definition at line 289 of file flintcf_Zn.cc.
Definition at line 322 of file flintcf_Zn.cc.
Definition at line 132 of file flintcf_Zn.cc.
Definition at line 375 of file flintcf_Zn.cc.
Definition at line 141 of file flintcf_Zn.cc.
Definition at line 156 of file flintcf_Zn.cc.
Definition at line 125 of file flintcf_Zn.cc.
Definition at line 181 of file flintcf_Zn.cc.
Definition at line 316 of file flintcf_Zn.cc.
Definition at line 312 of file flintcf_Zn.cc.
Definition at line 308 of file flintcf_Zn.cc.
|
static |
Definition at line 62 of file flintcf_Zn.cc.
Definition at line 351 of file flintcf_Zn.cc.
Definition at line 166 of file flintcf_Zn.cc.
Definition at line 70 of file flintcf_Zn.cc.
Definition at line 176 of file flintcf_Zn.cc.
Definition at line 286 of file flintcf_Zn.cc.
Definition at line 407 of file flintcf_Zn.cc.
Definition at line 403 of file flintcf_Zn.cc.
Definition at line 328 of file flintcf_Zn.cc.
Definition at line 252 of file flintcf_Zn.cc.
Definition at line 446 of file flintcf_Zn.cc.
Definition at line 66 of file flintcf_Zn.cc.
Definition at line 364 of file flintcf_Zn.cc.
Definition at line 152 of file flintcf_Zn.cc.
Definition at line 77 of file flintcf_Zn.cc.
Definition at line 434 of file flintcf_Zn.cc.
Definition at line 222 of file flintcf_Zn.cc.
|
static |
Definition at line 50 of file flintcf_Zn.cc.