File: PolyRep.h

package info (click to toggle)
latte-int 1.7.6%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,260 kB
  • sloc: cpp: 32,231; sh: 4,413; makefile: 811; perl: 300
file content (28 lines) | stat: -rw-r--r-- 806 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//will define multivariate polynomial representation, as well as input and output functions
#ifndef POLYREP_H
#define POLYREP_H

#include <NTL/vec_ZZ.h>
#include <NTL/ZZ.h>
#include "consumers.h"
#include "blockReps.h"
#include "iterators.h"

NTL_CLIENT

void _loadMonomials(_monomialSum&, const string&);
//string parsing
void _parseMonomials(_MonomialConsumer<RationalNTL>*, const string&);
//data structure operations
string _printMonomials(const _monomialSum&);
void _destroyMonomials(_monomialSum&);

void _loadLinForms(_linFormSum&, const string);
//string parsing
void _parseLinForms(_FormSumConsumer<RationalNTL>*, const string&);
//data structure operations
string _printLinForms(const _linFormSum&);
void _destroyLinForms(_linFormSum&);

void _decompose(_monomialSum&, _linFormSum&, int);
#endif