17 #include <iostream.hpp>
75 cerr <<
" Error trying to allocate memory for ivector\n";
80 cerr <<
" Error trying to allocate memory for ivector\n";
87 #if !defined(USE_DDOUBLE)
106 " Array sizes do not match in lvector operator =(const lvector&)\n";
124 assert(sz > 0 && sz - 1 <= INT_MAX);
128 cerr <<
" Error trying to allocate memory for lvector\n";
132 cerr <<
"Error trying to allocate memory for lvector\n";
136 for (
unsigned int i = 0; i < sz; i++)
160 cerr <<
" Error trying to allocate memory for lvector\n";
165 cerr <<
" Error trying to allocate memory for lvector\n";
199 cerr <<
" Error trying to allocate memory for lvector\n";
204 cerr <<
" Error trying to allocate memory for lvector\n";
lvector(void)
Default constructor.
Description not yet available.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void initialize(void)
Intialize vector values to zero.
Description not yet available.
AD_LONG_INT & elem(int i)
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.
unsigned int size() const
Get number of elements in array.
lvector & operator=(const lvector &t)
Description not yet available.
void allocate(void)
Does not really allocate, but empties the array.