| 1 | initial version |
WoksForMe(TM) on 9.3.rc5 ... provided you provide the right information :
sage: var("x, alpha, beta", domain="positive")
(x, alpha, beta)
sage: assume(alpha,"noninteger")
sage: integrate(x^(alpha-1)*e^(-beta*x),x,0,oo)
gamma(alpha)/beta^alpha
From sage.symbolic.assumptions? :
Here is the list of acceptable features::
sage: maxima('features')
[integer,noninteger,even,odd,rational,irrational,real,imaginary,complex,analytic,increasing,decreasing,oddfun,evenfun,posfun,constant,commutative,lassociative,rassociative,symmetric,antisymmetric,integervalued]
As far as I recall, one of the examples of assuming uses the integration of the gamma distribution to illustrate how to (temporarily) assume alpha being noninteger.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.