![]() |
My Project
|
#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 | 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 | max_in () |
| intvec * | delete_pos (int p) |
| int * | ivGetVec () const |
| 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 |
| intvec::intvec | ( | int | s, |
| int | e ) |
| intvec::intvec | ( | int | r, |
| int | c, | ||
| int | init ) |
| int intvec::compare | ( | int | o | ) | const |
| intvec * intvec::delete_pos | ( | int | p | ) |
| char * intvec::ivString | ( | int | not_mat = 1, |
| int | spaces = 0, | ||
| int | dim = 2 ) const |
|
inline |
|
inline |
| void intvec::operator%= | ( | int | intop | ) |
| void intvec::operator*= | ( | int | intop | ) |
| void intvec::operator+= | ( | int | intop | ) |
| void intvec::operator-= | ( | int | intop | ) |
| void intvec::operator/= | ( | int | intop | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void intvec::resize | ( | int | new_length | ) |
| void intvec::show | ( | int | mat = 0, |
| int | spaces = 0 ) const |
Definition at line 149 of file intvec.cc.
| char * intvec::String | ( | int | dim = 2 | ) | const |