\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
valvector_pow¶
View page sourceThe valvector Pow Function¶
Syntax¶
CppAD::pow
( x , y )x¶
The argument x is a const
valvector that is passed by reference.
y¶
The argument y is a const
valvector that is passed by reference.
If the size of x is not one,
and the size of y is not one,
the size of x and y must be equal.
z¶
The result z is a valvector with size equal to the maximum of the size of x and the size of y .
Example¶
The file valvector_pow.cpp is an example and test of the valvector pow function.