real numerical constants. More...
Functions | |
| vnl_bignum | abs (vnl_bignum const &x) |
| vnl_bignum | squared_magnitude (vnl_bignum const &x) |
| vnl_bignum | sqr (vnl_bignum const &x) |
| bool | isnan (vnl_bignum const &) |
| bool | isfinite (vnl_bignum const &x) |
| vnl_decnum | abs (vnl_decnum const &x) |
| vnl_decnum | sqr (vnl_decnum const &x) |
| vnl_decnum | cube (vnl_decnum const &x) |
| vnl_decnum | squared_magnitude (vnl_decnum const &x) |
| bool | isnan (vnl_decnum const &x) |
| bool | isfinite (vnl_decnum const &x) |
| vnl_decnum | max (vnl_decnum const &x, vnl_decnum const &y) |
| vnl_decnum | min (vnl_decnum const &x, vnl_decnum const &y) |
| int | sgn (vnl_decnum x) |
| int | sgn0 (vnl_decnum x) |
| template<int N> | |
| vnl_finite_int< N > | squared_magnitude (vnl_finite_int< N > const &x) |
| template<int N> | |
| vnl_finite_int< N > | sqr (vnl_finite_int< N > const &x) |
| template<int N> | |
| bool | isnan (vnl_finite_int< N > const &) |
| template<int N> | |
| bool | isfinite (vnl_finite_int< N > const &) |
| double | angle_0_to_2pi (double angle) |
| Convert an angle to [0, 2Pi) range. More... | |
| double | angle_minuspi_to_pi (double angle) |
| Convert an angle to [-Pi, Pi) range. More... | |
| template<typename TArg > | |
| bool | isinf (TArg arg) |
| template<typename TArg > | |
| bool | isnan (TArg arg) |
| template<typename TArg > | |
| bool | isfinite (TArg arg) |
| template<typename TArg > | |
| bool | isnormal (TArg arg) |
| int | rnd_halfinttoeven (float x) |
| int | rnd_halfinttoeven (double x) |
| int | rnd_halfintup (float x) |
| int | rnd_halfintup (double x) |
| int | rnd (float x) |
| int | rnd (double x) |
| int | floor (float x) |
| int | floor (double x) |
| int | ceil (float x) |
| int | ceil (double x) |
| bool | abs (bool x) |
| unsigned char | abs (unsigned char x) |
| unsigned char | abs (signed char x) |
| unsigned char | abs (char x) |
| unsigned short | abs (short x) |
| unsigned short | abs (unsigned short x) |
| unsigned int | abs (int x) |
| unsigned int | abs (unsigned int x) |
| unsigned long | abs (long x) |
| unsigned long | abs (unsigned long x) |
| unsigned long long | abs (long long x) |
| unsigned long long | abs (unsigned long long x) |
| float | abs (float x) |
| double | abs (double x) |
| long double | abs (long double x) |
| bool | sqr (bool x) |
| int | sqr (int x) |
| unsigned int | sqr (unsigned int x) |
| long | sqr (long x) |
| unsigned long | sqr (unsigned long x) |
| long long | sqr (long long x) |
| unsigned long long | sqr (unsigned long long x) |
| float | sqr (float x) |
| double | sqr (double x) |
| bool | cube (bool x) |
| int | cube (int x) |
| unsigned int | cube (unsigned int x) |
| long | cube (long x) |
| unsigned long | cube (unsigned long x) |
| long long | cube (long long x) |
| unsigned long long | cube (unsigned long long x) |
| float | cube (float x) |
| double | cube (double x) |
| int | sgn (int x) |
| int | sgn (long x) |
| int | sgn (long long x) |
| int | sgn (float x) |
| int | sgn (double x) |
| int | sgn0 (int x) |
| int | sgn0 (long x) |
| int | sgn0 (long long x) |
| int | sgn0 (float x) |
| int | sgn0 (double x) |
| unsigned int | squared_magnitude (char x) |
| unsigned int | squared_magnitude (unsigned char x) |
| unsigned int | squared_magnitude (int x) |
| unsigned int | squared_magnitude (unsigned int x) |
| unsigned long | squared_magnitude (long x) |
| unsigned long | squared_magnitude (unsigned long x) |
| unsigned long long | squared_magnitude (long long x) |
| unsigned long long | squared_magnitude (unsigned long long x) |
| float | squared_magnitude (float x) |
| double | squared_magnitude (double x) |
| long double | squared_magnitude (long double x) |
| int | remainder_truncated (int x, int y) |
| unsigned int | remainder_truncated (unsigned int x, unsigned int y) |
| long | remainder_truncated (long x, long y) |
| unsigned long | remainder_truncated (unsigned long x, unsigned long y) |
| long long | remainder_truncated (long long x, long long y) |
| unsigned long long | remainder_truncated (unsigned long long x, unsigned long long y) |
| float | remainder_truncated (float x, float y) |
| double | remainder_truncated (double x, double y) |
| long double | remainder_truncated (long double x, long double y) |
| int | remainder_floored (int x, int y) |
| unsigned int | remainder_floored (unsigned int x, unsigned int y) |
| long | remainder_floored (long x, long y) |
| unsigned long | remainder_floored (unsigned long x, unsigned long y) |
| long long | remainder_floored (long long x, long long y) |
| unsigned long long | remainder_floored (unsigned long long x, unsigned long long y) |
| float | remainder_floored (float x, float y) |
| double | remainder_floored (double x, double y) |
| long double | remainder_floored (long double x, long double y) |
| vnl_rational | abs (vnl_rational const &x) |
| vnl_rational | squared_magnitude (vnl_rational const &x) |
| vnl_rational | sqr (vnl_rational const &x) |
| bool | isnan (vnl_rational const &) |
| bool | isfinite (vnl_rational const &x) |
| vnl_rational | squared_magnitude (std::complex< vnl_rational > const &x) |
| vnl_rational | abs (std::complex< vnl_rational > const &x) |
real numerical constants.
Strictly speaking, the static declaration of the constant variables is redundant with the implicit behavior in C++ of objects declared const as defined at: "C++98 7.1.1/6: ...Objects declared const and not explicitly declared extern have internal linkage."
Explicit use of the static keyword is used to make the code easier to understand.
| vnl_rational vnl_math::abs | ( | std::complex< vnl_rational > const & | x | ) |
Definition at line 26 of file vnl_rational_traits.cxx.
|
inline |
Definition at line 406 of file vnl_decnum.h.
|
inline |
Definition at line 432 of file vnl_bignum.h.
|
inline |
Definition at line 474 of file vnl_rational.h.
|
inline |
Definition at line 558 of file vnl_math.h.
|
inline |
Definition at line 559 of file vnl_math.h.
|
inline |
Definition at line 560 of file vnl_math.h.
|
inline |
Definition at line 561 of file vnl_math.h.
|
inline |
Definition at line 562 of file vnl_math.h.
|
inline |
Definition at line 563 of file vnl_math.h.
|
inline |
Definition at line 564 of file vnl_math.h.
|
inline |
Definition at line 565 of file vnl_math.h.
|
inline |
Definition at line 566 of file vnl_math.h.
|
inline |
Definition at line 567 of file vnl_math.h.
|
inline |
Definition at line 569 of file vnl_math.h.
|
inline |
Definition at line 570 of file vnl_math.h.
|
inline |
Definition at line 572 of file vnl_math.h.
|
inline |
Definition at line 573 of file vnl_math.h.
|
inline |
Definition at line 574 of file vnl_math.h.
| VNL_EXPORT double vnl_math::angle_0_to_2pi | ( | double | angle | ) |
Convert an angle to [0, 2Pi) range.
Definition at line 29 of file vnl_math.cxx.
| VNL_EXPORT double vnl_math::angle_minuspi_to_pi | ( | double | angle | ) |
Convert an angle to [-Pi, Pi) range.
Definition at line 42 of file vnl_math.cxx.
|
inline |
Definition at line 545 of file vnl_math.h.
|
inline |
Definition at line 550 of file vnl_math.h.
|
inline |
Definition at line 408 of file vnl_decnum.h.
|
inline |
Definition at line 590 of file vnl_math.h.
|
inline |
Definition at line 591 of file vnl_math.h.
|
inline |
Definition at line 592 of file vnl_math.h.
|
inline |
Definition at line 593 of file vnl_math.h.
|
inline |
Definition at line 594 of file vnl_math.h.
|
inline |
Definition at line 596 of file vnl_math.h.
|
inline |
Definition at line 597 of file vnl_math.h.
|
inline |
Definition at line 599 of file vnl_math.h.
|
inline |
Definition at line 600 of file vnl_math.h.
|
inline |
Definition at line 458 of file vnl_math.h.
|
inline |
Definition at line 463 of file vnl_math.h.
|
inline |
Definition at line 203 of file vnl_math.h.
|
inline |
Definition at line 411 of file vnl_decnum.h.
|
inline |
Definition at line 412 of file vnl_finite.h.
|
inline |
Definition at line 436 of file vnl_bignum.h.
|
inline |
Definition at line 478 of file vnl_rational.h.
|
inline |
Definition at line 199 of file vnl_math.h.
|
inline |
Definition at line 201 of file vnl_math.h.
|
inline |
Definition at line 407 of file vnl_finite.h.
|
inline |
Definition at line 410 of file vnl_decnum.h.
|
inline |
Definition at line 435 of file vnl_bignum.h.
|
inline |
Definition at line 477 of file vnl_rational.h.
|
inline |
Definition at line 205 of file vnl_math.h.
|
inline |
Definition at line 412 of file vnl_decnum.h.
|
inline |
Definition at line 413 of file vnl_decnum.h.
|
inline |
Definition at line 648 of file vnl_math.h.
|
inline |
Definition at line 649 of file vnl_math.h.
|
inline |
Definition at line 650 of file vnl_math.h.
|
inline |
Definition at line 651 of file vnl_math.h.
|
inline |
Definition at line 652 of file vnl_math.h.
|
inline |
Definition at line 653 of file vnl_math.h.
|
inline |
Definition at line 654 of file vnl_math.h.
|
inline |
Definition at line 655 of file vnl_math.h.
|
inline |
Definition at line 656 of file vnl_math.h.
|
inline |
Definition at line 637 of file vnl_math.h.
|
inline |
Definition at line 638 of file vnl_math.h.
|
inline |
Definition at line 639 of file vnl_math.h.
|
inline |
Definition at line 640 of file vnl_math.h.
|
inline |
Definition at line 641 of file vnl_math.h.
|
inline |
Definition at line 642 of file vnl_math.h.
|
inline |
Definition at line 643 of file vnl_math.h.
|
inline |
Definition at line 644 of file vnl_math.h.
|
inline |
Definition at line 645 of file vnl_math.h.
|
inline |
Definition at line 379 of file vnl_math.h.
|
inline |
Definition at line 380 of file vnl_math.h.
|
inline |
Definition at line 292 of file vnl_math.h.
|
inline |
Definition at line 310 of file vnl_math.h.
|
inline |
Definition at line 349 of file vnl_math.h.
|
inline |
Definition at line 355 of file vnl_math.h.
|
inline |
Definition at line 414 of file vnl_decnum.h.
|
inline |
Definition at line 603 of file vnl_math.h.
|
inline |
Definition at line 604 of file vnl_math.h.
|
inline |
Definition at line 606 of file vnl_math.h.
|
inline |
Definition at line 608 of file vnl_math.h.
|
inline |
Definition at line 609 of file vnl_math.h.
|
inline |
Definition at line 415 of file vnl_decnum.h.
|
inline |
Definition at line 612 of file vnl_math.h.
|
inline |
Definition at line 613 of file vnl_math.h.
|
inline |
Definition at line 615 of file vnl_math.h.
|
inline |
Definition at line 617 of file vnl_math.h.
|
inline |
Definition at line 618 of file vnl_math.h.
|
inline |
Definition at line 402 of file vnl_finite.h.
|
inline |
Definition at line 407 of file vnl_decnum.h.
|
inline |
Definition at line 434 of file vnl_bignum.h.
|
inline |
Definition at line 476 of file vnl_rational.h.
|
inline |
Definition at line 577 of file vnl_math.h.
|
inline |
Definition at line 578 of file vnl_math.h.
|
inline |
Definition at line 579 of file vnl_math.h.
|
inline |
Definition at line 580 of file vnl_math.h.
|
inline |
Definition at line 581 of file vnl_math.h.
|
inline |
Definition at line 583 of file vnl_math.h.
|
inline |
Definition at line 584 of file vnl_math.h.
|
inline |
Definition at line 586 of file vnl_math.h.
|
inline |
Definition at line 587 of file vnl_math.h.
| vnl_rational vnl_math::squared_magnitude | ( | std::complex< vnl_rational > const & | x | ) |
Definition at line 21 of file vnl_rational_traits.cxx.
|
inline |
Definition at line 397 of file vnl_finite.h.
|
inline |
Definition at line 409 of file vnl_decnum.h.
|
inline |
Definition at line 433 of file vnl_bignum.h.
|
inline |
Definition at line 475 of file vnl_rational.h.
|
inline |
Definition at line 621 of file vnl_math.h.
|
inline |
Definition at line 622 of file vnl_math.h.
|
inline |
Definition at line 623 of file vnl_math.h.
|
inline |
Definition at line 624 of file vnl_math.h.
|
inline |
Definition at line 625 of file vnl_math.h.
|
inline |
Definition at line 626 of file vnl_math.h.
|
inline |
Definition at line 628 of file vnl_math.h.
|
inline |
Definition at line 629 of file vnl_math.h.
|
inline |
Definition at line 631 of file vnl_math.h.
|
inline |
Definition at line 632 of file vnl_math.h.
|
inline |
Definition at line 633 of file vnl_math.h.
1.8.15