mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* 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:
4
doc/snippets/Cwise_product.cpp
Normal file
4
doc/snippets/Cwise_product.cpp
Normal file
@@ -0,0 +1,4 @@
|
||||
Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random();
|
||||
Matrix3i c = a.cwise() * b;
|
||||
cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl;
|
||||
|
||||
Reference in New Issue
Block a user