lite::transpose Class Reference
[Array Transformations]

This transform returns a reference array that references the original array but its dimensions in revere order. More...

#include <array.hpp>

List of all members.

Public Member Functions

LITE_INLINE transpose (const transpose &)
LITE_INLINE transposeoperator= (const transpose &)

Detailed Description

This transform returns a reference array that references the original array but its dimensions in revere order.

Remarks:
When applied to a matrix (2-D array), it returns the transpose of the matrix.
Example:
        array<float[4][5][6]> a;        // a 4x5x6 array

        a[transpose()](1, 2, 3) = -1;  // left hand side is a float[6][5][4] reference array 
        // the above line is equivalent to:
        a(3, 2, 1) = -1;

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines

Generated on Fri Nov 6 02:03:21 2009 for Lite by  doxygen 1.6.0