Eigne Matrix Class Library
Dependents: Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more
CwiseBinaryOp< BinaryOp, Lhs, Rhs > Class Template Reference
[Core module]
Generic expression where a coefficient-wise binary operator is applied to two expressions. More...
#include <CwiseBinaryOp.h>
Inherits Eigen::internal::no_assignment_operator.
Public Member Functions | |
const _LhsNested & | lhs () const |
const _RhsNested & | rhs () const |
const BinaryOp & | functor () const |
Detailed Description
template<typename BinaryOp, typename Lhs, typename Rhs>
class Eigen::CwiseBinaryOp< BinaryOp, Lhs, Rhs >
Generic expression where a coefficient-wise binary operator is applied to two expressions.
- Parameters:
-
BinaryOp template functor implementing the operator Lhs the type of the left-hand side Rhs the type of the right-hand side
This class represents an expression where a coefficient-wise binary operator is applied to two expressions. It is the return type of binary operators, by which we mean only those binary operators where both the left-hand side and the right-hand side are Eigen expressions. For example, the return type of matrix1+matrix2 is a CwiseBinaryOp.
Most of the time, this is the only way that it is used, so you typically don't have to name CwiseBinaryOp types explicitly.
- See also:
- MatrixBase::binaryExpr(const MatrixBase<OtherDerived> &,const CustomBinaryOp &) const, class CwiseUnaryOp, class CwiseNullaryOp
Definition at line 107 of file CwiseBinaryOp.h.
Member Function Documentation
const BinaryOp& functor | ( | ) | const |
- Returns:
- the functor representing the binary operation
Definition at line 155 of file CwiseBinaryOp.h.
const _LhsNested& lhs | ( | ) | const |
- Returns:
- the left hand side nested expression
Definition at line 151 of file CwiseBinaryOp.h.
const _RhsNested& rhs | ( | ) | const |
- Returns:
- the right hand side nested expression
Definition at line 153 of file CwiseBinaryOp.h.
Generated on Tue Jul 12 2022 17:47:03 by 1.7.2