computer algebra systems - ii. the basics of maple and...
TRANSCRIPT
The MAPLE SAGE Basics
Computer Algebra SystemsII. The Basics of Maple and Sage
Sándor [email protected]
http://compalg.inf.elte.hu/~czirbusz/
Department of Computer AlgebraInformatics Institute, ELTE
D2.711A
2011-2012 spring
The MAPLE SAGE Basics
Table of Contents
1 The MAPLEMaple BasicsUsing MapleThe Help SystemDocumentation
2 SAGE BasicsSAGE basicsThe user interface of SAGEThe HELP–system of SAGEDocumentation
The MAPLE SAGE Basics
Maple Basics
Components
Kernel – basic functions, I/O, written in C
User InterfaceLibraryPrivate or share libraries
The MAPLE SAGE Basics
Maple Basics
Components
Kernel – basic functions, I/O, written in CUser Interface
LibraryPrivate or share libraries
The MAPLE SAGE Basics
Maple Basics
Components
Kernel – basic functions, I/O, written in CUser InterfaceLibrary
Private or share libraries
The MAPLE SAGE Basics
Maple Basics
Components
Kernel – basic functions, I/O, written in CUser InterfaceLibraryPrivate or share libraries
The MAPLE SAGE Basics
Maple Basics
ComponentsThe role of the kernel
user I/O
rational arithmeticselementary polinomyal arithmeticsfrequently used routinesstoring expressionsmemory handling
The MAPLE SAGE Basics
Maple Basics
ComponentsThe role of the kernel
user I/Orational arithmetics
elementary polinomyal arithmeticsfrequently used routinesstoring expressionsmemory handling
The MAPLE SAGE Basics
Maple Basics
ComponentsThe role of the kernel
user I/Orational arithmeticselementary polinomyal arithmetics
frequently used routinesstoring expressionsmemory handling
The MAPLE SAGE Basics
Maple Basics
ComponentsThe role of the kernel
user I/Orational arithmeticselementary polinomyal arithmeticsfrequently used routines
storing expressionsmemory handling
The MAPLE SAGE Basics
Maple Basics
ComponentsThe role of the kernel
user I/Orational arithmeticselementary polinomyal arithmeticsfrequently used routinesstoring expressions
memory handling
The MAPLE SAGE Basics
Maple Basics
ComponentsThe role of the kernel
user I/Orational arithmeticselementary polinomyal arithmeticsfrequently used routinesstoring expressionsmemory handling
The MAPLE SAGE Basics
Maple Basics
ComponentsThe user interface
parser
expression visualisationgraphicsHELP system
The MAPLE SAGE Basics
Maple Basics
ComponentsThe user interface
parserexpression visualisation
graphicsHELP system
The MAPLE SAGE Basics
Maple Basics
ComponentsThe user interface
parserexpression visualisationgraphics
HELP system
The MAPLE SAGE Basics
Maple Basics
ComponentsThe user interface
parserexpression visualisationgraphicsHELP system
The MAPLE SAGE Basics
Maple Basics
The Libraries
Standard libraryThe mathematical knowledge in packages.
Private librariesOur and third-party packagesWe can found many examples on the site of Maple
The MAPLE SAGE Basics
Maple Basics
The Libraries
Standard libraryThe mathematical knowledge in packages.
Private librariesOur and third-party packagesWe can found many examples on the site of Maple
The MAPLE SAGE Basics
Using Maple
Using Maple
Modes
running in command lineworksheet modedocument mode
The menu system
Classical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command line
worksheet modedocument mode
The menu system
Classical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet mode
document mode
The menu system
Classical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet modedocument mode
The menu system
Classical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet modedocument mode
The menu system
Classical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet modedocument mode
The menu systemClassical windowing system
Some tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet modedocument mode
The menu systemClassical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet modedocument mode
The menu systemClassical windowing systemSome tips by preface
Making structured text
Deleting output from worskhet to get lesser files
The MAPLE SAGE Basics
Using Maple
Using Maple
Modesrunning in command lineworksheet modedocument mode
The menu systemClassical windowing systemSome tips by preface
Making structured textDeleting output from worskhet to get lesser files
The MAPLE SAGE Basics
The Help System
Using the Help
Quick Help - F1, only in newer versions.
From the menu systemfrom the wokset.Tip: Built-in tutorials
The MAPLE SAGE Basics
The Help System
Using the Help
Quick Help - F1, only in newer versions.From the menu system
from the wokset.Tip: Built-in tutorials
The MAPLE SAGE Basics
The Help System
Using the Help
Quick Help - F1, only in newer versions.From the menu systemfrom the wokset.
Tip: Built-in tutorials
The MAPLE SAGE Basics
The Help System
Using the Help
Quick Help - F1, only in newer versions.From the menu systemfrom the wokset.Tip: Built-in tutorials
The MAPLE SAGE Basics
The Help System
HELP from the worksheet.
The functions of HELP accessed by ?, help(..), info(..), usage(..),example(..), ?index command, similar to a hyperlinked system.
HELP function Maple commandDescription of th on-line HELP system ?helpoutline some topic ?topicexplanation of special topics ?context,topic
context [topic]context:-topic
list of HELP categories ?indexexpressions ?index,expressionlibrary functions ?index,fuctionmodules ?index,moduleall of packages ?index,packagesinformation about procedures ?index,procedureMAPLE statements ?type,statementthe fundamental data types ?type,surfacenew properties ?updates
The MAPLE SAGE Basics
Documentation
The documentation of Maple
Grade: 5∗
Maple site: downloadable documentation for actual ansome older versions.
Quick ReferenceUser ManualIntroductory és Advanced Programming Guide
Other literaturehttp://www.maplesoft.com/books/index.aspx
The MAPLE SAGE Basics
Documentation
The documentation of Maple
Grade: 5∗
Maple site: downloadable documentation for actual ansome older versions.
Quick ReferenceUser ManualIntroductory és Advanced Programming Guide
Other literaturehttp://www.maplesoft.com/books/index.aspx
The MAPLE SAGE Basics
Documentation
The documentation of Maple
Grade: 5∗
Maple site: downloadable documentation for actual ansome older versions.
Quick Reference
User ManualIntroductory és Advanced Programming Guide
Other literaturehttp://www.maplesoft.com/books/index.aspx
The MAPLE SAGE Basics
Documentation
The documentation of Maple
Grade: 5∗
Maple site: downloadable documentation for actual ansome older versions.
Quick ReferenceUser Manual
Introductory és Advanced Programming Guide
Other literaturehttp://www.maplesoft.com/books/index.aspx
The MAPLE SAGE Basics
Documentation
The documentation of Maple
Grade: 5∗
Maple site: downloadable documentation for actual ansome older versions.
Quick ReferenceUser ManualIntroductory és Advanced Programming Guide
Other literaturehttp://www.maplesoft.com/books/index.aspx
The MAPLE SAGE Basics
Documentation
The documentation of Maple
Grade: 5∗
Maple site: downloadable documentation for actual ansome older versions.
Quick ReferenceUser ManualIntroductory és Advanced Programming Guide
Other literaturehttp://www.maplesoft.com/books/index.aspx
The MAPLE SAGE Basics
SAGE basics
The name of the game
Software for Algebra and Geometry ExperimentationThe system is an extended Python (v2.6.x), the commandline interface based on iPython.
To the version 4.0 the symbolical computations were madeby Maxima through the a pexpect Python modulon (It isvery clumsy, because Maxima written in Lisp)After 4.0 fthe symbolic computation made by PyNac: thisthe GiNac rewritten in Pythoninterface to many free CAS (Pari, Octave,...Accelerating: with Cyton.GUI on WEB–interface: notebook
The MAPLE SAGE Basics
SAGE basics
The name of the game
Software for Algebra and Geometry ExperimentationThe system is an extended Python (v2.6.x), the commandline interface based on iPython.To the version 4.0 the symbolical computations were madeby Maxima through the a pexpect Python modulon (It isvery clumsy, because Maxima written in Lisp)
After 4.0 fthe symbolic computation made by PyNac: thisthe GiNac rewritten in Pythoninterface to many free CAS (Pari, Octave,...Accelerating: with Cyton.GUI on WEB–interface: notebook
The MAPLE SAGE Basics
SAGE basics
The name of the game
Software for Algebra and Geometry ExperimentationThe system is an extended Python (v2.6.x), the commandline interface based on iPython.To the version 4.0 the symbolical computations were madeby Maxima through the a pexpect Python modulon (It isvery clumsy, because Maxima written in Lisp)After 4.0 fthe symbolic computation made by PyNac: thisthe GiNac rewritten in Python
interface to many free CAS (Pari, Octave,...Accelerating: with Cyton.GUI on WEB–interface: notebook
The MAPLE SAGE Basics
SAGE basics
The name of the game
Software for Algebra and Geometry ExperimentationThe system is an extended Python (v2.6.x), the commandline interface based on iPython.To the version 4.0 the symbolical computations were madeby Maxima through the a pexpect Python modulon (It isvery clumsy, because Maxima written in Lisp)After 4.0 fthe symbolic computation made by PyNac: thisthe GiNac rewritten in Pythoninterface to many free CAS (Pari, Octave,...
Accelerating: with Cyton.GUI on WEB–interface: notebook
The MAPLE SAGE Basics
SAGE basics
The name of the game
Software for Algebra and Geometry ExperimentationThe system is an extended Python (v2.6.x), the commandline interface based on iPython.To the version 4.0 the symbolical computations were madeby Maxima through the a pexpect Python modulon (It isvery clumsy, because Maxima written in Lisp)After 4.0 fthe symbolic computation made by PyNac: thisthe GiNac rewritten in Pythoninterface to many free CAS (Pari, Octave,...Accelerating: with Cyton.
GUI on WEB–interface: notebook
The MAPLE SAGE Basics
SAGE basics
The name of the game
Software for Algebra and Geometry ExperimentationThe system is an extended Python (v2.6.x), the commandline interface based on iPython.To the version 4.0 the symbolical computations were madeby Maxima through the a pexpect Python modulon (It isvery clumsy, because Maxima written in Lisp)After 4.0 fthe symbolic computation made by PyNac: thisthe GiNac rewritten in Pythoninterface to many free CAS (Pari, Octave,...Accelerating: with Cyton.GUI on WEB–interface: notebook
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandline
upgrading the systempartial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUI
In a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the system
partial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUI
In a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the systempartial recompiling
installing optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUI
In a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the systempartial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUI
In a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the systempartial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUI
In a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the systempartial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUI
In a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the systempartial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUIIn a browser with jsMath
supports not only SAGE
The MAPLE SAGE Basics
The user interface of SAGE
The modes
commandlineupgrading the systempartial recompilinginstalling optional packages
terminalClassical iPython-like; the debug accesible only from this mode.
GUIIn a browser with jsMathsupports not only SAGE
The MAPLE SAGE Basics
The HELP–system of SAGE
Command–completition with the TAB–key (like in Linux).When this is not unique the HELP makes a list
It is usable from consol and from GUIUsing in form statement?it is not completed % (The SAGE terminology: doctestingcoverage)
The MAPLE SAGE Basics
The HELP–system of SAGE
Command–completition with the TAB–key (like in Linux).When this is not unique the HELP makes a listIt is usable from consol and from GUI
Using in form statement?it is not completed % (The SAGE terminology: doctestingcoverage)
The MAPLE SAGE Basics
The HELP–system of SAGE
Command–completition with the TAB–key (like in Linux).When this is not unique the HELP makes a listIt is usable from consol and from GUIUsing in form statement?
it is not completed % (The SAGE terminology: doctestingcoverage)
The MAPLE SAGE Basics
The HELP–system of SAGE
Command–completition with the TAB–key (like in Linux).When this is not unique the HELP makes a listIt is usable from consol and from GUIUsing in form statement?it is not completed % (The SAGE terminology: doctestingcoverage)
The MAPLE SAGE Basics
Documentation
Documentation
Grade: 4
Everything on the SAGE site.There are not very good tutorials. Many examples are onlyjokes.The many integrated free softwares require specialknowledge; these are not knownd by the SAGEprogrammers.The authors support own articles and books by SAGE,some of these freely downloadable.
The MAPLE SAGE Basics
Documentation
Documentation
Grade: 4
Everything on the SAGE site.
There are not very good tutorials. Many examples are onlyjokes.The many integrated free softwares require specialknowledge; these are not knownd by the SAGEprogrammers.The authors support own articles and books by SAGE,some of these freely downloadable.
The MAPLE SAGE Basics
Documentation
Documentation
Grade: 4
Everything on the SAGE site.There are not very good tutorials. Many examples are onlyjokes.
The many integrated free softwares require specialknowledge; these are not knownd by the SAGEprogrammers.The authors support own articles and books by SAGE,some of these freely downloadable.
The MAPLE SAGE Basics
Documentation
Documentation
Grade: 4
Everything on the SAGE site.There are not very good tutorials. Many examples are onlyjokes.The many integrated free softwares require specialknowledge; these are not knownd by the SAGEprogrammers.
The authors support own articles and books by SAGE,some of these freely downloadable.
The MAPLE SAGE Basics
Documentation
Documentation
Grade: 4
Everything on the SAGE site.There are not very good tutorials. Many examples are onlyjokes.The many integrated free softwares require specialknowledge; these are not knownd by the SAGEprogrammers.The authors support own articles and books by SAGE,some of these freely downloadable.