103 if(
w != (
int*)
NULL &&
n > 0 )
delete []
w;
friend spectrum operator+(const spectrum &, const spectrum &)
spectrum()
Zero constructor.
void copy_deep(const spectrum &)
spectrum operator=(const spectrum &)
int add_subspectrum(spectrum &, int)
void copy_shallow(spectrum &spec)
Initialize shallow from another spectrum.
int mult_spectrum(spectrum &)
friend ostream & operator<<(ostream &, const spectrum &)
int next_number(Rational *)
int mult_spectrumh(spectrum &)
void copy_delete(void)
Delete the memory of a spectrum.
int next_interval(Rational *, Rational *)
void copy_zero(void)
Initialize with zero.
int numbers_in_interval(Rational &, Rational &, interval_status)
friend spectrum operator*(int, const spectrum &)