Go to the source code of this file.
Functions | |
template<typename OtherDerived > | |
const | EIGEN_CWISE_PRODUCT_RETURN_TYPE (Derived, OtherDerived) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
const CwiseBinaryOp < internal::scalar_boolean_and_op, const Derived, const OtherDerived > | operator&& (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
const CwiseUnaryOp < internal::scalar_add_op < Scalar >, const Derived > | operator+ (const Scalar &scalar) const |
const CwiseUnaryOp < internal::scalar_add_op < Scalar >, const Derived > | operator+ (const Scalar &scalar, const EIGEN_CURRENT_STORAGE_BASE_CLASS< Derived > &other) |
const CwiseUnaryOp < internal::scalar_add_op < Scalar >, const Derived > | operator- (const Scalar &scalar) const |
const CwiseUnaryOp < internal::scalar_add_op < Scalar >, const CwiseUnaryOp < internal::scalar_opposite_op < Scalar >, const Derived > > | operator- (const Scalar &scalar, const EIGEN_CURRENT_STORAGE_BASE_CLASS< Derived > &other) |
template<typename OtherDerived > | |
const CwiseBinaryOp < internal::scalar_quotient_op < Scalar >, const Derived, const OtherDerived > | operator/ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
const CwiseBinaryOp < internal::scalar_boolean_or_op, const Derived, const OtherDerived > | operator|| (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
const EIGEN_CWISE_PRODUCT_RETURN_TYPE | ( | Derived | , |
OtherDerived | |||
) | const [inline] |
*this
and other References EIGEN_CWISE_PRODUCT_RETURN_TYPE.
const CwiseBinaryOp<internal::scalar_boolean_and_op, const Derived, const OtherDerived> operator&& | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline] |
Example:
Array3d v(-1,2,1), w(-3,2,3); cout << ((v<w) && (v<0)) << endl;
Output:
0 0 0
References EIGEN_STATIC_ASSERT.
const CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Derived> operator+ | ( | const Scalar & | scalar | ) | const [inline] |
Example:
Array3d v(1,2,3), w(3,2,1); cout << (v<w) << endl;
Output:
1 0 0
Example:
Array3d v(1,2,3), w(3,2,1); cout << (v<=w) << endl;
Output:
1 1 0
Example:
Array3d v(1,2,3), w(3,2,1); cout << (v>w) << endl;
Output:
0 0 1
Example:
Array3d v(1,2,3), w(3,2,1); cout << (v>=w) << endl;
Output:
0 1 1
Example:
Array3d v(1,2,3), w(3,2,1); cout << (v==w) << endl;
Output:
0 1 0
Example:
Array3d v(1,2,3), w(3,2,1); cout << (v!=w) << endl;
Output:
1 0 1
*this
with each coeff incremented by the constant scalar Example:
Array3d v(1,2,3); cout << v+5 << endl;
Output:
6 7 8
friend const CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Derived> operator+ | ( | const Scalar & | scalar, |
const EIGEN_CURRENT_STORAGE_BASE_CLASS< Derived > & | other | ||
) | [inline] |
const CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Derived> operator- | ( | const Scalar & | scalar | ) | const [inline] |
*this
with each coeff decremented by the constant scalar Example:
Array3d v(1,2,3); cout << v-5 << endl;
Output:
-4 -3 -2
friend const CwiseUnaryOp<internal::scalar_add_op<Scalar>, const CwiseUnaryOp<internal::scalar_opposite_op<Scalar>, const Derived> > operator- | ( | const Scalar & | scalar, |
const EIGEN_CURRENT_STORAGE_BASE_CLASS< Derived > & | other | ||
) | [inline] |
const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived> operator/ | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline] |
*this
and other const CwiseBinaryOp<internal::scalar_boolean_or_op, const Derived, const OtherDerived> operator|| | ( | const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > & | other | ) | const [inline] |
Example:
Array3d v(-1,2,1), w(-3,2,3); cout << ((v<w) || (v<0)) << endl;
Output:
1 0 1
References EIGEN_STATIC_ASSERT.