BIE::State Class Reference
The vector of state parameters and its current active length which may vary for storage efficiency.
More...
#include <State.h>
List of all members.
|
Public Member Functions |
|
| ~State () |
| | Destructor.
|
|
void | setVector (vector< double > v) |
| | Set the vector.
|
|
void | setVector (vector< double > v, int n) |
| | Set the vector and the length.
|
|
double & | operator[] (unsigned int i) const |
| | Access to vector elements.
|
|
void | setSize (unsigned int n) |
| | Set the length of the parameter vector The active length may be as large as the storage size, otherwise an exception is thrown.
|
|
unsigned int | size () |
| | Get the current active length of the parameter vector.
|
|
| | State () |
| | Constructors.
|
|
| State (int n) |
|
| State (vector< double > v) |
|
| State (vector< double > v, int n) |
|
| State (const State &s) |
|
|
State & | operator= (const State &s) |
| | Copy constructors.
|
|
State & | operator= (const vector< double > &v) |
Friends |
|
class | boost::serialization::access |
Detailed Description
The vector of state parameters and its current active length which may vary for storage efficiency.
Constructor & Destructor Documentation
| BIE::State::State |
( |
|
) |
[inline] |
Constructors.
len is the data length, dsize is the storage length. Obviously,
. This flexibility saves deallocating and reallocating storage with new and delete.
The documentation for this class was generated from the following file:
- /home/weinberg/src/BIE/include/State.h