My Project
Loading...
Searching...
No Matches
flintcf_Qrat.h
Go to the documentation of this file.
1/****************************************
2* Computer Algebra System SINGULAR *
3****************************************/
4
5/*
6* ABSTRACT: flint: rational functions over Q (using fmpq_mpoly)
7*/
8
9#ifndef FLINTCF_QRAT_H
10#define FLINTCF_QRAT_H
11
12#include "misc/auxiliary.h"
13#include "coeffs/coeffs.h"
14#ifdef HAVE_FLINT
15#include <flint/flint.h>
16#if __FLINT_RELEASE >= 20503
17#include <flint/fmpq_mpoly.h>
18
19
20typedef struct
21{
22 char **names;
23 int N;
24 #ifdef QA_DEBUG
25 coeffs C;
26 #endif
27} QaInfo;
28
29typedef struct
30{
31 fmpq_mpoly_t num;
32 fmpq_mpoly_t den;
33 #ifdef QA_DEBUG
34 number p;
35 #endif
36} fmpq_rat_struct;
37
38typedef struct /* this is a temporary hack until we define this structure properly */
39{
40 fmpq_mpoly_ctx_struct * ctx;
41 coeffs C;
42} fmpq_rat_data_struct;
43#endif
44#endif
45
46BOOLEAN flintQrat_InitChar(coeffs cf, void * infoStruct);
47
49
50#endif
51
All the auxiliary stuff.
int BOOLEAN
Definition: auxiliary.h:87
CanonicalForm num(const CanonicalForm &f)
CanonicalForm den(const CanonicalForm &f)
const CanonicalForm CFMap CFMap & N
Definition: cfEzgcd.cc:56
int p
Definition: cfModGcd.cc:4078
CanonicalForm cf
Definition: cfModGcd.cc:4083
Coefficient rings, fields and other domains suitable for Singular polynomials.
n_coeffType
Definition: coeffs.h:27
const CanonicalForm int s
Definition: facAbsFact.cc:51
coeffs flintQratInitCfByName(char *s, n_coeffType n)
BOOLEAN flintQrat_InitChar(coeffs cf, void *infoStruct)
The main handler for Singular numbers which are suitable for Singular polynomials.