Loading...
Searching...
No Matches
interval.h
Go to the documentation of this file.
#ifndef INTERVAL_H
#define INTERVAL_H
#include "Singular/ipid.h"
struct interval
{
number lower;
number upper;
ring R;
interval(const ring r=currRing);
interval(number, const ring r=currRing);
interval(number, number, const ring r=currRing);
interval(interval*);
~interval();
interval& setRing(ring);
};
struct box
{
interval** intervals;
ring R;
box();
box(box*);
~box();
box& setInterval(int, interval*);
};
extern "C" int mod_init(SModulFunctions*);
#endif
/* INTERVAL_H */
mod_init
int mod_init(SModulFunctions *)
ipid.h
SModulFunctions
Definition ipid.h:69
currRing
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
Definition polys.cc:13
box::box
box()
Definition interval.cc:75
box::R
ring R
Definition interval.h:24
box::intervals
interval ** intervals
Definition interval.h:23
box::~box
~box()
Definition interval.cc:104
box::setInterval
box & setInterval(int, interval *)
Definition interval.cc:116
interval
Definition interval.h:7
interval::lower
number lower
Definition interval.h:8
interval::R
ring R
Definition interval.h:10
interval::interval
interval(const ring r=currRing)
Definition interval.cc:14
interval::setRing
interval & setRing(ring)
Definition interval.cc:50
interval::~interval
~interval()
Definition interval.cc:43
interval::upper
number upper
Definition interval.h:9