rising factorial of rational number

41 views
Skip to first unread message

Stephen Crowley

unread,
Jul 31, 2024, 3:18:38 PMJul 31
to flint-devel
Hi all,
is there a function to calculate the rising factorial where the lhs is an fmpq_t and the rhs is an integer and the output is again an fmpq_t and not an arb_t ? I found that method, but it seems inefficient to check if its exact and then 'cast' it back to a Rational

Thanks in advance,
--Stephen

java.lang.NoSuchMethodError: 'arb.RationalFunction arb.Fraction.ascendingFactorial(arb.Integer, int, arb.RationalFunction)'

at factorfℝ2.evaluate(Unknown Source)

at arb4j/arb.functions.Function.evaluate(Function.java:334)

at factorfℝ1.evaluate(Unknown Source)

at arb4j/arb.functions.Function.evaluate(Function.java:334)

at F.evaluate(Unknown Source)

at arb4j/arb.functions.real.RationalHypergeometricFunction.evaluate(RationalHypergeometricFunction.java:167)

at pFq({Minus2,3_5,1},{2,4},1Over2MinusxOver2).evaluate(Unknown Source)

at arb4j/arb.functions.NullaryFunction.evaluate(NullaryFunction.java:49)

at arb4j/arb.expressions.nodes.unary.HypergeometricFunctionTest.testHypergeometricFunctionExpressionRational(HypergeometricFunctionTest.java:59)

Stephen Crowley

unread,
Aug 1, 2024, 10:31:09 AMAug 1
to flint...@googlegroups.com
I suppose it would be most efficient to just convert to arb_t then compute the rising factorial and then make sure enough bits were allocated such that isexact is true then call the method that gets an fmpq_t from the arf_t midpoint which would be exact in this case. 

--

---
You received this message because you are subscribed to a topic in the Google Groups "flint-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/flint-devel/VOEU80X9AbI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to flint-devel...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/flint-devel/53d82e26-a2c2-4141-8e38-da00aa760e5en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages