18 #define EIGEN_CWISE_BINOP_RETURN_TYPE(OP) \ 19 CwiseBinaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType, OtherDerived> 23 #define EIGEN_CWISE_UNOP_RETURN_TYPE(OP) \ 24 CwiseUnaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType> 28 #define EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(OP) \ 29 CwiseBinaryOp<OP<typename internal::traits<ExpressionType>::Scalar>, ExpressionType, \ 30 typename ExpressionType::ConstantReturnType > 50 template<
typename ExpressionType>
class Cwise 64 template<
typename OtherDerived>
68 template<
typename OtherDerived>
73 template<
typename OtherDerived>
79 template<
typename OtherDerived>
102 {
return mat + scalar; }
111 template<
typename OtherDerived>
114 template<
typename OtherDerived>
118 operator<(const MatrixBase<OtherDerived>& other)
const;
121 operator<=(const MatrixBase<OtherDerived>& other)
const;
140 operator<=(
Scalar s)
const;
146 operator>=(
Scalar s)
const;
155 #ifdef EIGEN_CWISE_PLUGIN 156 #include EIGEN_CWISE_PLUGIN 171 template<
typename Derived>
184 template<
typename Derived>
192 #endif // EIGEN_CWISE_H friend const ScalarAddReturnType operator+(const Scalar &scalar, const Cwise &mat)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_pow_op< typename Derived::Scalar >, const Derived > pow(const Eigen::ArrayBase< Derived > &x, const typename Derived::Scalar &exponent)
const Eigen::CwiseUnaryOp< Eigen::internal::scalar_inverse_mult_op< typename Derived::Scalar >, const Derived > operator/(const typename Derived::Scalar &s, const Eigen::ArrayBase< Derived > &a)
Component-wise division of a scalar by array elements.
bool operator>(const TransformStorage &lhs, const TransformStorage &rhs)
const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_abs_op) abs() const
TFSIMD_FORCE_INLINE bool operator==(const Matrix3x3 &m1, const Matrix3x3 &m2)
ExpressionType & operator-=(const Scalar &scalar)
const EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(std::less) operator<(Scalar s) const
CwiseUnaryOp< internal::scalar_add_op< Scalar >, ExpressionType > ScalarAddReturnType
const EIGEN_CWISE_BINOP_RETURN_TYPE() internal::scalar_max_op() max(const MatrixBase< OtherDerived > &other) const
const internal::permut_matrix_product_retval< PermutationDerived, Derived, OnTheRight > operator*(const MatrixBase< Derived > &matrix, const PermutationBase< PermutationDerived > &permutation)
const ExpressionType & _expression() const
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const Derived > abs2() const
internal::conditional< internal::must_nest_by_value< ExpressionType >::ret, ExpressionType, const ExpressionType & >::type ExpressionTypeNested
const CwiseUnaryOp< internal::scalar_square_op< Scalar >, const Derived > square() const
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const Derived > abs() const
const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const Derived > inverse() const
Pseudo expression providing additional coefficient-wise operations.
const CwiseUnaryOp< internal::scalar_cube_op< Scalar >, const Derived > cube() const
ExpressionType & operator+=(const Scalar &scalar)
const EIGEN_CWISE_BINOP_RETURN_TYPE() internal::scalar_min_op() min(const MatrixBase< OtherDerived > &other) const
const CwiseUnaryOp< internal::scalar_log_op< Scalar >, const Derived > log() const
TFSIMD_FORCE_INLINE bool operator!=(const Vector3 &other) const
const EIGEN_CWISE_PRODUCT_RETURN_TYPE(ExpressionType, OtherDerived) operator*(const MatrixBase< OtherDerived > &other) const
const CwiseUnaryOp< internal::scalar_sin_op< Scalar >, const Derived > sin() const
internal::traits< ExpressionType >::Scalar Scalar
const ScalarAddReturnType operator+(const Scalar &scalar) const
const CwiseUnaryOp< internal::scalar_cos_op< Scalar >, const Derived > cos() const
Cwise(const ExpressionType &matrix)
const CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const Derived > sqrt() const
const ScalarAddReturnType operator-(const Scalar &scalar) const
const CwiseUnaryOp< internal::scalar_exp_op< Scalar >, const Derived > exp() const
Generic expression where a coefficient-wise unary operator is applied to an expression.
ExpressionType & operator/=(const MatrixBase< OtherDerived > &other)
ExpressionTypeNested m_matrix
const EIGEN_CWISE_BINOP_RETURN_TYPE(internal::scalar_quotient_op) operator/(const MatrixBase< OtherDerived > &other) const
ExpressionType & operator*=(const MatrixBase< OtherDerived > &other)
Base class for all dense matrices, vectors, and expressions.