Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Functions
factorial.hpp File Reference
#include "detail/native_math.hpp"
#include "runtime_precision.hpp"
Include dependency graph for factorial.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uni20
 

Functions

template<detail::native_math::NativeReal R, detail::MathInteger I>
R uni20::factorial (I n)
 Factorial of a checked nonnegative integer, with an explicit native result type.
 
template<detail::native_math::NativeReal R, detail::MathInteger I>
R uni20::factorial (I n, Precision p)
 Typed factorial factory with a checked native precision argument.