Go to the source code of this file.
Functions | |
template<typename CustomBinaryOp , typename OtherDerived > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE CwiseBinaryOp< CustomBinaryOp, const Derived, const OtherDerived > | binaryExpr (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const |
template<typename OtherDerived > | |
const EIGEN_DEVICE_FUNC CwiseBinaryOp< internal::scalar_boolean_and_op, const Derived, const OtherDerived > | operator&& (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
const EIGEN_DEVICE_FUNC CwiseBinaryOp< internal::scalar_boolean_or_op, const Derived, const OtherDerived > | operator|| (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE CwiseBinaryOp<CustomBinaryOp, const Derived, const OtherDerived> binaryExpr | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other, |
const CustomBinaryOp & | func = CustomBinaryOp() |
||
) | const |
*this
and other *this
and other The template parameter CustomBinaryOp is the type of the functor of the custom operator (see class CwiseBinaryOp for an example)
Here is an example illustrating the use of custom functors:
Output:
Definition at line 43 of file CommonCwiseBinaryOps.h.
|
inline |
*this
and other Example:
Output:
Definition at line 91 of file CommonCwiseBinaryOps.h.
|
inline |
*this
and other Example:
Output:
Definition at line 110 of file CommonCwiseBinaryOps.h.