28 return n <= 1? 1 : (n *
factorial(n - 1));
32 static constexpr size_t gcd(
size_t A,
size_t B)
40 static constexpr int pow(
int x,
int n)
42 return n==0? 1 :
x *
pow(
x,n-1);
initial point of the source segment B
function infiniteDisplacement syms Ax Ay Az Bx By Bz qx qy qz u L x y z real A
static constexpr int pow(int x, int n)
A compile-time implementation of the power function.
static constexpr int binomial(int N, int k)
static constexpr size_t gcd(size_t A, size_t B)
static constexpr int factorial(int n)