AngouriMath
MonomialProduct
Description
Summary
A product whose body is a monomial in the index, written in closed form:
product(k, k, 1, n) is factorial(n) .
Remarks
product has no linearity to take apart: a sum of two terms is the sum of their sums, and a
product of two terms is not the product of their products in any way that helps. What is
left is the body that is a single term —
separates into a power of the constant and a power of the factorial.
function's poles. Answering the one with the other unconditionally would turn a value into
an undefinedness, which is the failure the contract's O4 is about. The identity holds
where
condition.
that the range runs through zero and the product is
undefined. But
branch with the empty-range case — a piecewise saying "identity otherwise" would be wrong
there. So it is decided before anything is built, and a lower bound that is not a concrete
integer of at least one is declined instead. A constant body has no such restriction,
there being no factorial in its answer.
Members
ClosedForm(AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity)
MethodMaxPower
FieldOfAPower(AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity,AngouriMath.Entity)
Method
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online