Namespace
NumCosmoMath – 1.0
NumCosmo Math Library
Dependencies
| GObject—2.0 | The base type system library |
| Browse documentation |
Related libraries
| NumCosmo | NumCosmo Library |
| Browse documentation |
Classes
| Bootstrap |
Generic index bootstrap. |
| C |
Numerical and physical constants. |
| CSQ1D |
Abstract class for one-dimensional harmonic-oscillator evolution using the complex-structure formalism. |
| Data |
Abstract class for implementing data objects. |
| DataDist1d |
This object is an abstract class for one variable distribution data. |
| DataDist2d |
This object is designate to data that is described by a bivariate and arbitrary distribution. |
| DataFunnel |
Funnel distribution. |
| DataGauss |
Gaussian data — inverse covariance provided. |
| DataGaussCov |
Gaussian data — covariance provided. |
| DataGaussCovMVND |
Multivariate Normal Distribution — covariance provided. |
| DataGaussDiag |
Gaussian data — diagonal covariance provided. |
| DataGaussMix2D |
Gaussian Mixture 2d distribution. |
| DataPoisson |
Abstract class for implementing poisson distributed data. |
| DataRosenbrock |
Rosenbrock distribution. |
| Dataset |
A set of NcmData objects. |
| Diff |
Numerical differentiation object. |
| Fftlog |
Abstract class for implementing logarithm fast fourier transform. |
| FftlogGausswin2 |
Logarithm fast fourier transform for a kernel given by the square of a Gaussian window function. |
| FftlogSBesselJ |
Logarithm fast fourier transform for a kernel given by the spatial correlation function multipoles. |
| FftlogSBesselJLJM |
Logarithm fast fourier transform for the base kernel for angular projections. |
| FftlogTophatwin2 |
Logarithm fast fourier transform for a kernel given by the square of the spherical Bessel function of order one. |
| Fit |
Abstract class for implementing fitting methods. |
| FitESMCMC |
Ensemble sampler Markov Chain Monte Carlo analysis. |
| FitESMCMCWalker |
Ensemble sampler Markov Chain Monte Carlo walker class. |
| FitESMCMCWalkerAPES |
Ensemble sampler Markov Chain Monte Carlo walker - apes move. |
| FitESMCMCWalkerStretch |
Ensemble sampler Markov Chain Monte Carlo walker - stretch move. |
| FitESMCMCWalkerWalk |
Ensemble sampler Markov Chain Monte Carlo walker - walk move. |
| FitGSLLS |
Best-fit finder — GSL least squares algorithms. |
| FitGSLMM |
Best-fit finder — GSL non-linear minimization algorithms. |
| FitGSLMMS |
Best-fit finder — GSL non-linear minimization (simplex) algorithms. |
| FitLevmar |
Best-fit finder — Levenberg-Marquardt nonlinear least squares algorithm library. |
| FitMC |
Monte Carlo analysis. |
| FitMCBS |
Monte Carlo and bootstrap analysis. |
| FitMCMC |
Markov Chain Monte Carlo analysis. |
| FitNLOpt |
Interface for NLopt optmization library. |
| FitState |
State of a NcmFit object. |
| FunctionCache |
A generic cache for functions values. |
| FunctionSampleSet |
Ordered sample set for vector-valued functions $\vec{F}: \mathbb{R} \to \mathbb{R}^n$. |
| Integral1d |
One dimensional integration object. |
| Integral1dPtr |
Function pointer one dimensional integration object. |
| IntegralND |
N-dimensional integration object. |
| ISet |
Index set object. |
| LHRatio1d |
Likelihood ratio for one dimensional parameter analysis. |
| LHRatio2d |
Likelihood ratio object for bidimensional parameter analysis. |
| Likelihood |
Likelihood combining a NcmDataset and priors. |
| Matrix |
Matrix object representing an array of doubles. |
| Model |
Abstract class for implementing models. |
| ModelBuilder |
A |
| ModelCtrl |
Control object for testing updates on model status. |
| ModelFunnel |
Multivariate Normal Distribution mean model. |
| ModelMVND |
Multivariate Normal Distribution mean model. |
| ModelRosenbrock |
Multivariate Normal Distribution mean model. |
| MPIJob |
Abstract class to implement MPI jobs. |
| MPIJobFEval |
MPI job object for evaluating fit steps. |
| MPIJobFit |
MPI job object for running |
| MPIJobMCMC |
MPI job object for running MCMC steps. |
| MPIJobTest |
Test implementation of MPI job class. |
| MSet |
A set of different NcmModel objects. |
| MSetCatalog |
Ordered catalog of different NcmMSet parameter values. |
| MSetFunc |
Abstract class for arbitrary MSet functions. |
| MSetFunc1 |
Abstract class for arbitrary MSet functions - bindable version. |
| MSetFuncList |
NcmMSet Functions list. |
| MSetTransKern |
Abstract Class for a transition kernel and prior. |
| MSetTransKernCat |
Catalog sampler. |
| MSetTransKernFlat |
Multivariate flat sampler. |
| MSetTransKernGauss |
A multivariate gaussian sampler. |
| NNLS |
Non-negative linear least-squares. |
| OdeSpline |
Automatic generation of splines from ODE solvers. |
| PLN1D |
A Poisson–Lognormal 1D integrator using mode finding (GSL Lambert-W), shifted Gauss–Hermite, or Laplace fallback. |
| Powspec |
Abstrac class for power spectrum implementation. |
| PowspecCorr3d |
Class to compute the 3d spatial correlation function from the power spectrum. |
| PowspecFilter |
Class to compute filtered power spectrum. |
| PowspecSphereProj |
Class to compute spherical projection of power spectra. |
| PowspecSpline2d |
Power spectrum implementation using a 2D spline. |
| Prior |
Base class for prior distributions. |
| PriorFlat |
Base class for flat prior distributions. |
| PriorFlatFunc |
Flat prior on a derived quantity. |
| PriorFlatParam |
Flat prior on a sampling parameter. |
| PriorGauss |
A gaussian prior for NcmLikelihood. |
| PriorGaussFunc |
Gaussian prior on a parameter. |
| PriorGaussParam |
Gaussian prior on a parameter. |
| Reparam |
Abstract class for model reparametrization. |
| ReparamLinear |
Linear reparametrization object. |
| RNG |
Encapsulated GNU Scientific Library (GSL) random number generator with support for multhreading. |
| SBesselIntegrator |
Base class for spherical Bessel function integrators. |
| SBesselIntegratorFFTL |
FFT-Legendre based spherical Bessel function integrator. |
| SBesselIntegratorGL |
Gauss-Legendre based spherical Bessel function integrator. |
| SBesselIntegratorLevin |
Levin-Bessel method for spherical Bessel function integration. |
| SBesselOdeSolver |
Spectral ODE solver for the spherical Bessel equation in polynomial form using ultraspherical methods. |
| Serialize |
Serialization, deserialization and duplication object. |
| SFSBesselArray |
Spherical Bessel function array evaluator with automatic cutoff. |
| SFSphericalHarmonics |
Spherical Harmonics object. |
| SParam |
Properties of a scalar parameter. |
| Spectral | |
| SphereMap |
An re-implementation of Healpix. |
| SphereNN |
An re-implementation of Healpix. |
| Spline |
Base class for implementing splines. |
| Spline2d |
Base class for implementing bidimensional splines. |
| Spline2dBicubic |
Bidimensional bicubic spline. |
| Spline2dGsl |
Implements spline from spline method using The GNU Scientific Library (GSL) as base splines. |
| Spline2dSpline |
Implements bidimensional splines from splines method. |
| SplineCubic |
Base class for implementing cubic splines. |
| SplineCubicD2 |
Cubic spline implementation given second derivatives. |
| SplineCubicNotaknot |
Cubic spline implementation with ‘not a knot’ boundary conditions. |
| SplineFuncTest |
Test suite to analyze the NcmSplineFunc’s knots distribution. |
| SplineGsl |
GSL spline object wrapper. |
| SplineRBF |
Radial Basis Function implementation of spline class. |
| SplineVec |
A vector-valued spline function $\vec{F}(x): \mathbb{R} \to \mathbb{R}^n$. |
| StatsDist |
Base class for implementing N-dimensional probability distributions. |
| StatsDist1d |
Base class for implementing one dimensional probability distributions. |
| StatsDist1dEPDF |
One dimensional probability distribution based on an EPDF. |
| StatsDist1dSpline |
One dimensional probability distribution based on a spline. |
| StatsDist2d |
Base class for implementing two-dimensional probability distributions. |
| StatsDist2dSpline |
Two-dimensional probability distribution based on a spline. |
| StatsDistKDE |
Base class for implementing N-dimensional probability distributions with a fixed density estimator kernel. |
| StatsDistKernel |
An N-dimensional kernel used to compute the kernel density estimation function (KDE)
in the |
| StatsDistKernelGauss |
An N-dimensional Gaussian kernel used to compute the kernel density estimation
function (KDE) in the |
| StatsDistKernelST |
An N-dimensional Student’s t kernel used to compute the kernel density estimation
function (KDE) in the |
| StatsDistVKDE |
Base class for implementing N-dimensional probability distributions with a variable density estimator kernel. |
| StatsVec |
An online statistics vector. |
| Timer |
A timer with ETA support. |
| Vector |
Vector object representing arrays of doubles. |
| VParam |
Properties of a vector-like parameter. |
Structs
| BinSplit |
Binnary splitting algorithms used to evaluate sums fast and with arbitrary precision. |
| Complex | |
| CSQ1DState |
Represents the state of the system. |
| DTuple2 |
A 2-dimensional tuple of double precision floating point numbers. |
| DTuple3 |
A 3-dimensional tuple of double precision floating point numbers. |
| FitGrad |
Container for gradient functions. |
| FunctionSampleSetIter |
Iterator for traversing samples in a |
| IntegralFixed |
Fixed-point numerical integration structure. Contains integration bounds and nodes for fixed Gauss-Legendre or other quadrature schemes. |
| Integrand2dim |
Two-dimensional integrand structure. Holds a function pointer and user data for 2D numerical integration routines. |
| Integrand3dim |
Three-dimensional integrand structure. Holds a function pointer and user data for 3D numerical integration routines. |
| LapackWS | |
| LHRatio2dPoint |
Boxed object containing a point in the 2d parameter space. |
| LHRatio2dRegion |
Object describing a confidence region. |
| MemoryPool |
Generic memory pool. |
| MemoryPoolSlice | |
| MPIJobCtrl | |
| MpsfSBesselRecur |
Multi-precision spherical Bessel function recursion structure. This structure holds the state for computing spherical Bessel functions using high-precision MPFR arithmetic with recursion relations. |
| MSetFuncListStruct |
Structure defining a function in the model set function list. This holds metadata for functions that can be evaluated on model parameter sets. |
| MSetModelDesc | |
| MSetPIndex | |
| ObjArray |
GObjects array with serialization support. |
| ObjDictInt |
GObjects dictionary with integer keys. |
| ObjDictStr |
GObjects dictionary with string keys. |
| Quaternion |
Quaternions algebra, three-vectors and mapping to matrix. |
| RNGDiscrete | |
| SBesselOdeOperator |
Opaque boxed type for a configured spectral operator. |
| SFSphericalHarmonicsK |
Recurrence coefficients. |
| SFSphericalHarmonicsP |
Boxed P values. |
| SFSphericalHarmonicsY |
Recurrence boxed object. |
| SFSphericalHarmonicsYArray |
Recurrence array boxed object. |
| Spline2dBicubicCoeffs |
Structure to hold the coefficients of a bicubic spline. |
| TriVec | |
| VarDict |
Variable dictionary. |
Enumerations
| CSQ1DEvolState |
Variables describing the system evolution state. The state NCM_CSQ1D_FRAME_ADIAB1 with the variables $(\alpha,\, \delta\gamma)$ to compute the evolution.The state |
| CSQ1DFrame |
Frames for the system. |
| CSQ1DInitialStateType |
Initial conditions for the system. The initial condition
|
| DataPoissonType |
Types of Poisson-distributed data. These specify the data format for Poisson likelihood calculations. |
| DatasetBStrapType |
Bootstrap types. |
| FitESMCMCWalkerAPESKType |
Kernel used to build the approximate posterior. |
| FitESMCMCWalkerAPESMethod |
Posterior estimation method. |
| FitGradType |
Defines the type of gradient calculation. |
| FitGSLMMAlgos |
GSL Multidimensional minimization algorithms. |
| FitGSLMMSAlgos |
GSL Multidimensional minimization algorithms without derivatives. |
| FitLevmarAlgos |
Levmar algorithms. |
| FitMCResampleType |
Montecarlo resample options. |
| FitNloptAlgorithm | |
| FitNloptResult | |
| FitRunMsgs |
Defines the type of messages to be printed during the fit. |
| FitType |
Defines the subclasse of NcmFit to be used. |
| FunctionCacheSearchType |
Cache search direction. |
| IntegralNDError |
The type of the error estimation used to perform the integral. |
| IntegralNDMethod |
The type of the method used to perform the integral. |
| LHRatio1dRoot |
Root finding methods used by |
| LHRatio2dRoot |
Root finding methods used by |
| MatrixInternal |
This enumerator is only used internally. Only by developers. |
| ModelFunnelSParams |
Funnel model parameters. |
| ModelFunnelVParams |
Funnel model parameters. |
| ModelMVNDVParams |
MVND model parameters. |
| ModelRosenbrockSParams |
Rosenbrock model parameters. |
| MPIJobCtrlMsg |
Control messages from master to slave. All messages have the same size, specifying tag #NCM_MPI_CTRL_TAG_CMD. |
| MPIJobCtrlTag |
MPI tags for master-slave communication.
If NCM_MPI_CTRL_SLAVE_INIT must be followed by #NCM_MPI_CTRL_TAG_JOB containing the serialized job.NCM_MPI_CTRL_SLAVE_WORK must be followed by #NCM_MPI_CTRL_TAG_WORK_INPUT containing the serialized input.NCM_MPI_CTRL_SLAVE_WORK is followed by #NCM_MPI_CTRL_TAG_WORK_RETURN containing the serialized return.NCM_MPI_CTRL_SLAVE_FREE does not need to be followed by any message. The slave can be reinitialized with #NCM_MPI_CTRL_SLAVE_INIT.NCM_MPI_CTRL_SLAVE_KILL should not be followed by any message. The slave will exit. |
| MSetCatalogPostNormMethod |
See |
| MSetCatalogSync |
Catalog sync modes. |
| MSetCatalogTauMethod |
Method used to estimate the autocorrelation time $\tau$. |
| MSetTransKernCatSampling |
Sampling methods. |
| NNLSUMethod |
Method used to solve the intermediate unconstrained least-squares. |
| ParamType |
NcmParamType indicates if the parameter must be fitted, |
| PowspecFilterType |
Filter type to apply to the power spectrum.
See also |
| SphereMapCoordSys |
Sphere map coordinate system. |
| SphereMapOrder |
Sphere map pixel ordering. |
| SplineFuncTestType |
Enum to choose which base function to be used in the test suite. |
| SplineFuncTestTypePDF |
Enum to choose which PDF type. |
| SplineFuncType |
Enumeration to choose which of the functions to be applied when interpolating the input #gsl_function * |
| SplineGslType |
Enumeration to choose which GSL interpolation method as backend to be used by the object. It can be used with the function |
| SplineRBFType |
Enumeration to choose which Gaussian RBF interpolation method to be applied by the object. |
| StatsDist1dEPDFBw |
Gaussian kernel bandwidth type. |
| StatsDistCV |
Cross-validation method to be applied. |
| StatsDistKDECovType |
Selects the covariance type to use in the kernel interpolation. |
| StatsVecARType |
Autoregressive model selection criteria. These criteria are used to automatically select the optimal order for autoregressive models in time series analysis. |
| StatsVecType |
Statistical types for vector statistics computation. These determine which statistical quantities are computed and stored during data accumulation. |
| VectorInternal |
This enumerator is only used internally. Only by developers. |
Bitfields
| MSetCatalogTrimType |
See |
| SerializeOpt |
Options for serialization. |
Error Domains
| CfgError |
Error codes for the ncm_cfg namespace. |
| ModelError |
Error codes returned by the |
| MSetError |
Error codes returned by the |
Callbacks
| _FitLSFJ | |
| _FitLSJ | |
| _FitM2lnLGrad | |
| _FitM2lnLValGrad | |
| _Integrand2dimFunc | |
| _Integrand3dimFunc | |
| BinSplitEval | |
| CfgLoggerFunc | |
| DataFisherMatrix |
Calculates the Fisher-information matrix |
| DataGaussCovMVNDBound | |
| DiffFunc1to1 |
Functon $f(x)$ call back. |
| DiffFunc1toM |
Functon $f(x)$ call back. |
| DiffFuncNto1 |
Functon $f(x)$ call back. |
| DiffFuncNtoM |
Functon $f(x)$ call back. |
| FftlogFunc | |
| FitMCResample | |
| FitUpdateChange | |
| FitUpdater | |
| FitWriter | |
| FuncEvalLoop | |
| FunctionSampleSetFunc |
Vector-valued function type $\vec{F}: \mathbb{R} \to \mathbb{R}^n$.
The function should evaluate at |
| Integral1dF | |
| Integral1dPtrF | |
| IntegralNDF |
The type of the function that must be implemented by a subclass of |
| IntegralNDGetDimensions |
The type of the function that must be implemented by a subclass of |
| IntegralPeakfinder | |
| MemoryPoolAlloc | |
| ModelAddSubmodel | |
| ModelFunc0 | |
| ModelFunc1 | |
| ModelFunc2 | |
| ModelVFunc0 | |
| ModelVFunc1 | |
| ModelVFunc2 | |
| MSetFunc1N | |
| MSetFuncListN | |
| MSetFuncN | |
| OdeSplineDydx | |
| PriorFlatMean | |
| PriorGaussMean | |
| ReparamV |
Function type for reparameterization.
See also |
| SBesselIntegratorF |
Function to be integrated with spherical Bessel functions. Computes K(x, k) for the integral ∫K(x,k)*j_ℓ(kx)dx. |
| SBesselOdeSolverF |
Callback function type for the right-hand side forcing term $f(x)$ in the modified spherical Bessel ODE. The function is evaluated at physical coordinates $x \in [a,b]$ and should return $f(x)$ corresponding to the inhomogeneous term. |
| SpectralF |
Function to be used in spectral computations. The function is defined over
an interval [a, b] and receives |
| SplineFuncF | |
| SplineFuncTestPrepare | |
| StatsVecUpdateFunc | |
| VectorCompFunc |
Functions
| binsplit_alloc |
Allocates a new |
| binsplit_eval_join |
Evaluates the sum of |
| binsplit_eval_prec |
Evaluates the sum until the number of bits of precision is greater or
equal to |
| binsplit_get |
Computes the value of the sum stored in |
| binsplit_get_d |
Computes the value of the sum stored in |
| binsplit_get_q |
Computes the value of the sum stored in |
| binsplit_join |
Joins two |
| binsplit_test_next |
Computes the number of bits of precision that would be gained by adding
|
| cfg_array_set_variant |
Transfers the data from |
| cfg_array_to_variant |
Creates a variant of array type from |
| cfg_command_line |
Converts |
| cfg_enable_gsl_err_handler |
Enables the GSL error handler. |
| cfg_entries_to_keyfile |
Transforms the |
| cfg_enum_get_value |
Gets the enum value from |
| cfg_enum_print_all |
Prints all enum values from |
| cfg_exists |
Checks if |
| cfg_get_commit_hash |
Gets the commit hash of the library. |
| cfg_get_data_directory |
Gets the data directory path. It first checks the environment variable NCM_CFG_DATA_DIR_ENV, then the package data directory and finally the package source directory. If none of these directories exists, it raises an error. |
| cfg_get_data_filename |
Looks for |
| cfg_get_enum_by_id_name_nick |
Gets the enum value from |
| cfg_get_fftw_default_flag |
Gets the default FFTW flag. |
| cfg_get_fftw_default_flag_str |
Gets the default FFTW flag as a string. |
| cfg_get_fftw_timelimit |
Gets the planner time out in seconds. A negative value means no time out. |
| cfg_get_fullpath |
Gets the full path of |
| cfg_get_fullpath_base |
Gets the full path base directory. |
| cfg_get_version |
Gets the version of the library. |
| cfg_get_version_string |
Gets the version of the library as a string. |
| cfg_init |
Main library configuration function. Must be called before any other function of NumCosmo. |
| cfg_init_full |
Main library configuration function. Must be called before any other function of NumCosmo. |
| cfg_init_full_ptr |
Main library configuration function. Must be called before any other function of NumCosmo. |
| cfg_keyfile_to_arg |
Transforms the |
| cfg_load_fftw_wisdom |
Loads the FFTW wisdom from |
| cfg_lock_plan_fftw |
Locks the FFTW plan. This is a generic lock for all FFTW plans. |
| cfg_logfile |
Enables or disables the log file. |
| cfg_logfile_flush |
Enables or disables the log file flush. |
| cfg_logfile_flush_now |
Flushes the log file. |
| cfg_mpi_nslaves | |
| cfg_msg_sepa |
Log a message separator. |
| cfg_register_functions |
Register functions for the ncm_cfg namespace. |
| cfg_register_obj |
Registers the object |
| cfg_register_objects |
Registers the objects of the library. |
| cfg_save_fftw_wisdom |
Saves the current FFTW wisdom to |
| cfg_set_blis_nthreads |
Sets BLIS number of threads to |
| cfg_set_error_log_handler |
Sets all log information to |
| cfg_set_fftw_default_flag |
Sets the default FFTW flag (FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE)
to be used when building plans. The variable |
| cfg_set_fftw_default_flag_str |
Sets the default FFTW flag (FFTW_ESTIMATE, FFTW_MEASURE, FFTW_PATIENT, FFTW_EXHAUSTIVE)
to be used when building plans. The variable |
| cfg_set_fftw_default_from_env |
Sets the default FFTW flag and planner time out from the environment variables
NCM_FFTW_PLANNER and NCM_FFTW_PLANNER_TIMELIMIT. If the environment variables
are not set, it uses the |
| cfg_set_fftw_default_from_env_str |
Sets the default FFTW flag and planner time out from the environment variables
NCM_FFTW_PLANNER and NCM_FFTW_PLANNER_TIMELIMIT. If the environment variables
are not set, it uses the |
| cfg_set_log_handler |
Sets all log information to |
| cfg_set_logfile |
Sets all log information to |
| cfg_set_logstream |
Sets all log information to |
| cfg_set_mkl_nthreads |
Sets OpenBLAS number of threads to |
| cfg_set_openblas_nthreads |
Sets OpenBLAS number of threads to |
| cfg_set_openmp_nthreads |
Sets OpenMP number of threads to |
| cfg_string_to_comment |
Transforms |
| cfg_unlock_plan_fftw |
Unlocks the FFTW plan. This is a generic lock for all FFTW plans. |
| cfg_version_check |
Checks if the library version is greater or equal to |
| cmp |
Compare x and y and return -1 if x < y, 0 if x == y and 1 if x > y,
all comparisons are done with precision |
| cmpdbl |
Compares |
| d1exprel |
Computes the first derivative of the relative exponential $(\exp(x) - 1)/x$. |
| d2exprel |
Computes the second derivative of the relative exponential $(\exp(x) - 1)/x$. |
| d3exprel |
Computes the third derivative of the relative exponential $(\exp(x) - 1)/x$. |
| exprel |
Computes the relative exponential $(\exp(x) - 1)/x$. |
| func_eval_log_pool_stats | |
| func_eval_set_max_threads |
Set the new maximun number of threads to be used by the pool. Note that this function is global changing this will affect every place which uses these functions. |
| func_eval_threaded_loop |
Using the thread pool, evaluate |
| func_eval_threaded_loop_full |
Using the thread pool, evaluate |
| func_eval_threaded_loop_nw |
Using the thread pool, evaluate |
| integral_cached_0_x |
This function searches for the nearest x_near value previously chosen as the upper integration limit and perform the integration at [x_near, x] interval. This result is summed to that obtained at [0, x_near] and then it is saved in the cache. |
| integral_cached_x_inf |
This function searchs for the nearest x_near value previously chosed as the lower integration limit and perform the integration at $[x, x_{near}]$ interval. This result is summed to that obtained at $[x_{near}, \infty]$ and then it is saved in the cache. |
| integral_get_workspace |
This function provides a workspace to be used by numerical integration functions of GSL. It keeps a internal pool of workspaces and allocate a new one if the function is called and the pool is empty. It is designed to be used in a multi-thread environment. The workspace must be unlocked in order to return to the pool. This must be done using the #ncm_memory_pool_return. |
| integral_locked_a_b |
This function uses a workspace from the pool and gsl_integration_qag function to perform the numerical integration in the [a, b] interval. |
| integral_locked_a_inf |
This function uses a workspace from the pool and gsl_integration_qagiu function to perform the numerical integration in the $[a, \infty]$ interval. |
| integrate_2dim |
This function computes the integral of the function |
| integrate_2dim_divonne |
This function computes the integral of the function |
| integrate_2dim_divonne_peakfinder |
This function computes the integral of the function |
| integrate_2dim_vegas |
This function computes the integral of the function |
| integrate_3dim |
This function computes the integral of the function |
| integrate_3dim_divonne |
This function computes the integral of the function |
| integrate_3dim_vegas |
This function computes the integral of the function |
| lapack_dgeev |
This function computes the eigensystem for a real matrix |
| lapack_dgeevx |
This function computes the eigensystem for a real matrix |
| lapack_dgelqf |
DGELQF computes a LQ factorization of a real M-by-N matrix A: A = L * Q. |
| lapack_dgels |
DGELS solves overdetermined or underdetermined real linear systems involving an M-by-N matrix A, or its transpose, using a QR or LQ factorization of A. It is assumed that A has full rank. |
| lapack_dgelsd |
DGELSD computes the minimum-norm solution to a real linear least squares problem: minimize 2-norm(| b - A*x |) using the singular value decomposition (SVD) of A. A is an M-by-N matrix which may be rank-deficient. |
| lapack_dgeqlf |
DGEQLF computes a QL factorization of a real M-by-N matrix A: A = Q * L. |
| lapack_dgeqrf |
DGEQRF computes a QR factorization of a real M-by-N matrix A: A = Q * R. |
| lapack_dgerqf |
DGERQF computes a RQ factorization of a real M-by-N matrix A: A = R * Q. |
| lapack_dgesv |
This function computes the solution of $A X = B$ for a general |
| lapack_dggglm_alloc |
Calculates and allocs memory to solve the system determined by the parameters. |
| lapack_dggglm_run |
Runs the dggglm function using the workspace |
| lapack_dposv |
This function computes the solution of $A X = B$ for a real symmetric positive
definite matrix |
| lapack_dpotrf |
This function computes the Cholesky factorization of a real symmetric
positive definite matrix |
| lapack_dpotri |
This function computes the inverse of a real symmetric positive
definite matrix |
| lapack_dpotrs |
This function computes the solution of $A X = B$ for a real symmetric positive
definite matrix |
| lapack_dptsv |
This function computes the solution to a real system of linear equations
$A*X = B$ (B = |
| lapack_dsyevd |
Computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix |
| lapack_dsyevr |
Computes selected eigenvalues and, optionally, eigenvectors of a real symmetric matrix |
| lapack_dsysv |
Purpose #. |
| lapack_dsysvx |
Purpose #. |
| lapack_dsysvxx |
Purpose #. |
| lapack_dsytrf |
This function computes the factorization of a real symmetric
matrix |
| lapack_dsytri |
This function compute the inverse of a real symmetric indefinite matrix |
| lapack_dsytrs |
This function computes the solution of $A X = B$ for a real symmetric positive
definite matrix |
| message |
Logs a message. |
| message_str |
Logs a message string. |
| message_ww |
Logs a word wrapped message. |
| mpsf_0F1_d |
Computes the Hypergeometric function ${}_0F_1(b;x)$. |
| mpsf_0F1_free_cache |
Frees all buffers created to compute ncm_mpsf_0F1. |
| mpsf_0F1_q |
Computes the Hypergeometric function ${}_0F_1(b;x)$. |
| mpsf_sbessel |
Computes the Spherical Bessel function $j_\ell(x)$. |
| mpsf_sbessel_d |
Computes the Spherical Bessel function $j_\ell(x)$. |
| mpsf_sbessel_free_cache |
Frees all buffers created to compute ncm_mpsf_sbessel functions. |
| mpsf_sin_int_mpfr |
Computes the sine integral $$\mathrm{Si}(x) = \int_0^x \frac{\sin x’}{x’}\mathrm{d}x.$$. |
| mpz_clears |
Clears |
| mpz_inits |
Initializes |
| rational_coarse_double |
Computes a rational approximation for |
| sf_0F1 |
Computes the Hypergeometric function ${}_0F_1(b;x)$. |
| sf_sbessel |
Computes Spherical Bessel function $j_\ell(x)$. |
| sf_sbessel_spline |
Computes a spline approximation of the Spherical Bessel $j_\ell$ in the interval $[x_i, x_f]$. |
| sf_sbessel_taylor |
Computes Spherical Bessel function power series coefficients up to order three, i.e., $$\left(j_\ell(x),\; j’\ell(x), \frac{j”\ell(x)}{2!}, \frac{j”’_\ell(x)}{3!}\right).$$. |
| sf_sin_int |
Computes the sine integral $$\mathrm{Si}(x) = \int_0^x \frac{\sin x’}{x’}\mathrm{d}x.$$. |
| spline2dim_integ_total | |
| string_ww |
Creates a word wrapped string. |
| util_1mcosx |
Calculates $1 - \cos(x)$ using the appropriated taylor series when $\cos(x) \approx 1$. |
| util_1msinx |
Calculates $1 - \sin(x)$ using the appropriated taylor series when $\sin(x) \approx 1$. |
| util_1pcosx |
Calculates $1 + \cos(x)$ using the appropriated taylor series when $\cos(x) \approx -1$. |
| util_1psinx |
Calculates $1 + \sin(x)$ using the appropriated taylor series when $\sin(x) \approx -1$. |
| util_basename_fits |
Extracts the extension .fits or .fit from |
| util_cos2x |
Calculates $\cos(2x)$ using the appropriated taylor series when $\sin(x) \approx 1$. |
| util_cvode_check_flag |
Checks the CVode flag value and prints a message if an error occured. |
| util_cvode_print_stats |
Prints the statistics of the CVodeMem object |
| util_fact_size |
Calculate the smallest factorization of |
| util_forward_or_call_error |
Forwards the error from |
| util_function_params |
Extracts the function name and its numerical parameters. |
| util_gaussian_integral |
Computes the integral of the Gaussian distribution with mean |
| util_great_circle_distance |
Compute the great circle distance (or separation, as defined in astropy) between poistion 1 ( |
| util_ln1pexpx |
Calculates $\ln[1+\exp(x)]$. |
| util_log_gaussian_integral |
Computes the logarithm of the integral of the Gaussian distribution with mean |
| util_log_normal_gaussian_integral |
Computes the logarithm of the integral of the Gaussian distribution with zero mean
and unit variance between |
| util_mln_1mIexpzA_1pIexpmzA |
Computes $$z_1 = z - \ln\left(\frac{1-i e^{+z} A}{1+i e^{-z} A}\right),$$ where $z = \rho + i\theta$
and return the new $z_1 = \rho_1 + i\theta_1$ into |
| util_normal_gaussian_integral |
Computes the integral of the Gaussian distribution with zero mean and unit variance
between |
| util_position_angle |
Computes the on-sky position angle (East of North) between object1 ( |
| util_projected_radius |
Converts the the angular separation |
| util_set_or_call_error |
If |
| util_sinh1 |
Computes $\frac{\sinh(x)}{x}$. For small values of |
| util_sinh3 | |
| util_sinhx_m_xcoshx_x3 | |
| util_sleep_ms |
Suspend the thread execution for |
| util_smooth_trans | |
| util_smooth_trans_get_theta | |
| util_sqrt1px_m1 |
Calculates $\sqrt{1+x}-1$ using the appropriated expression to avoid round-off when $x \approx 0$. |
Function Macros
| acb_get_complex | |
| assert_cmpdouble | |
| assert_cmpdouble_e | |
| BINSPLIT_DECL | |
| BINSPLIT_DENC_NULL | |
| CHECK_PREPARED | |
| COMPLEX_INIT | |
| COMPLEX_INIT_REAL | |
| COMPLEX_PTR | |
| CVODE_CHECK | |
| DTUPLE2_STATIC_INIT |
Initializes a |
| DTUPLE3_STATIC_INIT |
Initializes a |
| FITS_ERROR | |
| g_string_clear | |
| GARRAY_DUP | |
| GARRAY_MEMCPY | |
| INTEGRAL_ND_DEFINE_TYPE |
A convenience macro to define a subclass of |
| INTEGRAL_ND_DEFINE_TYPE_WITH_FREE |
A convenience macro to define a subclass of |
| LAPACK_CHECK_INFO | |
| MODEL_2OPT2IMPL | |
| MODEL_3OPT2IMPL | |
| MODEL_4OPT2IMPL | |
| MODEL_FUNC0_IMPL | |
| MODEL_FUNC1_IMPL | |
| MODEL_FUNC2_IMPL | |
| MODEL_OPT2IMPL | |
| MODEL_SET_IMPL_FUNC | |
| MODEL_VFUNC0_IMPL | |
| MODEL_VFUNC1_IMPL | |
| MODEL_VFUNC2_IMPL | |
| MPI_JOB_DEBUG_PRINT | |
| MSET_MID | |
| MSET_MODEL_DECLARE_ID |
Declares a function to get the model id from the model namespace. This macro should be used in the header file of the model. |
| MSET_MODEL_ID_FUNC |
Defines a function to get the model id from the model namespace. |
| MSET_MODEL_REGISTER_ID |
Defines the function to get the model id from the model namespace. This macro should be used in the source file of the model. |
| N2VECTOR | |
| SF_SPHERICAL_HARMONICS_ARRAY_INDEX | |
| SPHERE_MAP_ALM_INDEX | |
| SPHERE_MAP_ALM_SIZE | |
| SPHERE_MAP_INT_TO_XY | |
| SPHERE_MAP_M_START | |
| SPHERE_MAP_N | |
| SPHERE_MAP_XY_TO_INT | |
| STATS_VEC_HEIDEL_PVAL_COR | |
| TEST_FAIL | |
| TEST_FREE | |
| TEST_GSL_RESULT | |
| TEST_PASS | |
| UNUSED | |
| UTIL_CALLBACK_ARGS | |
| UTIL_DECLARE_CALLBACK |
This macro declares a callback structure and the functions to handle it. You must use
NCM_UTIL_CALLBACK_ARGS to declare the arguments of the callback function.
The argument |
| UTIL_DEFINE_CALLBACK |
This macro defines the functions to handle the callback structure. You must use NCM_UTIL_CALLBACK_ARGS to declare both the arguments declaration of the callback function and the arguments of the function. They can be empty. |
| util_exp10 | |
| UTIL_ON_ERROR_FORWARD | |
| UTIL_ON_ERROR_RETURN |