My Project
|
#include "kernel/mod2.h"
#include "misc/options.h"
#include "polys/monomials/p_polys.h"
#include "polys/prCopy.h"
#include "kernel/ideals.h"
#include "polys/monomials/ring.h"
#include "polys/sbuckets.h"
#include "kernel/maps/fast_maps.h"
Go to the source code of this file.
Macros | |
#define | HAVE_DEST_R 1 |
#define | HAVE_SRC_R 1 |
#define | HAVE_MAP_OPTIMIZE 0 |
Functions | |
static poly | maGetMaxExpP (poly *max_map_monomials, int n_max_map_monomials, ring map_r, poly pi_m, ring pi_r) |
static unsigned long | maGetMaxExp (ideal pi_id, ring pi_r, ideal map_id, ring map_r) |
mapoly | maMonomial_Create (poly p, ring, sBucket_pt bucket) |
void | maMonomial_Destroy (mapoly mp, ring src_r, ring dest_r) |
mapoly | maPoly_InsertMonomial (mapoly &into, mapoly what, ring src_r) |
mapoly | maPoly_InsertMonomial (mapoly &into, poly p, ring src_r, sBucket_pt bucket) |
static void | maPoly_InsertPoly (mapoly &into, poly what, ring src_r, sBucket_pt bucket) |
void | maMap_CreatePolyIdeal (ideal map_id, ring map_r, ring src_r, ring dest_r, mapoly &mp, maideal &mideal) |
void | maMap_CreateRings (ideal map_id, ring map_r, ideal image_id, ring image_r, ring &src_r, ring &dest_r, BOOLEAN &simple) |
static void | maMap_KillRings (ring map_r, ring image_r, ring src_r, ring dest_r) |
ideal | maIdeal_2_Ideal (maideal m_id, ring) |
void | maPoly_GetLength (mapoly mp, int &length) |
ideal | fast_map_common_subexp (const ideal map_id, const ring map_r, const ideal image_id, const ring image_r) |
static int | maPoly_Substitute (macoeff c, poly p, ring dest_r) |
static poly | maPoly_EvalMon (poly src, ring src_r, poly *dest_id, ring dest_r) |
void | maPoly_Eval (mapoly root, ring src_r, ideal dest_id, ring dest_r, int total_cost) |
static poly | maEggT (const poly m1, const poly m2, poly &q1, poly &q2, const ring r) |
static mapoly | maFindBestggT (mapoly mp, mapoly &choice, mapoly &fp, mapoly &fq, const ring r) |
void | maPoly_Optimize (mapoly mpoly, ring src_r) |
Variables | |
STATIC_VAR omBin | mapolyBin = omGetSpecBin(sizeof(mapoly_s)) |
STATIC_VAR omBin | macoeffBin = omGetSpecBin(sizeof(macoeff_s)) |
#define HAVE_DEST_R 1 |
Definition at line 23 of file fast_maps.cc.
#define HAVE_MAP_OPTIMIZE 0 |
Definition at line 27 of file fast_maps.cc.
#define HAVE_SRC_R 1 |
Definition at line 25 of file fast_maps.cc.
ideal fast_map_common_subexp | ( | const ideal | map_id, |
const ring | map_r, | ||
const ideal | image_id, | ||
const ring | image_r | ||
) |
Definition at line 354 of file fast_maps.cc.
Definition at line 590 of file fast_maps.cc.
|
static |
Definition at line 639 of file fast_maps.cc.
|
static |
Definition at line 63 of file fast_maps.cc.
|
static |
Definition at line 34 of file fast_maps.cc.
ideal maIdeal_2_Ideal | ( | maideal | m_id, |
ring | dest_r | ||
) |
Definition at line 323 of file fast_maps.cc.
void maMap_CreatePolyIdeal | ( | ideal | map_id, |
ring | map_r, | ||
ring | src_r, | ||
ring | dest_r, | ||
mapoly & | mp, | ||
maideal & | mideal | ||
) |
Definition at line 255 of file fast_maps.cc.
void maMap_CreateRings | ( | ideal | map_id, |
ring | map_r, | ||
ideal | image_id, | ||
ring | image_r, | ||
ring & | src_r, | ||
ring & | dest_r, | ||
BOOLEAN & | simple | ||
) |
Definition at line 281 of file fast_maps.cc.
|
static |
Definition at line 310 of file fast_maps.cc.
mapoly maMonomial_Create | ( | poly | p, |
ring | , | ||
sBucket_pt | bucket | ||
) |
Definition at line 137 of file fast_maps.cc.
void maMonomial_Destroy | ( | mapoly | mp, |
ring | src_r, | ||
ring | dest_r | ||
) |
void maPoly_Eval | ( | mapoly | root, |
ring | src_r, | ||
ideal | dest_id, | ||
ring | dest_r, | ||
int | total_cost | ||
) |
Definition at line 499 of file fast_maps.cc.
|
static |
Definition at line 456 of file fast_maps.cc.
void maPoly_GetLength | ( | mapoly | mp, |
int & | length | ||
) |
Definition at line 338 of file fast_maps.cc.
Definition at line 184 of file fast_maps.cc.
mapoly maPoly_InsertMonomial | ( | mapoly & | into, |
poly | p, | ||
ring | src_r, | ||
sBucket_pt | bucket | ||
) |
Definition at line 233 of file fast_maps.cc.
|
static |
Definition at line 238 of file fast_maps.cc.
void maPoly_Optimize | ( | mapoly | mpoly, |
ring | src_r | ||
) |
Definition at line 714 of file fast_maps.cc.
|
static |
Definition at line 436 of file fast_maps.cc.
STATIC_VAR omBin macoeffBin = omGetSpecBin(sizeof(macoeff_s)) |
Definition at line 135 of file fast_maps.cc.
STATIC_VAR omBin mapolyBin = omGetSpecBin(sizeof(mapoly_s)) |
Definition at line 134 of file fast_maps.cc.