#include <array.h>
This works because two-dimensional arrays are always continguous (as indicated in appendix C of Soustroup's book)
Definition at line 266 of file array.h.
Public Member Functions | |
array_2d_column (double mat[R][C], size_t i) | |
Create an object as the i th column of mat . | |
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. |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page