ParametricFunction[pars,…]
represents a function that computes a solution when evaluated with numerical values for the parameters pars.


ParametricFunction
ParametricFunction[pars,…]
represents a function that computes a solution when evaluated with numerical values for the parameters pars.
Details

- ParametricFunction is generated by ParametricNDSolve and ParametricNDSolveValue.
- A ParametricFunction object pfun is evaluated by using pfun[pvals] where pvals are explicit numerical values for the parameters pars.
- A ParametricFunction may return numbers, functions, or more complicated expressions based on the underlying computation.
- Derivatives of ParametricFunction are computed using a combination of symbolic and numerical sensitivity methods when possible.
Examples
Basic Examples (1)
Parameters for a harmonic oscillator:
With numerical values, an approximate function is returned:
Derivatives of the ParametricFunction give the sensitivity solutions:
See Also
Related Guides
History
Text
Wolfram Research (2012), ParametricFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ParametricFunction.html.
CMS
Wolfram Language. 2012. "ParametricFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ParametricFunction.html.
APA
Wolfram Language. (2012). ParametricFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ParametricFunction.html
BibTeX
@misc{reference.wolfram_2025_parametricfunction, author="Wolfram Research", title="{ParametricFunction}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ParametricFunction.html}", note=[Accessed: 04-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_parametricfunction, organization={Wolfram Research}, title={ParametricFunction}, year={2012}, url={https://reference.wolfram.com/language/ref/ParametricFunction.html}, note=[Accessed: 04-August-2025]}