BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
Precomputed.h File Reference

Defines namespace Math::Precomputed, providing precomputed constants. More...

Include dependency graph for Precomputed.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Math::internal::ReciprocalFactorial< N >
 
struct  Math::internal::ReciprocalFactorial< 0 >
 

Namespaces

 Math
 Various mathematical functions.
 
 Math::internal
 

Macros

#define BORNAGAIN_BASE_MATH_PRECOMPUTED_H
 

Functions

template<template< size_t > class F, size_t... I>
constexpr std::array< double, sizeof...(I)> Math::internal::generateArrayHelper (std::index_sequence< I... >)
 
template<size_t N, typename Indices = std::make_index_sequence<N>>
constexpr std::array< double, N > Math::generateReciprocalFactorialArray ()
 Returns a compile-time generated std::array of reciprocal factorials. More...
 

Detailed Description

Defines namespace Math::Precomputed, providing precomputed constants.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file Precomputed.h.

Macro Definition Documentation

◆ BORNAGAIN_BASE_MATH_PRECOMPUTED_H

#define BORNAGAIN_BASE_MATH_PRECOMPUTED_H

Definition at line 21 of file Precomputed.h.