Go to the source code of this file.
Macros | |
#define | EIGEN_MAKE_CWISE_COMP_OP(OP, COMPARATOR) |
#define | EIGEN_MAKE_CWISE_COMP_R_OP(OP, R_OP, RCOMPARATOR) |
Functions | |
template<typename OtherDerived > | |
const CwiseBinaryOp< absolute_difference< Scalar >, const Derived, const OtherDerived > | absolute_difference (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
const CwiseBinaryOp< internal::scalar_absolute_difference_op< Scalar, Scalar >, const Derived, const CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObject > > | absolute_difference (const Scalar &other) const |
template<typename OtherDerived > | |
const CwiseBinaryOp< atan2< Scalar >, const Derived, const OtherDerived > | atan2 (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<int NaNPropagation = PropagateFast, typename OtherDerived > | |
const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar, NaNPropagation >, const Derived, const OtherDerived > | max (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<int NaNPropagation = PropagateFast> | |
const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar, NaNPropagation >, const Derived, const CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObject > > | max (const Scalar &other) const |
template<int NaNPropagation = PropagateFast, typename OtherDerived > | |
const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar, NaNPropagation >, const Derived, const OtherDerived > | min (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<int NaNPropagation = PropagateFast> | |
const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar, NaNPropagation >, const Derived, const CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObject > > | min (const Scalar &other) const |
template<typename OtherDerived > | |
const CwiseBinaryOp< internal::scalar_product_op< Derived ::Scalar, OtherDerived ::Scalar >, const Derived, const OtherDerived > | operator* (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename T > | |
const CwiseBinaryOp< internal::scalar_sum_op< Scalar, T >, Derived, Constant< T > > | operator+ (const T &scalar) const |
template<typename T > | |
const CwiseBinaryOp< internal::scalar_sum_op< T, Scalar >, Constant< T >, Derived > | operator+ (const T &scalar, const StorageBaseType &expr) |
template<typename T > | |
const CwiseBinaryOp< internal::scalar_difference_op< Scalar, T >, Derived, Constant< T > > | operator- (const T &scalar) const |
template<typename T > | |
const CwiseBinaryOp< internal::scalar_difference_op< T, Scalar >, Constant< T >, Derived > | operator- (const T &scalar, const StorageBaseType &expr) |
template<typename OtherDerived > | |
const CwiseBinaryOp< internal::scalar_quotient_op< Scalar, typename OtherDerived::Scalar >, const Derived, const OtherDerived > | operator/ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename T > | |
const CwiseBinaryOp< internal::scalar_quotient_op< T, Scalar >, Constant< T >, Derived > | operator/ (const T &s, const StorageBaseType &a) |
Component-wise division of the scalar s by array elements of a. More... | |
template<typename OtherDerived > | |
const CwiseBinaryOp< pow< Scalar >, const Derived, const OtherDerived > | pow (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename DerivedQ > | |
const CwiseBinaryOp< internal::scalar_zeta_op< Scalar >, const Derived, const DerivedQ > | zeta (const EIGEN_CURRENT_STORAGE_BASE_CLASS< DerivedQ > &q) const |
#define EIGEN_MAKE_CWISE_COMP_OP | ( | OP, | |
COMPARATOR | |||
) |
Definition at line 146 of file ArrayCwiseBinaryOps.h.
#define EIGEN_MAKE_CWISE_COMP_R_OP | ( | OP, | |
R_OP, | |||
RCOMPARATOR | |||
) |
Definition at line 164 of file ArrayCwiseBinaryOps.h.
const CwiseBinaryOp< absolute_difference <Scalar>, const Derived, const OtherDerived> absolute_difference | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const |
*this
and other Example:
Output:
|
inline |
*this
and scalar other Definition at line 119 of file ArrayCwiseBinaryOps.h.
const CwiseBinaryOp< atan2 <Scalar>, const Derived, const OtherDerived> atan2 | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const |
*this
, y), where y is the given array argument.This function computes the coefficient-wise atan2.
|
inline |
*this
and other Example:
Output:
4 3 4
Definition at line 75 of file ArrayCwiseBinaryOps.h.
|
inline |
*this
and scalar other Definition at line 93 of file ArrayCwiseBinaryOps.h.
|
inline |
*this
and other Example:
Output:
2 2 3
Definition at line 37 of file ArrayCwiseBinaryOps.h.
|
inline |
*this
and scalar other Definition at line 55 of file ArrayCwiseBinaryOps.h.
|
inline |
*this
and other Definition at line 9 of file ArrayCwiseBinaryOps.h.
const CwiseBinaryOp<internal::scalar_sum_op<Scalar,T>,Derived,Constant<T> > operator+ | ( | const T & | scalar | ) | const |
Example:
Output:
1 0 0
Example:
Output:
1 1 0
Example:
Output:
0 0 1
Example:
Output:
0 1 1
Example:
Output:
0 1 0
Example:
Output:
1 0 1
*this
with each coeff incremented by the constant scalar T | is the scalar type of scalar. It must be compatible with the scalar type of the given expression. |
Example:
Output:
6 7 8
friend const CwiseBinaryOp<internal::scalar_sum_op<T,Scalar>,Constant<T>,Derived> operator+ | ( | const T & | scalar, |
const StorageBaseType & | expr | ||
) |
T | is the scalar type of scalar. It must be compatible with the scalar type of the given expression. |
const CwiseBinaryOp<internal::scalar_difference_op<Scalar,T>,Derived,Constant<T> > operator- | ( | const T & | scalar | ) | const |
*this
with each coeff decremented by the constant scalar T | is the scalar type of scalar. It must be compatible with the scalar type of the given expression. |
Example:
Output:
-4 -3 -2
friend const CwiseBinaryOp<internal::scalar_difference_op<T,Scalar>,Constant<T>,Derived> operator- | ( | const T & | scalar, |
const StorageBaseType & | expr | ||
) |
T | is the scalar type of scalar. It must be compatible with the scalar type of the given expression. |
|
inline |
*this
and other Definition at line 21 of file ArrayCwiseBinaryOps.h.
|
inline |
Component-wise division of the scalar s by array elements of a.
Scalar | is the scalar type of x. It must be compatible with the scalar type of the given array expression (Derived::Scalar ). |
const CwiseBinaryOp< pow <Scalar>, const Derived, const OtherDerived> pow | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const |
*this
to the given array of exponents.This function computes the coefficient-wise power.
Example:
Output:
[ 8 25 3]^[0.333 0.5 2] = 2 5 9 [ 8 25 3]^[0.333 0.5 2] = 2 5 9
|
inline |
This is defined in the unsupported SpecialFunctions module.
It returns the Riemann zeta function of two arguments *this
and q:
q | is the shift, it must be > 0 |
This method is an alias for zeta(*this,q);
Definition at line 348 of file ArrayCwiseBinaryOps.h.