ArrayCwiseUnaryOps.h
Go to the documentation of this file.
1 
2 
3 typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> AbsReturnType;
4 typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> ArgReturnType;
5 typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> Abs2ReturnType;
6 typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> SqrtReturnType;
7 typedef CwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived> RsqrtReturnType;
8 typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> SignReturnType;
9 typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> InverseReturnType;
10 typedef CwiseUnaryOp<internal::scalar_boolean_not_op<Scalar>, const Derived> BooleanNotReturnType;
11 
12 typedef CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> ExpReturnType;
13 typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> LogReturnType;
14 typedef CwiseUnaryOp<internal::scalar_log1p_op<Scalar>, const Derived> Log1pReturnType;
15 typedef CwiseUnaryOp<internal::scalar_log10_op<Scalar>, const Derived> Log10ReturnType;
16 typedef CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> CosReturnType;
17 typedef CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> SinReturnType;
18 typedef CwiseUnaryOp<internal::scalar_tan_op<Scalar>, const Derived> TanReturnType;
19 typedef CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> AcosReturnType;
20 typedef CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> AsinReturnType;
21 typedef CwiseUnaryOp<internal::scalar_atan_op<Scalar>, const Derived> AtanReturnType;
22 typedef CwiseUnaryOp<internal::scalar_tanh_op<Scalar>, const Derived> TanhReturnType;
23 typedef CwiseUnaryOp<internal::scalar_sinh_op<Scalar>, const Derived> SinhReturnType;
24 typedef CwiseUnaryOp<internal::scalar_cosh_op<Scalar>, const Derived> CoshReturnType;
25 typedef CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> SquareReturnType;
26 typedef CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> CubeReturnType;
27 typedef CwiseUnaryOp<internal::scalar_round_op<Scalar>, const Derived> RoundReturnType;
28 typedef CwiseUnaryOp<internal::scalar_floor_op<Scalar>, const Derived> FloorReturnType;
29 typedef CwiseUnaryOp<internal::scalar_ceil_op<Scalar>, const Derived> CeilReturnType;
30 typedef CwiseUnaryOp<internal::scalar_isnan_op<Scalar>, const Derived> IsNaNReturnType;
31 typedef CwiseUnaryOp<internal::scalar_isinf_op<Scalar>, const Derived> IsInfReturnType;
32 typedef CwiseUnaryOp<internal::scalar_isfinite_op<Scalar>, const Derived> IsFiniteReturnType;
33 
41 EIGEN_DEVICE_FUNC
43 abs() const
44 {
45  return AbsReturnType(derived());
46 }
47 
55 EIGEN_DEVICE_FUNC
57 arg() const
58 {
59  return ArgReturnType(derived());
60 }
61 
69 EIGEN_DEVICE_FUNC
71 abs2() const
72 {
73  return Abs2ReturnType(derived());
74 }
75 
86 EIGEN_DEVICE_FUNC
87 inline const ExpReturnType
88 exp() const
89 {
90  return ExpReturnType(derived());
91 }
92 
103 EIGEN_DEVICE_FUNC
104 inline const LogReturnType
105 log() const
106 {
107  return LogReturnType(derived());
108 }
109 
117 EIGEN_DEVICE_FUNC
118 inline const Log1pReturnType
119 log1p() const
120 {
121  return Log1pReturnType(derived());
122 }
123 
133 EIGEN_DEVICE_FUNC
134 inline const Log10ReturnType
135 log10() const
136 {
137  return Log10ReturnType(derived());
138 }
139 
150 EIGEN_DEVICE_FUNC
151 inline const SqrtReturnType
152 sqrt() const
153 {
154  return SqrtReturnType(derived());
155 }
156 
166 EIGEN_DEVICE_FUNC
167 inline const RsqrtReturnType
168 rsqrt() const
169 {
170  return RsqrtReturnType(derived());
171 }
172 
182 EIGEN_DEVICE_FUNC
183 inline const SignReturnType
184 sign() const
185 {
186  return SignReturnType(derived());
187 }
188 
189 
200 EIGEN_DEVICE_FUNC
201 inline const CosReturnType
202 cos() const
203 {
204  return CosReturnType(derived());
205 }
206 
207 
218 EIGEN_DEVICE_FUNC
219 inline const SinReturnType
220 sin() const
221 {
222  return SinReturnType(derived());
223 }
224 
232 EIGEN_DEVICE_FUNC
233 inline const TanReturnType
234 tan() const
235 {
236  return TanReturnType(derived());
237 }
238 
246 EIGEN_DEVICE_FUNC
247 inline const AtanReturnType
248 atan() const
249 {
250  return AtanReturnType(derived());
251 }
252 
260 EIGEN_DEVICE_FUNC
261 inline const AcosReturnType
262 acos() const
263 {
264  return AcosReturnType(derived());
265 }
266 
274 EIGEN_DEVICE_FUNC
275 inline const AsinReturnType
276 asin() const
277 {
278  return AsinReturnType(derived());
279 }
280 
288 EIGEN_DEVICE_FUNC
289 inline const TanhReturnType
290 tanh() const
291 {
292  return TanhReturnType(derived());
293 }
294 
302 EIGEN_DEVICE_FUNC
303 inline const SinhReturnType
304 sinh() const
305 {
306  return SinhReturnType(derived());
307 }
308 
316 EIGEN_DEVICE_FUNC
317 inline const CoshReturnType
318 cosh() const
319 {
320  return CoshReturnType(derived());
321 }
322 
330 EIGEN_DEVICE_FUNC
331 inline const InverseReturnType
332 inverse() const
333 {
334  return InverseReturnType(derived());
335 }
336 
344 EIGEN_DEVICE_FUNC
345 inline const SquareReturnType
346 square() const
347 {
348  return SquareReturnType(derived());
349 }
350 
358 EIGEN_DEVICE_FUNC
359 inline const CubeReturnType
360 cube() const
361 {
362  return CubeReturnType(derived());
363 }
364 
372 EIGEN_DEVICE_FUNC
373 inline const RoundReturnType
374 round() const
375 {
376  return RoundReturnType(derived());
377 }
378 
386 EIGEN_DEVICE_FUNC
387 inline const FloorReturnType
388 floor() const
389 {
390  return FloorReturnType(derived());
391 }
392 
400 EIGEN_DEVICE_FUNC
401 inline const CeilReturnType
402 ceil() const
403 {
404  return CeilReturnType(derived());
405 }
406 
414 EIGEN_DEVICE_FUNC
415 inline const IsNaNReturnType
416 isNaN() const
417 {
418  return IsNaNReturnType(derived());
419 }
420 
428 EIGEN_DEVICE_FUNC
429 inline const IsInfReturnType
430 isInf() const
431 {
432  return IsInfReturnType(derived());
433 }
434 
442 EIGEN_DEVICE_FUNC
443 inline const IsFiniteReturnType
444 isFinite() const
445 {
446  return IsFiniteReturnType(derived());
447 }
448 
458 EIGEN_DEVICE_FUNC
459 inline const BooleanNotReturnType
460 operator!() const
461 {
463  THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
464  return BooleanNotReturnType(derived());
465 }
466 
467 
468 // --- SpecialFunctions module ---
469 
470 typedef CwiseUnaryOp<internal::scalar_lgamma_op<Scalar>, const Derived> LgammaReturnType;
471 typedef CwiseUnaryOp<internal::scalar_digamma_op<Scalar>, const Derived> DigammaReturnType;
472 typedef CwiseUnaryOp<internal::scalar_erf_op<Scalar>, const Derived> ErfReturnType;
473 typedef CwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived> ErfcReturnType;
474 
488 EIGEN_DEVICE_FUNC
489 inline const LgammaReturnType
490 lgamma() const
491 {
492  return LgammaReturnType(derived());
493 }
494 
505 EIGEN_DEVICE_FUNC
506 inline const DigammaReturnType
507 digamma() const
508 {
509  return DigammaReturnType(derived());
510 }
511 
526 EIGEN_DEVICE_FUNC
527 inline const ErfReturnType
528 erf() const
529 {
530  return ErfReturnType(derived());
531 }
532 
547 EIGEN_DEVICE_FUNC
548 inline const ErfcReturnType
549 erfc() const
550 {
551  return ErfcReturnType(derived());
552 }
CwiseUnaryOp< internal::scalar_digamma_op< Scalar >, const Derived > DigammaReturnType
#define EIGEN_STRONG_INLINE
Definition: Macros.h:494
CwiseUnaryOp< internal::scalar_sinh_op< Scalar >, const Derived > SinhReturnType
CwiseUnaryOp< internal::scalar_exp_op< Scalar >, const Derived > ExpReturnType
CwiseUnaryOp< internal::scalar_cos_op< Scalar >, const Derived > CosReturnType
CwiseUnaryOp< internal::scalar_acos_op< Scalar >, const Derived > AcosReturnType
EIGEN_DEVICE_FUNC const ErfReturnType erf() const
EIGEN_DEVICE_FUNC const ExpReturnType exp() const
CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const Derived > AbsReturnType
EIGEN_DEVICE_FUNC const TanhReturnType tanh() const
EIGEN_DEVICE_FUNC const LogReturnType log() const
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt() const
EIGEN_DEVICE_FUNC const CoshReturnType cosh() const
CwiseUnaryOp< internal::scalar_atan_op< Scalar >, const Derived > AtanReturnType
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:124
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const AbsReturnType abs() const
CwiseUnaryOp< internal::scalar_asin_op< Scalar >, const Derived > AsinReturnType
CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const Derived > SqrtReturnType
CwiseUnaryOp< internal::scalar_cube_op< Scalar >, const Derived > CubeReturnType
CwiseUnaryOp< internal::scalar_boolean_not_op< Scalar >, const Derived > BooleanNotReturnType
EIGEN_DEVICE_FUNC const RoundReturnType round() const
CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const Derived > Abs2ReturnType
EIGEN_DEVICE_FUNC const CosReturnType cos() const
EIGEN_DEVICE_FUNC const CeilReturnType ceil() const
EIGEN_DEVICE_FUNC const SignReturnType sign() const
EIGEN_DEVICE_FUNC const Log1pReturnType log1p() const
EIGEN_DEVICE_FUNC const SinhReturnType sinh() const
CwiseUnaryOp< internal::scalar_tan_op< Scalar >, const Derived > TanReturnType
CwiseUnaryOp< internal::scalar_erf_op< Scalar >, const Derived > ErfReturnType
EIGEN_DEVICE_FUNC const IsInfReturnType isInf() const
EIGEN_DEVICE_FUNC const BooleanNotReturnType operator!() const
EIGEN_DEVICE_FUNC const AtanReturnType atan() const
CwiseUnaryOp< internal::scalar_square_op< Scalar >, const Derived > SquareReturnType
CwiseUnaryOp< internal::scalar_erfc_op< Scalar >, const Derived > ErfcReturnType
EIGEN_DEVICE_FUNC const TanReturnType tan() const
CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const Derived > InverseReturnType
CwiseUnaryOp< internal::scalar_isfinite_op< Scalar >, const Derived > IsFiniteReturnType
CwiseUnaryOp< internal::scalar_tanh_op< Scalar >, const Derived > TanhReturnType
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Abs2ReturnType abs2() const
EIGEN_DEVICE_FUNC const ErfcReturnType erfc() const
CwiseUnaryOp< internal::scalar_sign_op< Scalar >, const Derived > SignReturnType
CwiseUnaryOp< internal::scalar_round_op< Scalar >, const Derived > RoundReturnType
EIGEN_DEVICE_FUNC const AcosReturnType acos() const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg() const
CwiseUnaryOp< internal::scalar_sin_op< Scalar >, const Derived > SinReturnType
EIGEN_DEVICE_FUNC const CubeReturnType cube() const
EIGEN_DEVICE_FUNC const FloorReturnType floor() const
CwiseUnaryOp< internal::scalar_arg_op< Scalar >, const Derived > ArgReturnType
CwiseUnaryOp< internal::scalar_log_op< Scalar >, const Derived > LogReturnType
CwiseUnaryOp< internal::scalar_log10_op< Scalar >, const Derived > Log10ReturnType
CwiseUnaryOp< internal::scalar_floor_op< Scalar >, const Derived > FloorReturnType
CwiseUnaryOp< internal::scalar_lgamma_op< Scalar >, const Derived > LgammaReturnType
EIGEN_DEVICE_FUNC const Log10ReturnType log10() const
CwiseUnaryOp< internal::scalar_cosh_op< Scalar >, const Derived > CoshReturnType
EIGEN_DEVICE_FUNC const IsNaNReturnType isNaN() const
CwiseUnaryOp< internal::scalar_ceil_op< Scalar >, const Derived > CeilReturnType
EIGEN_DEVICE_FUNC const SinReturnType sin() const
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:55
CwiseUnaryOp< internal::scalar_isnan_op< Scalar >, const Derived > IsNaNReturnType
CwiseUnaryOp< internal::scalar_isinf_op< Scalar >, const Derived > IsInfReturnType
EIGEN_DEVICE_FUNC const DigammaReturnType digamma() const
EIGEN_DEVICE_FUNC const InverseReturnType inverse() const
EIGEN_DEVICE_FUNC const RsqrtReturnType rsqrt() const
EIGEN_DEVICE_FUNC const AsinReturnType asin() const
CwiseUnaryOp< internal::scalar_rsqrt_op< Scalar >, const Derived > RsqrtReturnType
EIGEN_DEVICE_FUNC const IsFiniteReturnType isFinite() const
EIGEN_DEVICE_FUNC const SquareReturnType square() const
CwiseUnaryOp< internal::scalar_log1p_op< Scalar >, const Derived > Log1pReturnType
EIGEN_DEVICE_FUNC const LgammaReturnType lgamma() const


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:41:38