src/ModelParameterInfoTypes.cpp
void BoundedVectorInfo::writeFinalValsToR(ostream& os){
    if (debug) rpt::echo<<"starting BoundedVectorInfo::writeFinalValsToR for "<<this->name<<endl;
    if (!finlVals.allocated()) {
        finlVals.allocate(initVals.indexmin(),initVals.indexmax()); 
        finlVals = initVals;
    }
    wts::writeToR(os,finlVals,wts::to_qcsv(ptrIB->getFwdIndexVector()));
    if (debug) rpt::echo<<"finished BoundedVectorInfo::writeFinalValsToR for "<<this->name<<endl;
}
/**
 * Writes final values to an output stream as an R vector.
 * 
 * @param os - the output stream.
 */
Writes final values to an output stream as an R vector.

@param os - the output stream.
Writes final values to an output stream as an R vector . @param os - the output stream .
void BoundedVectorInfo::writeFinalValsToR(ostream& os){
    if (debug) rpt::echo<<"starting BoundedVectorInfo::writeFinalValsToR for "<<this->name<<endl;
    if (!finlVals.allocated()) {
        finlVals.allocate(initVals.indexmin(),initVals.indexmax()); 
        finlVals = initVals;
    }
    wts::writeToR(os,finlVals,wts::to_qcsv(ptrIB->getFwdIndexVector()));
    if (debug) rpt::echo<<"finished BoundedVectorInfo::writeFinalValsToR for "<<this->name<<endl;
}
void BoundedVectorInfo :: writeFinalValsToR ( ostream & os ) { if ( debug ) rpt :: echo << " " << this -> name << endl ; if ( ! finlVals . allocated ( ) ) { finlVals . allocate ( initVals . indexmin ( ) , initVals . indexmax ( ) ) ; finlVals = initVals ; } wts :: writeToR ( os , finlVals , wts :: to_qcsv ( ptrIB -> getFwdIndexVector ( ) ) ) ; if ( debug ) rpt :: echo << " " << this -> name << endl ; }
Writes final values to an output stream as an R vector.
Writes final values to an output stream as an R vector .