|
Boost : |
From: boost (boost_at_[hidden])
Date: 2001-11-20 05:39:56
Dear All,
I'm currently reading the documentation of ublas
and would like to send some comments.
-> doc/expression.htm
"A Scalar Expression is an expression convertible to a builtin type."
I'd like to use scalar types / matrix elements which are (currently?)
not a builtin C++ types, like interval<..> or MyTypeWhichBehavesLikeScalar.
-> value type
In my own matrix package I have defined a norm_type, since the type
of the norm of a complex matrix is real.
In addition, one should take into account,
that the type of an eigen value of an hermitean is again real.
This gets interesting once one tries to write a generic eigen value
routine. E.g., I have written a jacobi algorithm which works for arbitrary
hermitean matrices that avoids uneccessary complex operations and works
even for more complicated 'scalar types'.
-> op(A) * op(B)
in addition to op= A, A^T, A^H i would like to have A^c,
i.e. complex conjugated Matrices, since I need to evaluate
A * B^c.
Once I manage to get the sources I'll continue.
Best wishes,
Peter
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk