Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Functions
std_cxx17 Namespace Reference

Functions

double legendre (unsigned int l, double x)
 
float legendre (unsigned int l, float x)
 
long double legendre (unsigned int l, long double x)
 
float legendref (unsigned int l, float x)
 
long double legendrel (unsigned int l, long double x)
 

Detailed Description

deal.II currently only requires a C++14-conforming compiler, but there are a number of functions and classes from the C++17 standard that are easy to provide also in case the compiler only supports C++14. These are collected in the current namespace.

The most notable example is the std::optional class that was introduced to C++ starting with the C++17 standard.

There are other small additions in this namespace that allow us to use C++17 features at this point already, even though we don't require a C++17-compliant compiler.

Note
If the compiler in use actually does support C++17, then the contents of this namespace are simply imported classes and functions from namespace std. That is, we fall back to what the compiler provides, rather than our own implementations.

Function Documentation

◆ legendre() [1/3]

double std_cxx17::legendre ( unsigned int  l,
double  x 
)
inline

Definition at line 75 of file cmath.h.

◆ legendre() [2/3]

float std_cxx17::legendre ( unsigned int  l,
float  x 
)
inline

Definition at line 85 of file cmath.h.

◆ legendre() [3/3]

long double std_cxx17::legendre ( unsigned int  l,
long double  x 
)
inline

Definition at line 95 of file cmath.h.

◆ legendref()

float std_cxx17::legendref ( unsigned int  l,
float  x 
)
inline

Definition at line 105 of file cmath.h.

◆ legendrel()

long double std_cxx17::legendrel ( unsigned int  l,
long double  x 
)
inline

Definition at line 115 of file cmath.h.