Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes
array_subvector Class Reference

A simple subvector class for an array (without error checking)

#include <array.h>


Detailed Description

Definition at line 322 of file array.h.

Public Member Functions

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

Protected Attributes

double * a
 The array pointer.
size_t off
 The offset.
size_t len
 The subvector length.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.