66 cerr <<
"spectrum::copy_new(" <<
k <<
")" << endl;
67 cerr <<
" returned ZERO!!!" << endl;
68 cerr <<
" exit..." << endl;
87 cerr <<
"spectrum::copy_new(" <<
k <<
")";
88 cerr <<
": k < 0 ..." << endl;
111 for(
int i=0;
i<
n;
i++ )
146 else if(
i2 >=
s2.n )
180 else if(
i2 >=
s2.n )
251 for(
int i=0;
i<spec.
n;
i++ )
263 s << spec.
w[
i] <<
"*t^";
282 for(
i=0,
j=0;
i<
n;
i++ )
340 if(
d1 <
d2 ||
d2 == zero )
367 for(
int i=0;
i<
n;
i++ )
spectrum()
Zero constructor.
void copy_deep(const spectrum &)
spectrum operator=(const spectrum &)
int add_subspectrum(spectrum &, int)
int mult_spectrum(spectrum &)
int next_number(Rational *)
int mult_spectrumh(spectrum &)
void copy_delete(void)
Delete the memory of a spectrum.
int next_interval(Rational *, Rational *)
int numbers_in_interval(Rational &, Rational &, interval_status)
const CanonicalForm int s
void mult(unsigned long *result, unsigned long *a, unsigned long *b, unsigned long p, int dega, int degb)
spectrum operator*(int k, const spectrum &spec)
ostream & operator<<(ostream &s, const spectrum &spec)
spectrum operator+(const spectrum &s1, const spectrum &s2)
int status int void size_t count