![]() |
#include <fglmvec.h>
Public Member Functions | |
| fglmVector () | |
| fglmVector (int size) | |
| fglmVector (int size, int basis) | |
| fglmVector (const fglmVector &v) | |
| ~fglmVector () | |
| int | size () const |
| int | numNonZeroElems () const |
| void | nihilate (const number fac1, const number fac2, const fglmVector v) |
| fglmVector & | operator= (const fglmVector &v) |
| int | operator== (const fglmVector &) |
| int | operator!= (const fglmVector &) |
| int | isZero () |
| int | elemIsZero (int i) |
| fglmVector & | operator+= (const fglmVector &) |
| fglmVector & | operator-= (const fglmVector &) |
| fglmVector & | operator*= (const number &) |
| fglmVector & | operator/= (const number &) |
| number | getconstelem (int i) const |
| number & | getelem (int i) |
| void | setelem (int i, number &n) |
| number | gcd () const |
| number | clearDenom () |
Protected Member Functions | |
| void | makeUnique () |
| fglmVector (fglmVectorRep *rep) | |
Implementation of class fglmVectorMore... | |
Protected Attributes | |
| fglmVectorRep * | rep |
Friends | |
| fglmVector | operator- (const fglmVector &v) |
| fglmVector | operator+ (const fglmVector &lhs, const fglmVector &rhs) |
| fglmVector | operator- (const fglmVector &lhs, const fglmVector &rhs) |
| fglmVector | operator* (const fglmVector &v, const number n) |
| fglmVector | operator* (const number n, const fglmVector &v) |
|
protected |
| fglmVector::fglmVector | ( | ) |
Definition at line 157 of file fglmvec.cc.
| fglmVector::fglmVector | ( | int | size | ) |
Definition at line 161 of file fglmvec.cc.
| fglmVector::fglmVector | ( | int | size, |
| int | basis | ||
| ) |
Definition at line 165 of file fglmvec.cc.
| fglmVector::fglmVector | ( | const fglmVector & | v | ) |
Definition at line 170 of file fglmvec.cc.
| fglmVector::~fglmVector | ( | ) |
Definition at line 175 of file fglmvec.cc.
| number fglmVector::clearDenom | ( | ) |
Definition at line 503 of file fglmvec.cc.
| int fglmVector::elemIsZero | ( | int | i | ) |
Definition at line 301 of file fglmvec.cc.
| number fglmVector::gcd | ( | ) | const |
Definition at line 459 of file fglmvec.cc.
| number fglmVector::getconstelem | ( | int | i | ) | const |
Definition at line 447 of file fglmvec.cc.
| number & fglmVector::getelem | ( | int | i | ) |
Definition at line 441 of file fglmvec.cc.
| int fglmVector::isZero | ( | ) |
Definition at line 296 of file fglmvec.cc.
|
protected |
Definition at line 199 of file fglmvec.cc.
| void fglmVector::nihilate | ( | const number | fac1, |
| const number | fac2, | ||
| const fglmVector | v | ||
| ) |
Definition at line 219 of file fglmvec.cc.
| int fglmVector::numNonZeroElems | ( | ) | const |
Definition at line 213 of file fglmvec.cc.
| int fglmVector::operator!= | ( | const fglmVector & | v | ) |
Definition at line 291 of file fglmvec.cc.
| fglmVector & fglmVector::operator*= | ( | const number & | n | ) |
Definition at line 351 of file fglmvec.cc.
| fglmVector & fglmVector::operator+= | ( | const fglmVector & | v | ) |
Definition at line 306 of file fglmvec.cc.
| fglmVector & fglmVector::operator-= | ( | const fglmVector & | v | ) |
Definition at line 329 of file fglmvec.cc.
| fglmVector & fglmVector::operator/= | ( | const number & | n | ) |
Definition at line 372 of file fglmvec.cc.
| fglmVector & fglmVector::operator= | ( | const fglmVector & | v | ) |
Definition at line 262 of file fglmvec.cc.
| int fglmVector::operator== | ( | const fglmVector & | v | ) |
Definition at line 273 of file fglmvec.cc.
| void fglmVector::setelem | ( | int | i, |
| number & | n | ||
| ) |
Definition at line 452 of file fglmvec.cc.
| int fglmVector::size | ( | ) | const |
Definition at line 208 of file fglmvec.cc.
|
friend |
Definition at line 427 of file fglmvec.cc.
|
friend |
Definition at line 434 of file fglmvec.cc.
|
friend |
Definition at line 413 of file fglmvec.cc.
|
friend |
Definition at line 399 of file fglmvec.cc.
|
friend |
Definition at line 420 of file fglmvec.cc.
|
protected |