35 double* pvaluesi = values.
get_v() +
min;
36 double* presultsi = results.
get_v() +
min;
37 for (
int i = min; i <=
max; ++i)
39 *presultsi =
square(*pvaluesi);
73 for (
int i = results.
rowmin(); i <= results.
rowmax(); ++i)
void allocate(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void allocate(const ad_integer &sl, const ad_integer &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
Allocate array of matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
void allocate(int ncl, int ncu)
Allocate memory for a dvector.
Array of integers(int) with indexes from index_min to indexmax.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
dvector value(const df1_one_vector &v)
Description not yet available.
void allocate(const ad_integer &ncl, const index_type &ncu)
Allocate vector of integers with dimension [_ncl to _nch].
double square(const double value)
Return square of value; constant object.