]> www.ginac.de Git - ginac.git/blobdiff - cint/ginaccint.1
several more workarounds to make cint work with ginac
[ginac.git] / cint / ginaccint.1
index 7940a5c47b2d05174eeba9cbd3bc6521a3e141f8..aef0b0a66c9b757b35822a6ecf763994dec423ad 100644 (file)
@@ -6,11 +6,12 @@ GiNaC-cint \- An interactive interface for GiNaC based on the Cint C/C++ interpr
 .SH DESCRIPTION
 .B ginaccint
 is an interactive frontend for the GiNaC symbolic computation
-framework.  It is a tool that lets you write interactive programs in
-C++ that directly make use of GiNaC's classes and thus a more complete
-replacement for traditional interactive computer algebra systems than
-\fBginsh\fP(1) is.  Programs may be composed as scripts and later compiled
-with the native compiler and linked into the system.
+framework.  It is a tool that lets you write interactive programs
+(scripts) in C++ that directly make use of GiNaC's classes.  Thus it
+is a more complete replacement for traditional interactive computer
+algebra systems than \fBginsh\fP(1) is.  Programs may be composed as
+scripts and later compiled with the native compiler and linked into
+the system.
 .SH USAGE
 .SS INPUT FORMAT
 After startup, ginsh displays a prompt signifying that it is ready to
@@ -25,14 +26,14 @@ statements as
 GiNaC> symbol x("x"), y("y"), z;
 .fi
 which defines two named symbols and an anonymous one for later usage.
-All GiNaC methods and functions are available as they would be typed
+All GiNaC methods and functions are available as they would be coded
 in C++.  It is not necessary to explicitly invoke a print command as
 the last expression is automatically printed:
 .nf
 GiNaC> pow(x+y,4).expand();
-out2 = x^4+4*x^3*y+6*x^2*y^2+4*x*y^3+y^4
+Out2 = x^4+4*x^3*y+6*x^2*y^2+4*x*y^3+y^4
 .fi
-Statements are generally closed by either when a closing brace 
+Statements are generally closed either when a closing brace 
 .RB ( } )
 matches the first opening brace
 .RB ( { ) 
@@ -42,7 +43,7 @@ is encountered.
 
 .SS SPECIAL COMMANDS
 .IP "\fB.cint\fR"
-Switch to cint interactive mode.
+Switch to cint's interactive mode.
 .IP "\fB.function\fR"
 
 Allow a function definition in interactive mode.  GiNaC-cint must be
@@ -51,7 +52,7 @@ function definition in valid C++ syntax may be typed in.  It becomes
 immediatly available for usage.
 
 .IP "\fBquit;\fR"
-Exit from GiNaC-Cint.  Same as 
+Exit from GiNaC-cint.  Same as 
 .BR "exit;" ,
 .BR "bye;" ,
 .BR ".q" ,
@@ -125,6 +126,19 @@ you encounter as far as possible and contact Masaharu Goto
 <MXJ02154@niftyserve.or.jp> for Cint-related bugs and
 <ginac-bugs@ginac.de> for any bugs in the GiNaC engine.
 
+Only expressions (class
+.BR ex )
+are typed out and available through 
+.BR "\fBOut\fP\fInum\fP" 
+and 
+.BR LAST
+after declaring them.  This accounts for some funny behaviour, like
+.BR fibonacci(7)
+doesn't print, but
+.BR fibonacci(7)*1
+does, since this is not a naked number but an expression holding
+that number.
+
 .SH AUTHOR
 .TP
 The GiNaC Group