6 #if (__cplusplus > 199711L)
15 #if (__cplusplus <= 199711L)
21 if (
operator!() ==
false)
24 auto end = begin +
size();
25 std::for_each(begin, end, [](
d6_array& darray)
53 cerr <<
"Warning -- Unable to shallow copy an unallocated d6_array.\n";
78 cerr <<
"Warning -- Unable to deallocate an unallocated d6_array.\n";
96 cerr <<
"Incompatible bounds in"
97 <<
" d7_array& d7_array::operator=(const d7_array&).\n";
100 for (
int i = min; i <=
max; ++i)
124 int nrh,
int ncl,
int nch,
int l5,
int u5,
int l6,
int u6)
126 allocate(l7,u7,hsl,hsu,sl,sh,nrl,nrh,ncl,nch,l5,u5,l6,u6);
140 allocate(l7,u7,hsl,hsu,sl,sh,nrl,nrh,ncl,nch,l5,u5,l6,u6);
146 int nrl,
int nrh,
int ncl,
int nch,
int l5,
int u5,
int l6,
int u6)
149 for (
int i = l7; i <= u7; ++i)
151 elem(i).
allocate(hsl, hsu, sl, sh, nrl, nrh, ncl, nch, l5, u5, l6, u6);
169 cerr <<
"Error: Unable to allocate d7_array memory in "
170 <<
"d7_array::allocate(int, int).\n";
175 cerr <<
"Error: Unable to allocate d7_array memory in "
176 <<
"d7_array::allocate(int, int).\n";
180 for (
int i = l7; i <= u7; ++i)
199 cerr <<
" Error allocating memory in d6_array contructor\n";
202 unsigned int ss =
size();
205 cerr <<
" Error allocating memory in d6_array contructor\n";
211 for (
int i=i1; i<=iu; i++)
214 sl(i),sh(i),nrl(i),nrh(i),ncl(i),nch(i),l5(i),u5(i),l6(i),u6(i));
void allocate(void)
Description not yet available.
void initialize()
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void allocate(int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch, int l6, int u6)
Allocate d6_array with specified dimensions.
Uses polymorphism to get index information from various data types to be used in constructing and all...
Description not yet available.
unsigned int size() const
Description not yet available.
Description not yet available.
void deallocate(void)
Deallocate d7_array memory.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d7_array & operator=(const d7_array &)
Assign element values from other to d7_array.
void shallow_copy(const d7_array &)
Shallow copy other data structure pointers.
d7_array()
Description not yet available.
void initialize()
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.