![]() |
#include <intvec.h>
Public Member Functions | |
| intvec (int l=1) | |
| intvec (int s, int e) | |
| intvec (int r, int c, int init) | |
| intvec (const intvec *iv) | |
| void | resize (int new_length) |
| int | range (int i) const |
| int | range (int i, int j) const |
| int & | operator[] (int i) |
| const int & | operator[] (int i) const |
| void | operator+= (int intop) |
| void | operator-= (int intop) |
| void | operator*= (int intop) |
| void | operator/= (int intop) |
| void | operator%= (int intop) |
| int | compare (const intvec *o) const |
| int | compare (int o) const |
| int | length () const |
| int | cols () const |
| int | rows () const |
| void | show (int mat=0, int spaces=0) const |
| void | view () const |
| void | makeVector () |
| char * | String (int dim=2) const |
| char * | ivString (int not_mat=1, int spaces=0, int dim=2) const |
| ~intvec () | |
| void | ivTEST () const |
| int | min_in () |
| int * | ivGetVec () |
Public Member Functions inherited from omallocClass | |
| void * | operator new (size_t size) throw (std::bad_alloc) |
| void | operator delete (void *block) throw () |
| void * | operator new[] (size_t size) throw (std::bad_alloc) |
| void | operator delete[] (void *block) throw () |
| void * | operator new (size_t size, const std::nothrow_t &) throw () |
| void * | operator new[] (size_t size, const std::nothrow_t &) throw () |
Private Attributes | |
| int * | v |
| int | row |
| int | col |
| char * intvec::ivString | ( | int | not_mat = 1, |
| int | spaces = 0, |
||
| int | dim = 2 |
||
| ) | const |
| void intvec::show | ( | int | mat = 0, |
| int | spaces = 0 |
||
| ) | const |
Definition at line 150 of file intvec.cc.
| char * intvec::String | ( | int | dim = 2 | ) | const |
Definition at line 128 of file intvec.cc.