Boost logo

Boost Users :

Subject: Re: [Boost-users] Multi Index: Nested std::pair
From: Etienne Philip Pretorius (icewolfhunter_at_[hidden])
Date: 2009-04-27 04:32:58


> Hi Etienne,
>
> Could you please elaborate on what is meant by "unique values"? This is
> not clear to
> me from the explanations on your previous posts. It might help to state
> your requirements
> in the reverse way: what kind of duplications involving value should be
> banned from the
> container? For instance, the ordered_unique index you show us above bans
> duplicate
> elements having the same form (x,*,value), where * indicates that the y
> member is
> immaterial here.
>
Hello Joaquín,

I am doing a matrix operation where I need to know the number of unique
values per x co-ordinate and number of unique values per y co-ordinate.

N-th row, x=N, but how many unique "values" are there in this row?
N-th column, y=N, but how many unique "values" are there in the column?

> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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