21 double* pvi =
v +
min;
22 for (
int i = min; i <=
max; ++i)
38 double* pvi =
v +
min;
39 for (
int i = min; i <=
max; ++i)
dvector & operator*=(double v1)
Multiply elements of a vector by a constant.
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/=(double v1)
Divide elements of a vector by a constant.