|
copasi API
0.1
|
#include <CVector.h>
Public Member Functions | |
| CVector (unsigned C_INT32 size=0) | |
| CVector (const CVector< CType > &src) | |
| ~CVector () | |
| void | resize (unsigned C_INT32 size, const bool ©=false) |
| CVector< CType > & | operator= (const CVector< CType > &rhs) |
| CVector< CType > & | operator= (const CType &value) |
| bool | applyPivot (const CVector< unsigned C_INT32 > &pivot) |
Template class CVector < class CType > This template class is a simple vector class allowing standard C-style and fortran style access to the elements. It also supplies an ostream operator.
Default constructor
| unsigned | C_INT32 size (default = 0) |
Copy constructor
| const | CVector <CType> & src |
| bool CVector< CType >::applyPivot | ( | const CVector< unsigned C_INT32 > & | pivot | ) | [inline] |
Reorder the elements according to the provided pivots
| const | CVector<unsigned C_INT32> & pivot |
| void CVector< CType >::resize | ( | unsigned C_INT32 | size, |
| const bool & | copy = false |
||
| ) | [inline] |
Resize the vector. The previous content is lost
| unsigned | C_INT32 size |
1.7.5.1