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 expressionfcn
to an exponential expansion. IfposCheck?
istrue
, log's
of negative numbers are not allowed nor aren
th roots of negative numbers withn
even. 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't
allow it.