* Rewrite the triangular solver so that we can take advantage of our efficient matrix-vector products:

=> up to 6 times faster !
* Added DirectAccessBit to Part
* Added an exemple of a cwise operator
* Renamed perpendicular() => someOrthogonal() (geometry module)
* Fix a weired bug in ei_constant_functor: the default copy constructor did not copy
  the imaginary part when the single member of the class is a complex...
This commit is contained in:
Gael Guennebaud
2008-07-26 20:40:29 +00:00
parent 2940617e6f
commit e77ccf2928
11 changed files with 209 additions and 54 deletions

View File

@@ -318,6 +318,7 @@ struct ei_scalar_constant_op<Scalar,true> {
};
template<typename Scalar>
struct ei_scalar_constant_op<Scalar,false> {
inline ei_scalar_constant_op(const ei_scalar_constant_op& other) : m_other(other.m_other) { }
inline ei_scalar_constant_op(const Scalar& other) : m_other(other) { }
inline const Scalar operator() (int, int = 0) const { return m_other; }
const Scalar m_other;