My Project
Loading...
Searching...
No Matches
interval.h
Go to the documentation of this file.
1#ifndef INTERVAL_H
2#define INTERVAL_H
3
4#include "Singular/ipid.h"
5
6struct interval
7{
8 number lower;
9 number upper;
10 ring R;
11
12 interval(const ring r=currRing);
13 interval(number, const ring r=currRing);
14 interval(number, number, const ring r=currRing);
16 ~interval();
17
18 interval& setRing(ring);
19};
20
21struct box
22{
24 ring R;
25
26 box();
27 box(box*);
28 ~box();
29
30 box& setInterval(int, interval*);
31};
32
33extern "C" int mod_init(SModulFunctions*);
34
35#endif
36/* INTERVAL_H */
int mod_init(SModulFunctions *)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
Definition: polys.cc:13
Definition: interval.h:22
box()
Definition: interval.cc:75
ring R
Definition: interval.h:24
interval ** intervals
Definition: interval.h:23
~box()
Definition: interval.cc:104
box & setInterval(int, interval *)
Definition: interval.cc:116
number lower
Definition: interval.h:8
ring R
Definition: interval.h:10
interval & setRing(ring)
Definition: interval.cc:50
~interval()
Definition: interval.cc:43
number upper
Definition: interval.h:9