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 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | ||
Editor: Bill Page
Time: 2012/04/26 14:44:53 GMT-7 |
||
Note: Observer algebra |
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 typingSandBoxCS224?
[SandBox kaveh]?
[MathMLFormat]?
extend
to add a category to a previously defined domain.1::EXPR INT
or 1::FRAC INT
[SandBox Zero]?
[SandBox Axiom Strengths]?
[[SandBox12TestIndetAndComplex]]?
[SandBoxKMG]?
[SandBoxDGE]?
Click 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/lib/zope2.10/instance/axiom-wiki/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 SEC.
(time taken in buildFunctor: 0)
;;; *** |Reflect| REDEFINED
;;; *** |Reflect| REDEFINED Time: 0 SEC.
Cumulative Statistics for Constructor Reflect Time: 0 seconds
finalizing NRLIB REFL Processing Reflect for Browser database: --->-->Reflect(constructor): Not documented!!!! --->-->Reflect((constructor? ((Boolean) (Symbol)))): Not documented!!!! --->-->Reflect(): Missing Description ; compiling file "/var/aw/var/LatexWiki/REFL.NRLIB/REFL.lsp" (written 05 APR 2013 06:33:07 AM):
; /var/aw/var/LatexWiki/REFL.NRLIB/REFL.fasl written ; compilation finished in 0:00:00.012 ------------------------------------------------------------------------ Reflect is now explicitly exposed in frame initial Reflect will be automatically loaded when needed from /var/aw/var/LatexWiki/REFL.NRLIB/REFL
T1:=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]?
SandBoxObserverAsIdempotent?