| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | ||
|
Editor: Martin Baker
Time: 2011/11/17 07:31:51 GMT-8 |
||
| Note: | ||
changed: -<a href="http://www.earlypaypdays.co.uk">payday loans</a> for people in the uk needing fast cash credit [SandBoxCategoryTerms] -- Category theory terminology used in SPAD
This is the front page of the SandBox. You can try anything you like here but keep in mind that other people are also using these pages to learn and experiment with Axiom and Reduce. Please be courteous to others if you correct mistakes and try to explain what you are doing.
Normally, if you edit any page on MathAction and click
Save or if you add a comment to a page, a notice of the
change is sent out to all subscribers on the axiom-developer
email list, see the Axiom Community. Separate notices are
also sent to those users who subscribe directly to
MathAction.
If you click Preview instead of Save, you will get a chance
to see the result of your calculations and LaTeX commands but
no email notice is sent out and the result is not saved until
you decide to click Save or not.
On this page or on any other page with a name beginning with
SandBox such as SandBoxJohn2, SandBoxSimple, SandBoxEtc, clicking
Save only sends email notices to users who subscribe
directly to that specific SandBox page. Saving and adding
comments does not create an email to the email list. You
can safely use these pages for testing without disturbing
anyone who might not care to know about your experiments.
You can also create new SandBox pages as needed just by editing this page and adding a link to the list of new page below. The link must include at least two uppercase letters and no spaces or alternatively it can be any phrase written inside [ ] brackets as long as it begins with SandBox. When you Save this page, the link to the new page will appear with a blue question mark ? beside it. Clicking on the blue question mark ? will ask you if you wish to create a new page.
generator for type Vectorpretend vs. strong typingextend
to add a category to a previously defined domain.1::EXPR INT or 1::FRAC INTClick on the ? to create a new page. You should also edit this page to include a description and a new empty link for the next person.
Here is a simple Axiom command:
\begin{axiom}
integrate(1/(a+z^3), z=0..1,"noPole")
\end{axiom}
integrate(1/(a+z^3),z=0..1, "noPole")
![]() | (1) |
And here is a REDUCE command:
\begin{reduce}
load_package sfgamma;
load_package defint;
int(1/(a+z^3), z,0,1);
\end{reduce}
load_package sfgamma; | reduce |
Please review the list of Common Mistakes and the list of MathAction Problems if you are have never used MathAction before. If you are learning to use Axiom and think that someone must have solved some particular problem before you, check this list of Common Axiom Problems.
solve(a*x+b,x)
| (2) |
Preview and Cancel buttons:
integrate(sin x,x)
| (3) |
in response to an exchange of emails with Gabriel Dos Reis concerning the validity of automatic translations of x >= y into not x < y, etc.
)abbrev package REFL Reflect
Reflect(T:Type): with
constructor? : Symbol -> Boolean
== add
constructor?(p:Symbol):Boolean == car(devaluate(T)$Lisp)$SExpression = convert(p)$SExpression
Compiling FriCAS source code from file
/var/zope2/var/LatexWiki/2684009892188271010-25px004.spad using
old system compiler.
REFL abbreviates package Reflect
------------------------------------------------------------------------
initializing NRLIB REFL for Reflect
compiling into NRLIB REFL
compiling exported constructor? : Symbol -> Boolean
Time: 0.02 SEC.
(time taken in buildFunctor: 0)
;;; *** |Reflect| REDEFINED
;;; *** |Reflect| REDEFINED
Time: 0 SEC.
Cumulative Statistics for Constructor Reflect
Time: 0.02 seconds
finalizing NRLIB REFL
Processing Reflect for Browser database:
--->-->Reflect((constructor? ((Boolean) (Symbol)))): Not documented!!!!
--->-->Reflect(constructor): Not documented!!!!
--->-->Reflect(): Missing Description
; compiling file "/var/zope2/var/LatexWiki/REFL.NRLIB/REFL.lsp" (written 06 FEB 2012 07:25:41 PM):
; /var/zope2/var/LatexWiki/REFL.NRLIB/REFL.fasl written
; compilation finished in 0:00:00.101
------------------------------------------------------------------------
Reflect is now explicitly exposed in frame initial
Reflect will be automatically loaded when needed from
/var/zope2/var/LatexWiki/REFL.NRLIB/REFL
>> System error:
The bounding indices 163 and 162 are bad for a sequence of length 162.
See also:
The ANSI Standard, Glossary entry for "bounding index designator"
The ANSI Standard, writeup for Issue SUBSEQ-OUT-OF-BOUNDS:IS-AN-ERRORT1:=Integer
| (4) |
T2:=Polynomial Fraction T1
| (5) |
T3:=Complex T2
| (6) |
constructor?('Polynomial)$Reflect(T1)
| (7) |
constructor?('Polynomial)$Reflect(T2)
| (8) |
constructor?('Polynomial)$Reflect(T3)
| (9) |
constructor?('Complex)$Reflect(T3)
| (10) |
This domain implements the free product of monoids (or groups)
It is the coproduct in the category of monoids (groups).
FreeProduct(A,B) is the monoid (group) whose elements are
the reduced words in A and B, under the operation of concatenation
followed by reduction:
Ref: http://en.wikipedia.org/wiki/Free_product
Franz Lehner provided the following example of caching the output of a function: SandBoxRemember MortonCode (also called z-order) is a method of combining multidimensional "coordinates" into a one-dimensional coordinate or "code" that attempts to preserve locality, i.e. minimize the average Euclidean distance between coordinate locations associated with adjacent codes. Morton codes are computationally less expensive to convert to and from coordinate values than Hilbert codes. SandBoxGroebnerBasis examples from Ideals, Varieties, and Algorithms Third Edition, 2007 FrobeniusAlgebraVectorSpacesAndPolynomialIdeals Classifying low dimensional Frobenius algebras SandBoxSTRING2SPAD demonstrates how to call the SPAD compiler from the interpreter.Sandbox with some simple Algebra [SimplifyingAlgebraicExpressions]?