19 cerr <<
" Incompatible array bounds in "
20 <<
"dvector& operator+=(const dvector&)\n";
25 double* pvi =
v +
min;
26 const double* pvaluesi = values.
get_v() +
min;
27 for (
int i = min; i <=
max; ++i)
47 cerr <<
" Incompatible array bounds in "
48 <<
"dvector& operator-=(const dvector&)\n";
52 double* pvi =
v +
min;
53 const double* pvaluesi = values.
get_v() +
min;
54 for (
int i = min; i <=
max; ++i)
71 double* pvi =
v +
min;
72 for (
int i = min; i <=
max; ++i)
88 double* pvi =
v +
min;
89 for (
int i = min; i <=
max; ++i)
double * v
pointer to the data
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
friend double min(const dvector &)
Returns the minimum value of vector vec.
friend double max(const dvector &)
Returns the maximum value of vector vec.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvector & operator-=(const dvector &v1)
Subtract values from dvector element-wise.
dvector value(const df1_one_vector &v)
dvector & operator+=(const dvector &v1)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.