mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
e77ccf2928
=> 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...
5 lines
149 B
C++
5 lines
149 B
C++
Matrix3i a = Matrix3i::Random(), b = Matrix3i::Random();
|
|
Matrix3i c = a.cwise() * b;
|
|
cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl;
|
|
|