cotila  1.2.1
A compile time linear algebra system

◆ nthroot()

constexpr double cotila::nthroot ( double  x,
int  n 
)
Parameters
xargument
ndegree
Returns
$ \sqrt[\leftroot{-2}\uproot{2}n]{x} $

Computes the $n$th root.