Quantum++  v1.2
A modern C++11 quantum computing library
qpp::internal::EqualEigen Class Reference

Functor for comparing Eigen expressions for equality. More...

#include <functions.h>

Public Member Functions

template<typename Derived >
bool operator() (const Eigen::MatrixBase< Derived > &A, const Eigen::MatrixBase< Derived > &B) const
 

Detailed Description

Functor for comparing Eigen expressions for equality.

Note
Works without assertion fails even if the dimensions of the arguments are different (in which case simply returns false

Member Function Documentation

◆ operator()()

template<typename Derived >
bool qpp::internal::EqualEigen::operator() ( const Eigen::MatrixBase< Derived > &  A,
const Eigen::MatrixBase< Derived > &  B 
) const
inline

The documentation for this class was generated from the following file: