[Trilinos-Users] tuple-indexable matrices?

Nico Schlömer nico.schloemer at ua.ac.be
Wed Feb 3 10:14:02 MST 2010


Hi all,

I'm looking at dense vectors which can be indexed by some sort of tuple
(e.g., Teuchos::Tuple).
Currently I find myself writing something like

   A( i[0], i[1], i[2] )

a lot of times, when it's semantically nothing more than

   A( i )

Any ideas?

Cheers,
Nico



More information about the Trilinos-Users mailing list