Sync public subset from Flux (private)
This commit is contained in:
22
include/utils/matrix/matrix_equal_adapter.h
Normal file
22
include/utils/matrix/matrix_equal_adapter.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include "./utils/matrix.h"
|
||||
#include "./numerics/matequal.h"
|
||||
|
||||
namespace utils {
|
||||
|
||||
// definitions of the previously-declared members
|
||||
template <typename T>
|
||||
inline bool Matrix<T>::equals(const Matrix<T>& B, T tol) const {
|
||||
return numerics::matequal(*this, B, tol);
|
||||
}
|
||||
template <typename T>
|
||||
inline bool Matrix<T>::equals_omp(const Matrix<T>& B, T tol) const {
|
||||
return numerics::matequal_omp(*this, B, tol);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline bool Matrix<T>::equals_auto(const Matrix<T>& B, T tol) const {
|
||||
return numerics::matequal_auto(*this, B, tol);
|
||||
}
|
||||
|
||||
} // namespace utils
|
||||
Reference in New Issue
Block a user