10 #ifndef EIGEN_ARRAY_CWISE_OPERATORS_H 11 #define EIGEN_ARRAY_CWISE_OPERATORS_H 21 template<
typename ExpressionType>
29 template<
typename ExpressionType>
37 template<
typename ExpressionType>
45 template<
typename ExpressionType>
53 template<
typename ExpressionType>
54 template<
typename OtherDerived>
62 template<
typename ExpressionType>
63 template<
typename OtherDerived>
71 template<
typename ExpressionType>
72 template<
typename OtherDerived>
75 return m_matrix.const_cast_derived() = *
this * other;
79 template<
typename ExpressionType>
80 template<
typename OtherDerived>
83 return m_matrix.const_cast_derived() = *
this / other;
93 template<
typename ExpressionType>
101 template<
typename ExpressionType>
105 return _expression();
110 template<
typename ExpressionType>
114 return _expression();
119 template<
typename ExpressionType>
128 template<
typename ExpressionType>
132 return _expression();
136 template<
typename ExpressionType>
140 return _expression();
144 template<
typename ExpressionType>
148 return _expression();
155 template<
typename ExpressionType>
156 template<
typename OtherDerived>
164 template<
typename ExpressionType>
165 template<
typename OtherDerived>
173 template<
typename ExpressionType>
174 template<
typename OtherDerived>
182 template<
typename ExpressionType>
183 template<
typename OtherDerived>
191 template<
typename ExpressionType>
192 template<
typename OtherDerived>
200 template<
typename ExpressionType>
201 template<
typename OtherDerived>
211 template<
typename ExpressionType>
216 typename ExpressionType::ConstantReturnType(_expression().rows(), _expression().cols(), s));
220 template<
typename ExpressionType>
225 typename ExpressionType::ConstantReturnType(_expression().rows(), _expression().cols(), s));
229 template<
typename ExpressionType>
234 typename ExpressionType::ConstantReturnType(_expression().rows(), _expression().cols(), s));
238 template<
typename ExpressionType>
243 typename ExpressionType::ConstantReturnType(_expression().rows(), _expression().cols(), s));
247 template<
typename ExpressionType>
252 typename ExpressionType::ConstantReturnType(_expression().rows(), _expression().cols(), s));
256 template<
typename ExpressionType>
261 typename ExpressionType::ConstantReturnType(_expression().rows(), _expression().cols(), s));
267 template<
typename ExpressionType>
275 template<
typename ExpressionType>
278 return m_matrix.const_cast_derived() = *
this + scalar;
282 template<
typename ExpressionType>
286 return *
this + (-scalar);
290 template<
typename ExpressionType>
293 return m_matrix.const_cast_derived() = *
this - scalar;
298 #endif // EIGEN_ARRAY_CWISE_OPERATORS_H USING_NAMESPACE_ACADO IntermediateState sin(const Expression &arg)
IntermediateState sqrt(const Expression &arg)
#define EIGEN_STRONG_INLINE
ExpressionType & operator-=(const Scalar &scalar)
CwiseUnaryOp< internal::scalar_add_op< Scalar >, ExpressionType > ScalarAddReturnType
std::string operator==(const ExportIndex &_arg1, const ExportIndex &_arg2)
iterative scaling algorithm to equilibrate rows and column norms in matrices
IntermediateState pow(const Expression &arg1, const Expression &arg2)
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const Derived > abs2() const
#define EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE(OP)
ExportIndex operator*(const ExportIndex &_arg1, const ExportIndex &_arg2)
IntermediateState cos(const Expression &arg)
ConstraintComponent operator>=(double ub_, const ConstraintComponent &arg)
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
#define EIGEN_CWISE_BINOP_RETURN_TYPE(OP)
Pseudo expression providing additional coefficient-wise operations.
EIGEN_STRONG_INLINE const EIGEN_CWISE_UNOP_RETURN_TYPE(internal::scalar_abs_op) Cwise< ExpressionType >
ConstraintComponent operator<=(double lb_, const ConstraintComponent &arg)
const CwiseUnaryOp< internal::scalar_cube_op< Scalar >, const Derived > cube() const
ExpressionType & operator+=(const Scalar &scalar)
IntermediateState square(const Expression &arg)
internal::traits< ExpressionType >::Scalar Scalar
const ScalarAddReturnType operator+(const Scalar &scalar) const
#define EIGEN_CWISE_PRODUCT_RETURN_TYPE(LHS, RHS)
IntermediateState exp(const Expression &arg)
const ScalarAddReturnType operator-(const Scalar &scalar) const
Generic expression where a coefficient-wise unary operator is applied to an expression.
ExpressionType & operator/=(const MatrixBase< OtherDerived > &other)
ExpressionType & operator*=(const MatrixBase< OtherDerived > &other)
Base class for all dense matrices, vectors, and expressions.
ExportIndex operator/(const ExportIndex &_arg1, const ExportIndex &_arg2)
IntermediateState log(const Expression &arg)