Medial Code Documentation
Loading...
Searching...
No Matches
ArrayCwiseUnaryOps.h
1
2
3typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> AbsReturnType;
4typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> ArgReturnType;
5typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> Abs2ReturnType;
6typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> SqrtReturnType;
7typedef CwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived> RsqrtReturnType;
8typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> SignReturnType;
9typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> InverseReturnType;
10typedef CwiseUnaryOp<internal::scalar_boolean_not_op<Scalar>, const Derived> BooleanNotReturnType;
11
12typedef CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> ExpReturnType;
13typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> LogReturnType;
14typedef CwiseUnaryOp<internal::scalar_log10_op<Scalar>, const Derived> Log10ReturnType;
15typedef CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> CosReturnType;
16typedef CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> SinReturnType;
17typedef CwiseUnaryOp<internal::scalar_tan_op<Scalar>, const Derived> TanReturnType;
18typedef CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> AcosReturnType;
19typedef CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> AsinReturnType;
20typedef CwiseUnaryOp<internal::scalar_atan_op<Scalar>, const Derived> AtanReturnType;
21typedef CwiseUnaryOp<internal::scalar_tanh_op<Scalar>, const Derived> TanhReturnType;
22typedef CwiseUnaryOp<internal::scalar_sinh_op<Scalar>, const Derived> SinhReturnType;
23typedef CwiseUnaryOp<internal::scalar_cosh_op<Scalar>, const Derived> CoshReturnType;
24typedef CwiseUnaryOp<internal::scalar_lgamma_op<Scalar>, const Derived> LgammaReturnType;
25typedef CwiseUnaryOp<internal::scalar_erf_op<Scalar>, const Derived> ErfReturnType;
26typedef CwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived> ErfcReturnType;
27typedef CwiseUnaryOp<internal::scalar_pow_op<Scalar>, const Derived> PowReturnType;
28typedef CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> SquareReturnType;
29typedef CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> CubeReturnType;
30typedef CwiseUnaryOp<internal::scalar_round_op<Scalar>, const Derived> RoundReturnType;
31typedef CwiseUnaryOp<internal::scalar_floor_op<Scalar>, const Derived> FloorReturnType;
32typedef CwiseUnaryOp<internal::scalar_ceil_op<Scalar>, const Derived> CeilReturnType;
33typedef CwiseUnaryOp<internal::scalar_isnan_op<Scalar>, const Derived> IsNaNReturnType;
34typedef CwiseUnaryOp<internal::scalar_isinf_op<Scalar>, const Derived> IsInfReturnType;
35typedef CwiseUnaryOp<internal::scalar_isfinite_op<Scalar>, const Derived> IsFiniteReturnType;
36
44EIGEN_DEVICE_FUNC
45EIGEN_STRONG_INLINE const AbsReturnType
46abs() const
47{
48 return AbsReturnType(derived());
49}
50
58EIGEN_DEVICE_FUNC
59EIGEN_STRONG_INLINE const ArgReturnType
60arg() const
61{
62 return ArgReturnType(derived());
63}
64
72EIGEN_DEVICE_FUNC
73EIGEN_STRONG_INLINE const Abs2ReturnType
74abs2() const
75{
76 return Abs2ReturnType(derived());
77}
78
89EIGEN_DEVICE_FUNC
90inline const ExpReturnType
91exp() const
92{
93 return ExpReturnType(derived());
94}
95
106EIGEN_DEVICE_FUNC
107inline const LogReturnType
108log() const
109{
110 return LogReturnType(derived());
111}
112
122EIGEN_DEVICE_FUNC
123inline const Log10ReturnType
124log10() const
125{
126 return Log10ReturnType(derived());
127}
128
139EIGEN_DEVICE_FUNC
140inline const SqrtReturnType
141sqrt() const
142{
143 return SqrtReturnType(derived());
144}
145
155EIGEN_DEVICE_FUNC
156inline const RsqrtReturnType
157rsqrt() const
158{
159 return RsqrtReturnType(derived());
160}
161
171EIGEN_DEVICE_FUNC
172inline const SignReturnType
173sign() const
174{
175 return SignReturnType(derived());
176}
177
178
189EIGEN_DEVICE_FUNC
190inline const CosReturnType
191cos() const
192{
193 return CosReturnType(derived());
194}
195
196
207EIGEN_DEVICE_FUNC
208inline const SinReturnType
209sin() const
210{
211 return SinReturnType(derived());
212}
213
221EIGEN_DEVICE_FUNC
222inline const TanReturnType
223tan() const
224{
225 return TanReturnType(derived());
226}
227
235inline const AtanReturnType
236atan() const
237{
238 return AtanReturnType(derived());
239}
240
248EIGEN_DEVICE_FUNC
249inline const AcosReturnType
250acos() const
251{
252 return AcosReturnType(derived());
253}
254
262EIGEN_DEVICE_FUNC
263inline const AsinReturnType
264asin() const
265{
266 return AsinReturnType(derived());
267}
268
276inline const TanhReturnType
277tanh() const
278{
279 return TanhReturnType(derived());
280}
281
289inline const SinhReturnType
290sinh() const
291{
292 return SinhReturnType(derived());
293}
294
302inline const CoshReturnType
303cosh() const
304{
305 return CoshReturnType(derived());
306}
307
315inline const LgammaReturnType
316lgamma() const
317{
318 return LgammaReturnType(derived());
319}
320
329inline const ErfReturnType
330erf() const
331{
332 return ErfReturnType(derived());
333}
334
343inline const ErfcReturnType
344erfc() const
345{
346 return ErfcReturnType(derived());
347}
348
359EIGEN_DEVICE_FUNC
360inline const PowReturnType
361pow(const Scalar& exponent) const
362{
363 return PowReturnType(derived(), internal::scalar_pow_op<Scalar>(exponent));
364}
365
366
374EIGEN_DEVICE_FUNC
375inline const InverseReturnType
376inverse() const
377{
378 return InverseReturnType(derived());
379}
380
388EIGEN_DEVICE_FUNC
389inline const SquareReturnType
390square() const
391{
392 return SquareReturnType(derived());
393}
394
402EIGEN_DEVICE_FUNC
403inline const CubeReturnType
404cube() const
405{
406 return CubeReturnType(derived());
407}
408
416inline const RoundReturnType
417round() const
418{
419 return RoundReturnType(derived());
420}
421
429inline const FloorReturnType
430floor() const
431{
432 return FloorReturnType(derived());
433}
434
442inline const CeilReturnType
443ceil() const
444{
445 return CeilReturnType(derived());
446}
447
455inline const IsNaNReturnType
456isNaN() const
457{
458 return IsNaNReturnType(derived());
459}
460
468inline const IsInfReturnType
469isInf() const
470{
471 return IsInfReturnType(derived());
472}
473
481inline const IsFiniteReturnType
482isFinite() const
483{
484 return IsFiniteReturnType(derived());
485}
486
496EIGEN_DEVICE_FUNC
497inline const BooleanNotReturnType
498operator!() const
499{
500 EIGEN_STATIC_ASSERT((internal::is_same<bool,Scalar>::value),
501 THIS_METHOD_IS_ONLY_FOR_EXPRESSIONS_OF_BOOL);
502 return BooleanNotReturnType(derived());
503}