Rosetta 3.3
|
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <limits>
Classes | |
struct | ObjexxFCL::NearestSelector< R, T, bool > |
Nearest function selector class for R non-integer or T integer. More... | |
struct | ObjexxFCL::NearestSelector< R, T, true > |
Nearest function selector class for R integer and T non-integer. More... | |
struct | ObjexxFCL::ModSelector< T, bool > |
Mod function selector class for non-integer types. More... | |
struct | ObjexxFCL::ModSelector< T, true > |
Mod function selector class for integer types. More... | |
struct | ObjexxFCL::ModuloSelector< T, bool > |
Modulo function selector class for non-integer types. More... | |
struct | ObjexxFCL::ModuloSelector< T, true > |
Modulo function selector class for integer types. More... | |
struct | ObjexxFCL::RemainderSelector< T, bool > |
Remainder function selector class for non-integer types. More... | |
struct | ObjexxFCL::RemainderSelector< T, true > |
Remainder function selector class for integer types. More... | |
struct | ObjexxFCL::FastRemainderSelector< T, bool > |
Fast remainder function selector class for non-integer types. More... | |
struct | ObjexxFCL::FastRemainderSelector< T, true > |
Fast remainder function selector class for integer types. More... | |
Namespaces | |
namespace | ObjexxFCL |
Objexx Fortran Compatibility Library. | |
namespace | ObjexxFCL::bit |
Typedefs | |
typedef ptrdiff_t | ObjexxFCL::SSize |
Functions | |
short int | ObjexxFCL::min (short int const a, short int const b) |
min( short int, short int ) | |
int | ObjexxFCL::min (int const a, int const b) |
min( int, int ) | |
long int | ObjexxFCL::min (long int const a, long int const b) |
min( long int, long int ) | |
unsigned short int | ObjexxFCL::min (unsigned short int const a, unsigned short int const b) |
min( unsigned short int, unsigned short int ) | |
unsigned int | ObjexxFCL::min (unsigned int const a, unsigned int const b) |
min( unsigned int, unsigned int ) | |
unsigned long int | ObjexxFCL::min (unsigned long int const a, unsigned long int const b) |
min( unsigned long int, unsigned long int ) | |
float | ObjexxFCL::min (float const a, float const b) |
min( float, float ) | |
double | ObjexxFCL::min (double const a, double const b) |
min( double, double ) | |
long double | ObjexxFCL::min (long double const a, long double const b) |
min( long double, long double ) | |
template<typename T > | |
T const & | ObjexxFCL::min (T const &a, T const &b, T const &c) |
min( a, b, c ) | |
template<typename T > | |
T const & | ObjexxFCL::min (T const &a, T const &b, T const &c, T const &d) |
min( a, b, c, d ) | |
template<typename T > | |
T const & | ObjexxFCL::min (T const &a, T const &b, T const &c, T const &d, T const &e) |
min( a, b, c, d, e ) | |
template<typename T > | |
T const & | ObjexxFCL::min (T const &a, T const &b, T const &c, T const &d, T const &e, T const &f) |
min( a, b, c, d, e, f ) | |
short int | ObjexxFCL::max (short int const a, short int const b) |
max( short int, short int ) | |
int | ObjexxFCL::max (int const a, int const b) |
max( int, int ) | |
long int | ObjexxFCL::max (long int const a, long int const b) |
max( long int, long int ) | |
unsigned short int | ObjexxFCL::max (unsigned short int const a, unsigned short int const b) |
max( unsigned short int, unsigned short int ) | |
unsigned int | ObjexxFCL::max (unsigned int const a, unsigned int const b) |
max( unsigned int, unsigned int ) | |
unsigned long int | ObjexxFCL::max (unsigned long int const a, unsigned long int const b) |
max( unsigned long int, unsigned long int ) | |
float | ObjexxFCL::max (float const a, float const b) |
max( float, float ) | |
double | ObjexxFCL::max (double const a, double const b) |
max( double, double ) | |
long double | ObjexxFCL::max (long double const a, long double const b) |
max( long double, long double ) | |
template<typename T > | |
T const & | ObjexxFCL::max (T const &a, T const &b, T const &c) |
max( a, b, c ) | |
template<typename T > | |
T const & | ObjexxFCL::max (T const &a, T const &b, T const &c, T const &d) |
max( a, b, c, d ) | |
template<typename T > | |
T const & | ObjexxFCL::max (T const &a, T const &b, T const &c, T const &d, T const &e) |
max( a, b, c, d, e ) | |
template<typename T > | |
T const & | ObjexxFCL::max (T const &a, T const &b, T const &c, T const &d, T const &e, T const &f) |
max( a, b, c, d, e, f ) | |
template<typename T > | |
T | ObjexxFCL::abs (T const &x) |
abs( x ) == | x | | |
template<typename T > | |
T | ObjexxFCL::square (T const &x) |
square( x ) == x^2 | |
template<typename T > | |
T | ObjexxFCL::cube (T const &x) |
cube( x ) == x^3 | |
template<typename T > | |
int | ObjexxFCL::sign (T const &x) |
sign( x ) | |
template<typename X , typename Y > | |
X | ObjexxFCL::sign (X const &x, Y const &y) |
Sign Transfer from Second Argument to First Argument. | |
template<typename R , typename T > | |
R | ObjexxFCL::nearest (T const &x) |
nearest< R >( x ): Nearest R | |
template<typename T > | |
std::size_t | ObjexxFCL::nearest_size (T const &x) |
nearest_size( x ): Nearest std::size_t | |
template<typename T > | |
SSize | ObjexxFCL::nearest_ssize (T const &x) |
nearest_ssize( x ): Nearest SSize | |
template<typename T > | |
int | ObjexxFCL::nearest_int (T const &x) |
nearest_int( x ): Nearest int | |
template<typename T > | |
int | ObjexxFCL::nint (T const &x) |
nint( x ): Nearest int | |
template<typename T > | |
short int | ObjexxFCL::nsint (T const &x) |
nsint( x ): Nearest short int | |
template<typename T > | |
long int | ObjexxFCL::nlint (T const &x) |
nlint( x ): Nearest long int | |
template<typename T > | |
T | ObjexxFCL::mod (T const &x, T const &y) |
x(mod y) computational modulo returning magnitude < | y | and sign of x | |
float | ObjexxFCL::mod (float const &i, float const &n) |
i(mod n) : float Arguments | |
double | ObjexxFCL::mod (double const &i, double const &n) |
i(mod n) : double Arguments | |
long double | ObjexxFCL::mod (long double const &i, long double const &n) |
i(mod n) : long double Arguments | |
template<typename T > | |
T | ObjexxFCL::modulo (T const &x, T const &y) |
x(mod y) mathematical modulo returning magnitude < | y | and sign of y | |
template<typename T > | |
T | ObjexxFCL::remainder (T const &x, T const &y) |
Remainder of x with respect to division by y that is of smallest magnitude. | |
template<typename T > | |
T | ObjexxFCL::fast_remainder (T const &x, T const &y) |
Remainder of x with respect to division by y that is of smallest magnitude. | |
template<typename T , typename S > | |
T | ObjexxFCL::remainder_conversion (T const &t, S &s) |
Remainder and result of conversion to a different type. | |
template<typename T > | |
T | ObjexxFCL::gcd (T const &m, T const &n) |
Greatest Common Divisor. | |
template<typename T > | |
bool | ObjexxFCL::eq_tol (T const &x, T const &y, T const &r_tol, T const &a_tol) |
Equal within specified relative and absolute tolerances? | |
template<typename T > | |
bool | ObjexxFCL::lt_tol (T const &x, T const &y, T const &r_tol, T const &a_tol) |
Less than within specified relative and absolute tolerances? | |
template<typename T > | |
bool | ObjexxFCL::le_tol (T const &x, T const &y, T const &r_tol, T const &a_tol) |
Less than or equal within specified relative and absolute tolerances? | |
template<typename T > | |
bool | ObjexxFCL::ge_tol (T const &x, T const &y, T const &r_tol, T const &a_tol) |
Greater than or equal within specified relative and absolute tolerances? | |
template<typename T > | |
bool | ObjexxFCL::gt_tol (T const &x, T const &y, T const &r_tol, T const &a_tol) |
Greater than within specified relative and absolute tolerances? | |
template<typename T > | |
T | ObjexxFCL::bit::bit_not (T const &x) |
Bitwise Not. | |
template<typename T > | |
T | ObjexxFCL::bit::bit_and (T const &x, T const &y) |
Bitwise And. | |
template<typename T > | |
T | ObjexxFCL::bit::bit_or (T const &x, T const &y) |
Bitwise Inclusive Or. | |
template<typename T > | |
T | ObjexxFCL::bit::bit_xor (T const &x, T const &y) |
Bitwise Exclusive Or. | |
template<typename T > | |
T | ObjexxFCL::bit::bit_set (T const &x, T const &pos) |
Bit Value Set to 1. | |
template<typename T > | |
T | ObjexxFCL::bit::bit_clr (T const &x, T const &pos) |
Bit Value Set to 0. | |
template<typename T > | |
bool | ObjexxFCL::bit::bit_test (T const &x, T const &pos) |
Bit Value Test. |