* Exact Beta reduction when one argument is a positive integer `m`: * B(a, m) = (m−1)! / (a (a+1) … (a+m−1)) * This is an exact rational function of `a`, valid at every `a`. It returns * `ComplexInfinity` at a Γ-pole (a factor of the denominator is exactly 0, * i.e. `a ∈ {0, −1, …, −(m−1)}`),
( ce: ComputeEngine, a: Expression, m: number )
| 2574 | |
| 2575 | /** |
| 2576 | * True when `den` can stand as the divisor of a SHAPE-PRESERVING quotient — |
| 2577 | * one whose numerator's tuple structure survives because every division it |
| 2578 | * performs is `tuple / scalar`. |
| 2579 | * |
| 2580 | * Rejected, in each case because the divisor can present a TUPLE where a |
| 2581 | * scalar is required and a point has no reciprocal (`canonicalDivide` answers |
| 2582 | * `no-division-by-point`): |
| 2583 | * - a tuple itself; |
| 2584 | * - a `broadcastable<tuple<…>>`, whose runtime value MAY be that tuple; |
| 2585 | * - a collection of tuples, which pairs elementwise into `tuple / tuple` |
| 2586 | * (`[(3,4),(6,8)] / [(1,2),(2,2)]` evaluates to a list of |
| 2587 | * `no-division-by-point` errors). |
| 2588 | * |
| 2589 | * A MATRIX divisor is rejected unless `admitMatrix` is true. A matrix |
| 2590 | * divides a point cell by cell, so the quotient is a matrix of points, not a |
| 2591 | * point: only `pointOverCollectionQuotientType` gives that type, and the |
| 2592 | * caller admits a matrix only for a numerator that it can type. A list of |
| 2593 | * points divided by a matrix pairs each point with a row of the matrix and |
| 2594 | * gives a matrix of points too, which the shape-preserving claim (a list of |