mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
added optimized matrix times diagonal matrix product via Diagonal flag shortcut.
This commit is contained in:
@@ -212,8 +212,7 @@ template<typename T, int n=1> struct ei_nested
|
||||
|
||||
template<unsigned int Flags> struct ei_are_flags_consistent
|
||||
{
|
||||
enum { ret = !( (Flags&UnitDiagBit && Flags&ZeroDiagBit)
|
||||
|| (Flags&UpperTriangularBit && Flags&LowerTriangularBit) )
|
||||
enum { ret = !( (Flags&UnitDiagBit && Flags&ZeroDiagBit) )
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user