Logo MTL4

imax

returns the maximum possible index.

Details: mtl::imax

using mtl::imax;

dense2D<double>   A(4,4), B(6,6);
A[irange(0,imax)][irange(i,imax)] 
B[irange(0,imax)][irange(i,imax)]

Imax has been declared for both matrices. For A imax= 3 and for B is imax= 5.

Return to Overview                                Table of Content                               


imax -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.