|
From: | Bill Page |
Subject: | [Axiom-developer] [#130 SpecialFunction(Integer) doesn't return Expression Integer] Treating special functions like Expression Integer |
Date: | Wed, 23 Mar 2005 20:06:40 -0600 |
Changes http://page.axiom-developer.org/zope/mathaction/130SpecialFunctionIntegerDoesntReturnExpressionInteger/diff -- Apparently the difference has something to do with the fact that **DoubleFloat** is a 'domain' while **DoubleFloatSpecialFunctions** is a 'package'. It is possible to obtain some of the effectst that you want by dropping the **DoubleFloatSpecialFunctions** from the list of exposed constructors. \begin{axiom} )set expose drop constructor DoubleFloatSpecialFunctions \end{axiom} Then these are treated the same \begin{axiom} sin(2) digamma(2) \end{axiom} except now it is necessary to do a package call to evaluate it even for something that is a floating point value. \begin{axiom} digamma(2.0) digamma(2.0)$DoubleFloatSpecialFunctions \end{axiom} -- forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |