File indexing completed on 2025-01-18 09:56:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 template<typename OtherDerived>
0021 EIGEN_DEVICE_FUNC
0022 EIGEN_STRONG_INLINE const EIGEN_CWISE_BINARY_RETURN_TYPE(Derived,OtherDerived,product)
0023 cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
0024 {
0025 return EIGEN_CWISE_BINARY_RETURN_TYPE(Derived,OtherDerived,product)(derived(), other.derived());
0026 }
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 template<typename OtherDerived>
0041 EIGEN_DEVICE_FUNC
0042 inline const CwiseBinaryOp<numext::equal_to<Scalar>, const Derived, const OtherDerived>
0043 cwiseEqual(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
0044 {
0045 return CwiseBinaryOp<numext::equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
0046 }
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060 template<typename OtherDerived>
0061 EIGEN_DEVICE_FUNC
0062 inline const CwiseBinaryOp<numext::not_equal_to<Scalar>, const Derived, const OtherDerived>
0063 cwiseNotEqual(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
0064 {
0065 return CwiseBinaryOp<numext::not_equal_to<Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
0066 }
0067
0068
0069
0070
0071
0072
0073
0074
0075 template<typename OtherDerived>
0076 EIGEN_DEVICE_FUNC
0077 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar>, const Derived, const OtherDerived>
0078 cwiseMin(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
0079 {
0080 return CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
0081 }
0082
0083
0084
0085
0086
0087 EIGEN_DEVICE_FUNC
0088 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_min_op<Scalar,Scalar>, const Derived, const ConstantReturnType>
0089 cwiseMin(const Scalar &other) const
0090 {
0091 return cwiseMin(Derived::Constant(rows(), cols(), other));
0092 }
0093
0094
0095
0096
0097
0098
0099
0100
0101 template<typename OtherDerived>
0102 EIGEN_DEVICE_FUNC
0103 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar>, const Derived, const OtherDerived>
0104 cwiseMax(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
0105 {
0106 return CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
0107 }
0108
0109
0110
0111
0112
0113 EIGEN_DEVICE_FUNC
0114 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_max_op<Scalar,Scalar>, const Derived, const ConstantReturnType>
0115 cwiseMax(const Scalar &other) const
0116 {
0117 return cwiseMax(Derived::Constant(rows(), cols(), other));
0118 }
0119
0120
0121
0122
0123
0124
0125
0126
0127
0128 template<typename OtherDerived>
0129 EIGEN_DEVICE_FUNC
0130 EIGEN_STRONG_INLINE const CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>
0131 cwiseQuotient(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const
0132 {
0133 return CwiseBinaryOp<internal::scalar_quotient_op<Scalar>, const Derived, const OtherDerived>(derived(), other.derived());
0134 }
0135
0136 typedef CwiseBinaryOp<internal::scalar_cmp_op<Scalar,Scalar,internal::cmp_EQ>, const Derived, const ConstantReturnType> CwiseScalarEqualReturnType;
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146
0147 EIGEN_DEVICE_FUNC
0148 inline const CwiseScalarEqualReturnType
0149 cwiseEqual(const Scalar& s) const
0150 {
0151 return CwiseScalarEqualReturnType(derived(), Derived::Constant(rows(), cols(), s), internal::scalar_cmp_op<Scalar,Scalar,internal::cmp_EQ>());
0152 }