array_const_reverse Class Template Reference

A simple class which reverses the order of an array. More...

#include <array.h>


Detailed Description

template<size_t sz>
class array_const_reverse< sz >

A simple class which reverses the order of an array.

See an example of usage in interp_ts.cpp and smart_interp_ts.cpp.

Definition at line 206 of file array.h.


Public Member Functions

 array_const_reverse (const double *arr)
 Create a reversed array from arr of size sz.
const double & operator[] (size_t i) const
 Array-like indexing.

Protected Attributes

double * a
 The array pointer.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page