Subject: Re: [boost] Interested in a generic safe n-dimensional matrix/vector library?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-02-22 06:11:00
On 02/22/11 05:02, Ð¢Ð¸Ð¼Ð¾ÑÐµÐ¹ ÐÐ³Ð½Ð°ÑÑÐ¸Ñ wrote:
> Sorry, i guess i want. clear enough. vector template is defined like this:
> template <class T, size_t N>
> class vector;
> Where T is arbitrary type (supposedly arithmetic, or it woult be meaningless otherwise)
> and N is an amount of components in a vector (aka vector dimension or size) and not an
> amount of dimensions in an array (vector is a one dimensional array of elements). So vector
> is statically sized, and parameters passed to constructor are values to be stored in it and
> not sizes of corresponding array dimensions.
This sounds like boost::array:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk