|
| Cwise (const ExpressionType &matrix) |
|
const ExpressionType & | _expression () const |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_PRODUCT_RETURN_TYPE (ExpressionType, OtherDerived) operator*(const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (internal::scalar_quotient_op) operator/(const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
const EIGEN_CWISE_BINOP_RETURN_TYPE() internal::scalar_min_op() | min (const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
const EIGEN_CWISE_BINOP_RETURN_TYPE() internal::scalar_max_op() | max (const MatrixBase< OtherDerived > &other) const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_abs_op) abs() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_abs2_op) abs2() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_square_op) square() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_cube_op) cube() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_inverse_op) inverse() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_sqrt_op) sqrt() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_exp_op) exp() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_log_op) log() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_cos_op) cos() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_sin_op) sin() const |
|
const | EIGEN_CWISE_UNOP_RETURN_TYPE (internal::scalar_pow_op) pow(const Scalar &exponent) const |
|
const ScalarAddReturnType | operator+ (const Scalar &scalar) const |
|
ExpressionType & | operator+= (const Scalar &scalar) |
|
const ScalarAddReturnType | operator- (const Scalar &scalar) const |
|
ExpressionType & | operator-= (const Scalar &scalar) |
|
template<typename OtherDerived > |
ExpressionType & | operator*= (const MatrixBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
ExpressionType & | operator/= (const MatrixBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (std::less) operator<(const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (std::less_equal) operator< |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (std::greater) operator>(const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (std::greater_equal) operator> |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (std::equal_to) operator |
|
template<typename OtherDerived > |
const | EIGEN_CWISE_BINOP_RETURN_TYPE (std::not_equal_to) operator! |
|
const | EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE (std::less) operator<(Scalar s) const |
|
const | EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE (std::less_equal) operator< |
|
const | EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE (std::greater) operator>(Scalar s) const |
|
const | EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE (std::greater_equal) operator> |
|
const | EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE (std::equal_to) operator |
|
const | EIGEN_CWISE_COMP_TO_SCALAR_RETURN_TYPE (std::not_equal_to) operator! |
|
template<typename ExpressionType>
class Eigen::Cwise< ExpressionType >
Pseudo expression providing additional coefficient-wise operations.
- Parameters
-
ExpressionType | the type of the object on which to do coefficient-wise operations |
This class represents an expression with additional coefficient-wise features. It is the return type of MatrixBase::cwise() and most of the time this is the only way it is used.
Example:
Output:
This class can be extended with the help of the plugin mechanism described on the page TopicCustomizingEigen by defining the preprocessor symbol EIGEN_CWISE_PLUGIN
.
- See also
- MatrixBase::cwise() const, MatrixBase::cwise()
Definition at line 50 of file Cwise.h.