AngouriMath
Navigation
DoubleFactorial(AngouriMath.Entity)
Method (no overloads)
Summary
The double factorial n!! : n (n - 2) (n - 4) ... down to 1 or 2
Parameter "n"
An integer, other than a negative even one
Returns
The DoubleFactorialf node
Remarks
https://github.com/asc-community/AngouriMath/issues/2182
Example
using System;
using static AngouriMath.MathS;
Console.WriteLine(DoubleFactorial(7).Simplify());
Console.WriteLine(DoubleFactorial(8).Simplify());
Console.WriteLine(DoubleFactorial(-5).Simplify());Prints
105
384
1/3Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5629 pages online