Boost logo

Boost Users :

Subject: Re: [Boost-users] [uBLAS] Predefined subrange or project
From: Ryan (mccorywork_at_[hidden])
Date: 2011-03-09 11:09:56


On Wed, Mar 9, 2011 at 3:59 AM, sguazt <marco.guazzone_at_[hidden]> wrote:

> template <typename MatrixT>
> inline
> ublas::matrix_range<MatrixT> topleft(MatrixT& M)
> {
> return ublas::subrange(M, 0, 3, 0, 3);
> }

This is perfect. Thank you.

Ryan



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net