Public Methods |
| MSLVector () |
| MSLVector (int d) |
| MSLVector (double a, double b) |
| MSLVector (double a, double b, double c) |
| MSLVector (const MSLVector& w, int prec) |
| MSLVector (const MSLVector&) |
| ~MSLVector () |
MSLVector& | operator= (const MSLVector&) |
int | dim () const |
double& | operator[] (int i) |
double | operator[] (int) const |
double | hcoord (int i) const |
double | coord (int i) const |
double | sqr_length () const |
double | length () const |
MSLVector | norm () const |
double | angle (const MSLVector& w) const |
MSLVector | rotate90 () const |
MSLVector | rotate (double a) const |
MSLVector& | operator+= (const MSLVector&) |
MSLVector& | operator-= (const MSLVector&) |
MSLVector | operator+ (const MSLVector& v1) const |
MSLVector | operator- (const MSLVector& v1) const |
double | operator * (const MSLVector& v1) const |
MSLVector | operator * (double r) const |
MSLVector | operator- () const |
MSLVector | operator/ (double) const |
bool | operator== (const MSLVector& w) const |
bool | operator!= (const MSLVector& w) const |
void | print (ostream& O) |
void | print () |
void | read (istream& I) |
void | read () |
Friends |
class | MSLMatrix |
MSLVector | operator * (double f, const MSLVector& v) |
ostream& | operator<< (ostream& O, const MSLVector& v) |
istream& | operator>> (istream& I, MSLVector& v) |
istream& | operator>> (istream& is, list<MSLVector> & vl) |
ostream& | operator<< (ostream& os, const list<MSLVector> & vl) |
istream& | operator>> (istream& is, vector<MSLVector> & vl) |
ostream& | operator<< (ostream& os, const vector<MSLVector> & vl) |