
On 21/02/2011 21:19, Тимофей Игнатьич wrote:
c++0x features allow us to implement some nice stuff:
- Safe variadic functions with parameter count checking. For example consider a constructor of the N dimensional vector of T takes only N farameters that are convertable to T and fails othervise:
[...]
- Same type comversion as for fundamental types. This means that char multiplied by int gives int result and int multiplied by float gives float result. vectors work exactly the same:
[...]
I don't see how C++0x adds anything new here.
Among other notable features are matrix matrix and vector matrix multiplications, component vise addition/substraction/multiplication/division, dot product, matrix inversion, matrix determinant calculation, etc. I want to know if there is any interest in such a library in boost community, and if so to make it available for public inspecion and criticism.
There could be interest, but be aware there is already quite a lot of competition in the domain of array programming, linear algebra or numerical computation in general.