Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Eigen_test Odometry_test AttitudeEstimation_usingTicker MPU9250_Quaternion_Binary_Serial ... more
CwiseUnaryOp< UnaryOp, XprType > Class Template Reference
[Core module]
Generic expression where a coefficient-wise unary operator is applied to an expression. More...
#include <CwiseUnaryOp.h>
Inherits Eigen::internal::no_assignment_operator.
Detailed Description
template<typename UnaryOp, typename XprType>
class Eigen::CwiseUnaryOp< UnaryOp, XprType >
Generic expression where a coefficient-wise unary operator is applied to an expression.
- Parameters:
-
UnaryOp template functor implementing the operator XprType the type of the expression to which we are applying the unary operator
This class represents an expression where a unary operator is applied to an expression. It is the return type of all operations taking exactly 1 input expression, regardless of the presence of other inputs such as scalars. For example, the operator* in the expression 3*matrix is considered unary, because only the right-hand side is an expression, and its return type is a specialization of CwiseUnaryOp.
Most of the time, this is the only way that it is used, so you typically don't have to name CwiseUnaryOp types explicitly.
- See also:
- MatrixBase::unaryExpr(const CustomUnaryOp &) const, class CwiseBinaryOp, class CwiseNullaryOp
Definition at line 59 of file CwiseUnaryOp.h.
Generated on Tue Jul 12 2022 17:47:03 by
