FunctionSpaceToExponentialExpansion(R, FE, x, cen)ΒΆ
fs2expxp.spad line 1 [edit on github]
R: Join(GcdDomain, Comparable, RetractableTo Integer, LinearlyExplicitOver Integer)
FE: Join(AlgebraicallyClosedField, TranscendentalFunctionCategory, FunctionSpace R)
x: Symbol
cen: FE
This package converts expressions in some function space to exponential expansions.
- exprToXXP: (FE, Boolean) -> Union(%expansion: ExponentialExpansion(R, FE, x, cen), %problem: Record(func: String, prob: String))
exprToXXP(fcn, posCheck?)converts the expressionfcnto an exponential expansion. IfposCheck?istrue, log'sof negative numbers are not allowed nor arenth roots of negative numbers withneven. IfposCheck?isfalse, these are allowed.
- localAbs: FE -> FE
localAbs(fcn)=abs(fcn)orsqrt(fcn^2)depending on whether or not FE has a functionabs. This should be a local function, but the compiler won'tallow it.