|
Boost : |
From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2006-01-29 13:23:21
Michael Tegtmeyer <tegtmeye_at_[hidden]> writes:
[...]
| Simple C arrays with the restrict keyword work well but all numeric
| operations have to be hand coded. std::valarray has convenient syntax
| but the user must pay for a memory allocation at each object creation
| which will dominate the runtime for smaller sized arrays.
|
| My own motivation is operations in space-time where I am repetitively
| doing complex numeric operations in 3 and 4 tuple space. Another
| example off of the top of my head could be those doing graphics who
| always use 4x4 matrices.
What you're proposing does have value.
-- Gaby
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk