#include <Vector.hpp>
Inheritance diagram for Vector:


Remember that operators +=, -=, *= and /= are provided by RefVectorBase.
Definition at line 55 of file Vector.hpp.
Public Types | |
| typedef T | value_type |
| STL value type. | |
| typedef T & | reference |
| STL reference type. | |
| typedef const T & | const_reference |
| STL const reference type. | |
| typedef T * | iterator |
| STL iterator type. | |
| typedef const T * | const_iterator |
| STL const iterator type. | |
Public Member Functions | |
| Vector () | |
| Default constructor. | |
| Vector (size_t siz) | |
| Constructor given an initial size. | |
| Vector (size_t siz, const T defaultValue) | |
| Constructor given an initial size and default value for all elements. | |
| template<class E> | |
| Vector (const ConstVectorBase< T, E > &r) | |
| Copy constructor from a ConstVectorBase type. | |
| Vector (const Vector &r) | |
| Copy constructor. | |
| Vector (const std::valarray< T > &r) | |
| Valarray constructor. | |
| template<class E> | |
| Vector (const ConstVectorBase< T, E > &vec, size_t top, size_t num) | |
| subvector constructor | |
| ~Vector () | |
| Destructor. | |
| iterator | begin () |
| STL iterator begin. | |
| const_iterator | begin () const |
| STL const iterator begin. | |
| iterator | end () |
| STL iterator end. | |
| const_iterator | end () const |
| STL const iterator end. | |
| value_type | front () |
| STL front. | |
| const_reference | front () const |
| STL const front. | |
| bool | empty () const |
| STL empty. | |
| size_t | size () const |
| STL size. | |
| size_t | max_size () const |
| STL max_size. | |
| T & | operator[] (size_t i) |
| Non-const operator []. | |
| T | operator[] (size_t i) const |
| Const operator []. | |
| T & | operator() (size_t i) |
| Non-const operator (). | |
| T | operator() (size_t i) const |
| Const operator (). | |
| VectorSlice< T > | operator[] (const std::slice &sli) |
| Like valarray, lets you do vec[slice] to get a VectorSlice. | |
| Vector & | operator= (const Vector &x) |
| *this will be resized if it isn't as large as x. | |
| template<class E> | |
| Vector & | operator= (const ConstVectorBase< T, E > &x) |
| *this will be resized if it isn't as large as x. | |
| Vector & | operator= (const std::valarray< T > &x) |
| *this will be resized if it isn't as large as x. | |
| Vector & | operator= (const T x) |
| Only (*this).size() elements will be assigned. | |
| Vector & | operator= (const T *x) |
| Only (*this).size() elements will be assigned. | |
| Vector & | operator= (const std::vector< T > &x) |
| *this will be cleared and resized as necessary | |
| Vector & | resize (const size_t index) |
| Resizes the vector. | |
| Vector & | resize (const size_t index, const T defaultValue) |
| resize with new default value | |
| std::vector< T > | toStdVector () |
| Vector | operator && (const Vector &b) |
| Returns the concatenation of this Vector and Vector b. | |
| Vector | operator && (const T &b) |
| Returns the concatenation of this Vector and a scalar of type T. | |
|
|
STL const iterator type.
Definition at line 67 of file Vector.hpp. |
|
|
STL const reference type.
Definition at line 63 of file Vector.hpp. |
|
|
STL iterator type.
Definition at line 65 of file Vector.hpp. |
|
|
STL reference type.
Definition at line 61 of file Vector.hpp. |
|
|
STL value type.
Definition at line 59 of file Vector.hpp. |
|
|
Default constructor.
Definition at line 70 of file Vector.hpp. |
|
|
Constructor given an initial size.
Definition at line 72 of file Vector.hpp. |
|
||||||||||||
|
Constructor given an initial size and default value for all elements.
Definition at line 84 of file Vector.hpp. |
|
|
Copy constructor from a ConstVectorBase type.
Definition at line 98 of file Vector.hpp. |
|
|
Copy constructor.
Definition at line 111 of file Vector.hpp. |
|
|
Valarray constructor.
Definition at line 124 of file Vector.hpp. |
|
||||||||||||||||
|
subvector constructor
Definition at line 137 of file Vector.hpp. |
|
|
Destructor.
Definition at line 161 of file Vector.hpp. |
|
|
STL const iterator begin.
Definition at line 167 of file Vector.hpp. |
|
|
STL iterator begin.
Definition at line 165 of file Vector.hpp. |
|
|
STL empty.
Definition at line 177 of file Vector.hpp. |
|
|
STL const iterator end.
Definition at line 171 of file Vector.hpp. |
|
|
STL iterator end.
Definition at line 169 of file Vector.hpp. Referenced by satTypeValueMap::getMatrixOfTypes(), satTypeValueMap::getTypeID(), satTypeValueMap::insertMatrix(), satTypeValueMap::insertTypeIDVector(), SolverGeneral::preCompute(), ForceModelList::printForceModel(), SolverPPP::Process(), and ForceModelList::setForceModelType(). |
|
|
STL const front.
Definition at line 175 of file Vector.hpp. |
|
|
STL front.
Definition at line 173 of file Vector.hpp. |
|
|
STL max_size.
Definition at line 181 of file Vector.hpp. |
|
|
Returns the concatenation of this Vector and a scalar of type T.
Definition at line 288 of file Vector.hpp. |
|
|
Returns the concatenation of this Vector and Vector b.
Definition at line 270 of file Vector.hpp. |
|
|
Const operator ().
Reimplemented from ConstVectorBase< T, Vector< T > >. Definition at line 193 of file Vector.hpp. |
|
|
Non-const operator ().
Reimplemented from RefVectorBase< T, Vector< T > >. Definition at line 190 of file Vector.hpp. |
|
|
*this will be cleared and resized as necessary
Definition at line 220 of file Vector.hpp. |
|
|
Only (*this).size() elements will be assigned.
Definition at line 216 of file Vector.hpp. |
|
|
Only (*this).size() elements will be assigned.
Definition at line 213 of file Vector.hpp. |
|
|
*this will be resized if it isn't as large as x.
Definition at line 210 of file Vector.hpp. |
|
|
*this will be resized if it isn't as large as x.
Definition at line 206 of file Vector.hpp. |
|
|
*this will be resized if it isn't as large as x.
Definition at line 201 of file Vector.hpp. |
|
|
Like valarray, lets you do vec[slice] to get a VectorSlice.
Definition at line 197 of file Vector.hpp. |
|
|
Const operator [].
Reimplemented from ConstVectorBase< T, Vector< T > >. Definition at line 187 of file Vector.hpp. |
|
|
Non-const operator [].
Reimplemented from RefVectorBase< T, Vector< T > >. Definition at line 184 of file Vector.hpp. |
|
||||||||||||
|
resize with new default value
Definition at line 251 of file Vector.hpp. |
|
|
Resizes the vector. if index > size, the vector will be erased and the contents destroyed. Definition at line 234 of file Vector.hpp. Referenced by PolyFit< double >::Add(), PRSolution::AutonomousPRSolution(), SolarRadiationPressure::doCompute(), RelativityEffect::doCompute(), ARLambda::factorize(), ForceModelList::getDerivatives(), ReferenceFrames::getJ2kPosVel(), Spacecraft::initStateVector(), SVD::operator()(), IERS::planetJ2kPosVel(), SRIleastSquares::Reset(), SRIFilter::Reset(), SimpleKalmanFilter::Reset(), Spacecraft::resetState(), RungeKuttaFehlberg::rkfs78(), ARMLambda::search(), ARLambda::search(), SatOrbitPropagator::setInitState(), SatOrbitPropagator::setState(), Spacecraft::setStateVector(), Spacecraft::setTransitionMatrix(), SRI::split(), and SatOrbitPropagator::updateMatrix(). |
|
|
|
Definition at line 261 of file Vector.hpp. |
1.3.9.1