COPASI API
4.40.278
|
#include <CVector.h>
Public Member Functions | |
CVector (const CVector< CType > &src) | |
CVector (const CVectorCore< CType > &src) | |
CVector (size_t size=0) | |
CVector< CType > & | operator= (const CType &value) |
CVector< CType > & | operator= (const CVector< CType > &rhs) |
CVector< CType > & | operator= (const CVectorCore< CType > &rhs) |
void | resize (size_t size, const bool ©=false) |
virtual | ~CVector () |
Public Member Functions inherited from CVectorCore< CType > | |
bool | applyPivot (const CVectorCore< size_t > &pivot) |
CType * | array () |
const CType * | array () const |
CType * | begin () |
const CType * | begin () const |
CVectorCore (const size_t &size=0, CType *buffer=NULL) | |
CType * | end () |
const CType * | end () const |
void | initialize (const CVectorCore< CType > &src) |
void | initialize (const size_t &size, const CType *vector) |
CType & | operator() (const size_t &row) |
const CType & | operator() (const size_t &row) const |
CVectorCore< CType > & | operator= (const CType &value) |
CVectorCore< CType > & | operator= (const CVectorCore< CType > &rhs) |
bool | operator== (const CVectorCore< CType > &rhs) const |
CType & | operator[] (const size_t &row) |
const CType & | operator[] (const size_t &row) const |
size_t | size () const |
virtual | ~CVectorCore () |
Protected Member Functions | |
void | copy (const CVectorCore< CType > &rhs) |
Additional Inherited Members | |
Public Types inherited from CVectorCore< CType > | |
typedef CType | elementType |
Protected Attributes inherited from CVectorCore< CType > | |
CType * | mpBuffer |
size_t | mSize |
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
size_t | size (default = 0) |
References CVector< CType >::resize(), and CVectorCore< CType >::size().
|
inline |
|
inlineprotected |
References CVectorCore< CType >::array(), CVector< CType >::resize(), and CVectorCore< CType >::size().
Referenced by CVector< CType >::CVector(), CVector< CType >::operator=(), and CVector< CType >::resize().
Assignment operator
const | CType & value |
|
inline |
Assignment operator
const | CVector <CType> & rhs |
References CVector< CType >::copy().
|
inline |
Assignment operator
const | CVectorCore <CType> & rhs |
References CVector< CType >::copy().
Referenced by CXMLHandlerFactory::CXMLHandlerFactory(), and CMathUpdateSequence::operator=().
|
inline |
Resize the vector. The previous content is lost
size_t | size |
References C_FLOAT64, CVector< CType >::copy(), CCopasiMessage::EXCEPTION, max, MCopasiBase, min, and CVectorCore< CType >::size().
Referenced by CProcessReport::addItem(), CMathContainer::analyzeRoots(), CLinkMatrix::build(), CEvaluationTree::buildCalculationSequence(), CSSAMethod::buildExtremeCurrents(), CModel::buildStoi(), CModel::buildUserOrder(), CFitProblem::calcCov(), CFitProblem::calcEigen(), CEigen::calcEigenValues(), CLNAMethod::calculateCovarianceMatrixReduced(), CBitPatternMethod::CalculateKernel(), CBitPatternTreeMethod::CalculateKernel(), CExperiment::calculateStatistics(), CExperimentSet::calculateStatistics(), COptProblem::calculateStatistics(), CFitProblem::calculateStatistics(), CMCAMethod::calculateUnscaledConcentrationCC(), CFluxScore::CFluxScore(), CMCAMethod::checkSummationTheorems(), CTimeSeries::clear(), COptMethodSS::combination(), CMathExpression::compile(), CTimeSeries::compile(), CMathEvent::compile(), CExperiment::compile(), CExperimentObjectMap::compile(), CExperimentSet::compile(), CMathObject::compileDependentMass(), CEvaluationTree::compileNodes(), CMathObject::compilePropensity(), CMathObject::compileTotalMass(), CMathObject::compileTransitionTime(), CLinkMatrix::completePivotInformation(), CVector< CType >::copy(), CMathDelay::create(), CMathObject::createExtensiveReactionNoiseExpression(), CMathObject::createExtensiveReactionRateExpression(), CTimeSensLsodaMethod::createRootMask(), CHybridMethodODE45::createRootMask(), CLsodaMethod::createRootMask(), CLsodaMethod2::createRootMask(), CRadau5Method::createRootMask(), CStochasticRungeKuttaRI5::createRootMask(), CCSPMethod::CSPImportanceIndex(), CCSPMethod::CSPParticipationIndex(), CCSPMethod::cspstep(), CVector< CType >::CVector(), CHybridMethodODE45::destroyRootMask(), CILDMMethod::deuflhard(), CILDMModifiedMethod::deuflhard_metab(), CStepMatrixColumn::getAllUnsetBitIndexes(), CStepMatrix::getUnsetBitIndexes(), CMathContainer::ignoreDiscontinuityEvent(), CExperiment::initExtendedTimeSeries(), COptMethodCoranaWalk::initialize(), COptMethodDE::initialize(), COptMethodEP::initialize(), COptMethodGA::initialize(), COptMethodGASR::initialize(), COptMethodHookeJeeves::initialize(), COptMethodLevenbergMarquardt::initialize(), COptMethodNelderMead::initialize(), COptMethodNL2SOL::initialize(), COptMethodPraxis::initialize(), COptMethodPS::initialize(), COptMethodSA::initialize(), COptMethodSRES::initialize(), COptMethodSS::initialize(), COptMethodStatistics::initialize(), COptMethodSteepestDescent::initialize(), COptMethodTruncatedNewton::initialize(), CRandomSearch::initialize(), CEigen::initialize(), COptProblem::initialize(), CFitProblem::initialize(), CMathObject::initialize(), CMathReaction::initialize(), CNewtonMethod::initialize(), CLyapTask::initialize(), CCopasiTask::initialize(), CSensMethod::initialize(), CRootFinder::initialize(), CMathContainer::initializeAtolVector(), CModel::initializeAtolVector(), CTimeSensMethod::initializeDerivativesCalculations(), CLyapTask::initObjects(), LUfactor(), CEvaluationTree::mapObjectNodes(), CTSSAMethod::mat_anal_fast_space_thomas(), CTSSAMethod::mat_anal_metab(), CTSSAMethod::mat_anal_mod(), CILDMMethod::newton(), CILDMModifiedMethod::newton_for_timestep(), CILDMModifiedMethod::newton_new(), COptMethodLevenbergMarquardt::optimise(), partialSortWithPivot(), CHybridMethodODE45::partitionSystem(), CExperiment::read(), CMathContainer::relocate(), CStateTemplate::resize(), CTSSAMethod::schur(), CTSSAMethod::schur_desc(), CFitProblem::setResidualsRequired(), CTimeSensLsodaMethod::setRootMaskType(), CLsodaMethod::setRootMaskType(), CRadau5Method::setRootMaskType(), CHybridMethod::setupPartition(), CStateTemplate::setUserOrder(), CLeastSquareSolution::solve(), sortWithPivot(), CLyapWolfMethod::start(), CMathEventQueue::start(), CTimeSensLsodaMethod::start(), CHybridMethodODE45::start(), CHybridNextReactionRKMethod::start(), CLsodaMethod::start(), CLsodaMethod2::start(), CRadau5Method::start(), CStochasticRungeKuttaRI5::start(), CStochDirectMethod::start(), CTauLeapMethod::start(), CTrajAdaptiveSA::start(), CCSPMethod::start(), CILDMMethod::start(), CILDMModifiedMethod::start(), CILDMMethod::step(), CILDMModifiedMethod::step(), CTSSAMethod::sylvester(), and CCSPMethod::yCorrection().