We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fbada0 commit f4f5b9bCopy full SHA for f4f5b9b
include/albatross/src/linalg/block_diagonal.hpp
@@ -68,6 +68,8 @@ struct BlockDiagonalLDLT {
68
Eigen::Index rows() const;
69
70
Eigen::Index cols() const;
71
+
72
+ bool operator==(const BlockDiagonalLDLT &other) const;
73
};
74
75
struct BlockDiagonal {
@@ -248,6 +250,11 @@ inline const BlockDiagonalLDLT &BlockDiagonalLDLT::adjoint() const {
248
250
return *this;
249
251
}
252
253
+inline bool
254
+BlockDiagonalLDLT::operator==(const BlockDiagonalLDLT &other) const {
255
+ return blocks == other.blocks;
256
+}
257
258
/*
259
* Block Diagonal
260
*/
0 commit comments