21 cerr <<
"Warning -- Trying to row shift empty imatrix in "
22 <<
"imatrix::rowshift(int).\n";
50 for (
int i=nrl; i<=nrh; i++)
131 for (
int i = nrl; i <= nrh; ++i)
159 int* pncli = ncl.
get_v() + nrl;
160 int* pnchi = nch.
get_v() + nrl;
161 for (
int i = nrl; i <= nrh; ++i)
182 int* pnchi = nch.
get_v() + nrl;
183 for (
int i = nrl; i <= nrh; ++i)
213 cerr <<
"Warning -- Unable to shallow copy an unallocated imatrix.\n";
267 cerr <<
"Warning -- Unable to deallocate an unallocated imatrix.\n";
289 cerr <<
"Error: Unable to allocate m in imatrix::allocate(int, int).\n";
294 cerr <<
"Error: Unable to allocate shape in imatrix::allocate(int, int).\n";
Uses polymorphism to get index information from various data types to be used in constructing and all...
void allocate(void)
Does not allocate, but initializes imatrix members.
Description not yet available.
Description not yet available.
void deallocate()
Deallocate imatrix memory.
int allocated(const ivector &v)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void shallow_copy(const imatrix &)
Shallow copy other data structure pointers.
Array of integers(int) with indexes from index_min to indexmax.
unsigned int rowsize() const
Returns the number of rows.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
unsigned int ncopies
Copy counter to enable shallow copies.
imatrix(void)
Default constructor.
dvector column(const dmatrix &matrix, int j)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
imatrix sub(int, int)
Description not yet available.
void allocate(const ad_integer &ncl, const index_type &ncu)
Allocate vector of integers with dimension [_ncl to _nch].
void rowshift(int min)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.