login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for SandBoxOpenAxiom revision 20 of 25

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
Editor: alfredo
Time: 2009/01/16 20:04:14 GMT-8
Note: Update page with newer version and new features.

added:

OpenAxiom 1.3.0 and higher now supports literal numbers expressed
in a radix other than 10 (both in the interpreter and in library).

For decimal numbers, the syntax is as usual.  For base other than 10,
you have to specify the radix first (as a decimal number) followed
by the letter 'r', then followed by digits expressing the number.

\begin{axiom}

16rdeadbeef
16rcafebabe
2r111000101001

\end{axiom}



What version?

fricas
(1) -> )version
"FriCAS 1.3.12 compiled at Sat 7 Jun 23:54:49 CEST 2025"

New domain Domain:

fricas
)show Domain
The )show system command is used to display information about types or partial types. For example, )show Integer will show information about Integer .
Domain is not the name of a known type constructor. If you want to see information about any operations named Domain , issue )display operations Domain

For example:

fricas
LD:=[Integer,Float,String]
LISP output: (UNPRINTABLE UNPRINTABLE UNPRINTABLE)
Type: List(Type)

New domain Syntax:

fricas
)show Syntax
The )show system command is used to display information about types or partial types. For example, )show Integer will show information about Integer .
Syntax is not the name of a known type constructor. If you want to see information about any operations named Syntax , issue )display operations Syntax

fricas
reify(String)
There are no library operations named reify Use HyperDoc Browse or issue )what op reify to learn if there is any operation containing " reify " in its name.
Cannot find a definition or applicable library operation named reify with argument type(s) Type
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.

[SandBoxOpenAxiomFeatures]?

coerce to OutputForm? missing from AlgebraicNumber?? --Bill Page, Sun, 16 Dec 2007 19:11:21 -0800 reply
This failed in OpenAxiom?-20071209:
fricas
sqrt(2)

\label{eq1}\sqrt{2}(1)
Type: AlgebraicNumber?

coerce to OutputForm? missing from AlgebraicNumber?? --gdr, Sat, 26 Jan 2008 15:34:53 -0800 reply
That bug has been corrected in recent versions of OpenAxiom?. Any chance for update?

OpenAxiom?-20080128 --Bill Page, Tue, 29 Jan 2008 19:12:05 -0800 reply
New version of OpenAxiom? installed.

syntax.spad.pamphlet --Bill Page, Wed, 30 Jan 2008 09:27:00 -0800 reply
[SandBoxSyntax]? describes some extensions to OpenAxiom?

fricas
)version
"FriCAS 1.3.12 compiled at Sat 7 Jun 23:54:49 CEST 2025"

Humm, this version of OpenAxiom? seems a bit old. Any change of upgrade to more recent ones?

move coercion to library? --page, Wed, 07 May 2008 07:29:30 -0700 reply
fricas
a := 'x :: OutputForm

\label{eq2}x(2)
Type: OutputForm?
fricas
b := 'y :: OutputForm

\label{eq3}y(3)
Type: OutputForm?
fricas
a and b
Argument number 1 to "and" must be a Boolean.

OpenAxiom?-20080507 --page, Wed, 07 May 2008 18:42:02 -0700 reply
New version of OpenAxiom? installed built from SVN revision: 555.

fricas
phi := operator phi

\label{eq4}phi(4)
Type: BasicOperator?
fricas
deq := 6*D(phi(x), x) + 10*phi(x) + 150*cos(phi(x)) = 0

\label{eq5}{{6 \ {{phi^{\prime}}\left({x}\right)}}+{{150}\ {\cos \left({phi \left({x}\right)}\right)}}+{{10}\ {phi \left({x}\right)}}}= 0(5)
Type: Equation(Expression(Integer))
fricas
solve(deq, phi, x)

\label{eq6}{\int^{
\displaystyle
{phi \left({x}\right)}}{{\frac{6}{{{15}\ {\cos \left({\%D}\right)}}+ \%D}}\ {d \%D}}}+{{10}\  x}(6)
Type: Union(Expression(Integer),...)

OpenAxiom? now displays InputForms? --Bill Page, Thu, 16 Oct 2008 18:54:56 -0700 reply
in infix (or m-expression like) notation like this:
fricas
phi := operator 'phi

\label{eq7}phi(7)
Type: BasicOperator?
fricas
(9 * D(phi(x), x, 2) + 6*D(phi(x), x) + 10 + 150*cos(phi(x)))::InputForm

\label{eq8}\left({
\begin{array}{@{}l}
\displaystyle
+ \ {\left({
\begin{array}{@{}l}
\displaystyle
<em> \  9 \ {\left({
\begin{array}{@{}l}
\displaystyle
D \ {\left(D \ {\left(phi \  x \right)}\ {\left(: : \  x \  \hbox{\axiomType{Symbol}\ } \right)}\right)}\  \cdot 
\
\
\displaystyle
{\left(: : \  x \  \hbox{\axiomType{Symbol}\ } \right)}
(8)
Type: InputForm?

OpenAxiom? 1.3.0 and higher now supports literal numbers expressed in a radix other than 10 (both in the interpreter and in library).

For decimal numbers, the syntax is as usual. For base other than 10, you have to specify the radix first (as a decimal number) followed by the letter r, then followed by digits expressing the number.

fricas
16rdeadbeef
Line 1: 16rdeadbeef ...A Error A: No digits after radix specification Error : No digits after radix specification 2 error(s) parsing There are no library operations named 16R Use HyperDoc Browse or issue )what op 16R to learn if there is any operation containing " 16R " in its name.
Cannot find a definition or applicable library operation named 16R with argument type(s) Variable(deadbeef)
Perhaps you should use "@" to indicate the required return type, or "$" to specify which version of the function you need.