MOAB  4.9.3pre
ArrayCwiseUnaryOps.h
Go to the documentation of this file.
00001 
00002 
00003 typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> AbsReturnType;
00004 typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> ArgReturnType;
00005 typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> Abs2ReturnType;
00006 typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> SqrtReturnType;
00007 typedef CwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived> RsqrtReturnType;
00008 typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> SignReturnType;
00009 typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> InverseReturnType;
00010 typedef CwiseUnaryOp<internal::scalar_boolean_not_op<Scalar>, const Derived> BooleanNotReturnType;
00011 
00012 typedef CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> ExpReturnType;
00013 typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> LogReturnType;
00014 typedef CwiseUnaryOp<internal::scalar_log10_op<Scalar>, const Derived> Log10ReturnType;
00015 typedef CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> CosReturnType;
00016 typedef CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> SinReturnType;
00017 typedef CwiseUnaryOp<internal::scalar_tan_op<Scalar>, const Derived> TanReturnType;
00018 typedef CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> AcosReturnType;
00019 typedef CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> AsinReturnType;
00020 typedef CwiseUnaryOp<internal::scalar_atan_op<Scalar>, const Derived> AtanReturnType;
00021 typedef CwiseUnaryOp<internal::scalar_tanh_op<Scalar>, const Derived> TanhReturnType;
00022 typedef CwiseUnaryOp<internal::scalar_sinh_op<Scalar>, const Derived> SinhReturnType;
00023 typedef CwiseUnaryOp<internal::scalar_cosh_op<Scalar>, const Derived> CoshReturnType;
00024 typedef CwiseUnaryOp<internal::scalar_lgamma_op<Scalar>, const Derived> LgammaReturnType;
00025 typedef CwiseUnaryOp<internal::scalar_digamma_op<Scalar>, const Derived> DigammaReturnType;
00026 typedef CwiseUnaryOp<internal::scalar_erf_op<Scalar>, const Derived> ErfReturnType;
00027 typedef CwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived> ErfcReturnType;
00028 typedef CwiseUnaryOp<internal::scalar_pow_op<Scalar>, const Derived> PowReturnType;
00029 typedef CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> SquareReturnType;
00030 typedef CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> CubeReturnType;
00031 typedef CwiseUnaryOp<internal::scalar_round_op<Scalar>, const Derived> RoundReturnType;
00032 typedef CwiseUnaryOp<internal::scalar_floor_op<Scalar>, const Derived> FloorReturnType;
00033 typedef CwiseUnaryOp<internal::scalar_ceil_op<Scalar>, const Derived> CeilReturnType;
00034 typedef CwiseUnaryOp<internal::scalar_isnan_op<Scalar>, const Derived> IsNaNReturnType;
00035 typedef CwiseUnaryOp<internal::scalar_isinf_op<Scalar>, const Derived> IsInfReturnType;
00036 typedef CwiseUnaryOp<internal::scalar_isfinite_op<Scalar>, const Derived> IsFiniteReturnType;
00037 
00045 EIGEN_DEVICE_FUNC
00046 EIGEN_STRONG_INLINE const AbsReturnType
00047 abs() const
00048 {
00049   return AbsReturnType(derived());
00050 }
00051 
00059 EIGEN_DEVICE_FUNC
00060 EIGEN_STRONG_INLINE const ArgReturnType
00061 arg() const
00062 {
00063   return ArgReturnType(derived());
00064 }
00065 
00073 EIGEN_DEVICE_FUNC
00074 EIGEN_STRONG_INLINE const Abs2ReturnType
00075 abs2() const
00076 {
00077   return Abs2ReturnType(derived());
00078 }
00079 
00090 EIGEN_DEVICE_FUNC
00091 inline const ExpReturnType
00092 exp() const
00093 {
00094   return ExpReturnType(derived());
00095 }
00096 
00107 EIGEN_DEVICE_FUNC
00108 inline const LogReturnType
00109 log() const
00110 {
00111   return LogReturnType(derived());
00112 }
00113 
00123 EIGEN_DEVICE_FUNC
00124 inline const Log10ReturnType
00125 log10() const
00126 {
00127   return Log10ReturnType(derived());
00128 }
00129 
00140 EIGEN_DEVICE_FUNC
00141 inline const SqrtReturnType
00142 sqrt() const
00143 {
00144   return SqrtReturnType(derived());
00145 }
00146 
00156 EIGEN_DEVICE_FUNC
00157 inline const RsqrtReturnType
00158 rsqrt() const
00159 {
00160   return RsqrtReturnType(derived());
00161 }
00162 
00172 EIGEN_DEVICE_FUNC
00173 inline const SignReturnType
00174 sign() const
00175 {
00176   return SignReturnType(derived());
00177 }
00178 
00179 
00190 EIGEN_DEVICE_FUNC
00191 inline const CosReturnType
00192 cos() const
00193 {
00194   return CosReturnType(derived());
00195 }
00196 
00197 
00208 EIGEN_DEVICE_FUNC
00209 inline const SinReturnType
00210 sin() const
00211 {
00212   return SinReturnType(derived());
00213 }
00214 
00222 EIGEN_DEVICE_FUNC
00223 inline const TanReturnType
00224 tan() const
00225 {
00226   return TanReturnType(derived());
00227 }
00228 
00236 inline const AtanReturnType
00237 atan() const
00238 {
00239   return AtanReturnType(derived());
00240 }
00241 
00249 EIGEN_DEVICE_FUNC
00250 inline const AcosReturnType
00251 acos() const
00252 {
00253   return AcosReturnType(derived());
00254 }
00255 
00263 EIGEN_DEVICE_FUNC
00264 inline const AsinReturnType
00265 asin() const
00266 {
00267   return AsinReturnType(derived());
00268 }
00269 
00277 inline const TanhReturnType
00278 tanh() const
00279 {
00280   return TanhReturnType(derived());
00281 }
00282 
00290 inline const SinhReturnType
00291 sinh() const
00292 {
00293   return SinhReturnType(derived());
00294 }
00295 
00303 inline const CoshReturnType
00304 cosh() const
00305 {
00306   return CoshReturnType(derived());
00307 }
00308 
00316 inline const LgammaReturnType
00317 lgamma() const
00318 {
00319   return LgammaReturnType(derived());
00320 }
00321 
00326 inline const DigammaReturnType
00327 digamma() const
00328 {
00329   return DigammaReturnType(derived());
00330 }
00331 
00340 inline const ErfReturnType
00341 erf() const
00342 {
00343   return ErfReturnType(derived());
00344 }
00345 
00354 inline const ErfcReturnType
00355 erfc() const
00356 {
00357   return ErfcReturnType(derived());
00358 }
00359 
00370 EIGEN_DEVICE_FUNC
00371 inline const PowReturnType
00372 pow(const Scalar& exponent) const
00373 {
00374   return PowReturnType(derived(), internal::scalar_pow_op<Scalar>(exponent));
00375 }
00376 
00377 
00385 EIGEN_DEVICE_FUNC
00386 inline const InverseReturnType
00387 inverse() const
00388 {
00389   return InverseReturnType(derived());
00390 }
00391 
00399 EIGEN_DEVICE_FUNC
00400 inline const SquareReturnType
00401 square() const
00402 {
00403   return SquareReturnType(derived());
00404 }
00405 
00413 EIGEN_DEVICE_FUNC
00414 inline const CubeReturnType
00415 cube() const
00416 {
00417   return CubeReturnType(derived());
00418 }
00419 
00427 inline const RoundReturnType
00428 round() const
00429 {
00430   return RoundReturnType(derived());
00431 }
00432 
00440 inline const FloorReturnType
00441 floor() const
00442 {
00443   return FloorReturnType(derived());
00444 }
00445 
00453 inline const CeilReturnType
00454 ceil() const
00455 {
00456   return CeilReturnType(derived());
00457 }
00458 
00466 inline const IsNaNReturnType
00467 isNaN() const
00468 {
00469   return IsNaNReturnType(derived());
00470 }
00471 
00479 inline const IsInfReturnType
00480 isInf() const
00481 {
00482   return IsInfReturnType(derived());
00483 }
00484 
00492 inline const IsFiniteReturnType
00493 isFinite() const
00494 {
00495   return IsFiniteReturnType(derived());
00496 }
00497 
00507 EIGEN_DEVICE_FUNC
00508 inline const BooleanNotReturnType
00509 operator!() const
00510 {
00511   EIGEN_STATIC_ASSERT((internal::is_same<bool,Scalar>::value),
00512                       THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
00513   return BooleanNotReturnType(derived());
00514 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines