Loading...
Searching...
No Matches
BasicMath_module
casa package (libcasa_casa)

More...

## Topics

| BasicMath_module_internal_classes
| Internal BasicMath_module classes and functions.

## Classes

struct | casacore::ConvertScalar_global_functions_Scalar_conversion
| More...
class | casacore::Functional< Domain, Range >
| More...
struct | casacore::Math_global_functions_Math_interface_for_casacore
| More...
class | casacore::Primes
| More...
class | casacore::RNG
| More...
class | casacore::ACG
| Additive number generator. More...
class | casacore::MLCG
| Multiplicative linear congruential generator. More...
class | casacore::Random
| Base class for random number distributions. More...
class | casacore::Binomial
| Binomial distribution. More...
class | casacore::DiscreteUniform
| Discrete uniform distribution. More...
class | casacore::Erlang
| Erlang distribution. More...
class | casacore::Geometric
| Discrete geometric distribution. More...
class | casacore::HyperGeometric
| Hypergeometric distribution. More...
class | casacore::Normal
| Normal or Gaussian distribution. More...
class | casacore::LogNormal
| Logarithmic normal distribution. More...
class | casacore::NegativeExpntl
| Negative exponential distribution. More...
class | casacore::Poisson
| Poisson distribution. More...
class | casacore::Uniform
| Uniform distribution. More...
class | casacore::Weibull
| Weibull distribution. More...

## Detailed Description

Classes and global functions for basic math use

See below for an overview of the classes in this module.

### Synopsis

This module is a bag of related basic math classes and global functions.

The following functionality is available:

- Templated functors that can be used with std::transform to apply functions like sin, near, sqrt, etc. to iterators on sequences like Array, Block, std::vector, etc.
- Templated functions ConvertScalar to convert scalars from one type to another.
- Class Functional to map a domain object into a range object.
- Functions Math to interface to math.h and other scalar math functions.
- Class Random to offer random number generators.
- Prime numbers

Tip: You may want to look at the individual header files to see whether you might not prefer to include only the header files you really need; it may be more efficient to do so;