/* Example programs from the book Scientific and Engineering Programming in C++: An Introduction with Advanced Techniques and Examples, Addison-Wesley, 1994. (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES CORPORATION 1994. ALL RIGHTS RESERVED. See README file for further details. */ template ModelParameter::ModelParameter(double initial_guess) : CountedBuiltInPtr( new RallT(initial_guess) ), FunctionalAlgebra( (const CountedBuiltInPtr&)(*this) ) { } template ModelParameter:: ModelParameter(double initial_guess, Subscript i_th, Subscript nparms) : CountedBuiltInPtr( new RallT(initial_guess, i_th, nparms) ), FunctionalAlgebra( (const CountedBuiltInPtr&)(*this) ) { } template ModelParameter& ModelParameter:: operator=(double rhs){ CountedBuiltInPtr::operator*().value() = rhs; return *this; } template ModelParameter& ModelParameter::operator=(const ModelParameter& rhs){ CountedBuiltInPtr::operator=(rhs); FunctionalAlgebra::operator=(rhs); return *this; }