X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.1.in;h=01ecbb59a46b71188ee96e93dfe4270601c1a89d;hp=a66c23e1295276511c077daf74fc7c5ff9275381;hb=0e474355d56a912573dc29bcaee4a1180171b066;hpb=69ec860812569dbbfb9216907abbd22ff36ce54f diff --git a/ginsh/ginsh.1.in b/ginsh/ginsh.1.in index a66c23e1..01ecbb59 100644 --- a/ginsh/ginsh.1.in +++ b/ginsh/ginsh.1.in @@ -82,6 +82,14 @@ when they are used. To refer to the unevaluated symbol, put single quotes .RB ( ' ) around the name, as demonstrated for the "unassign" command above. .PP +Symbols are considered to be in the complex domain by default, i.e. they are +treated as if they stand in for complex numbers. This behavior can be changed +by using the keywords +.BI real_symbols +and +.BI complex_symbols +and affects all newly created symbols. +.PP The following symbols are pre-defined constants that cannot be assigned a value by the user: .RS @@ -119,7 +127,7 @@ for example $0, $1 etc. .SS LAST PRINTED EXPRESSIONS ginsh provides the three special symbols .RS -", "" and """ +%, %% and %%% .RE that refer to the last, second last, and third last printed expression, respectively. These are handy if you want to use the results of previous computations in a new @@ -144,9 +152,6 @@ unary minus .B * multiplication .TP -.B % -non-commutative multiplication -.TP .B / division .TP @@ -243,6 +248,12 @@ detail here. Please refer to the GiNaC documentation. .BI collect_distributed( expression ", " list ) \- collects coefficients of like powers (result in distributed form) .br +.BI collect_common_factors( expression ) +\- collects common factors from the terms of sums +.br +.BI conjugate( expression ) +\- complex conjugation +.br .BI content( expression ", " symbol ) \- content part of a polynomial .br @@ -345,6 +356,9 @@ detail here. Please refer to the GiNaC documentation. .BI series( expression ", " relation-or-symbol ", " order ) \- series expansion .br +.BI sprem( expression ", " expression ", " symbol ) +\- sparse pseudo-remainder of polynomials +.br .BI sqrfree( "expression [" ", " symbol-list] ) \- square-free factorization of a polynomial .br @@ -407,6 +421,21 @@ This is useful for debugging and for learning about GiNaC internals. .PP The command .RS +.BI print_latex( expression ); +.RE +prints a LaTeX representation of the given +.IR expression . +.PP +The command +.RS +.BI print_csrc( expression ); +.RE +prints the given +.I expression +in a way that can be used in a C or C++ program. +.PP +The command +.RS .BI iprint( expression ); .RE prints the given @@ -458,7 +487,7 @@ x [[\-x+x^2\-2,(x+1)^2],[c,d]] > determinant(M); \-2*d\-2*x*c\-x^2*c\-x*d+x^2*d\-c -> collect(", x); +> collect(%, x); (\-d\-2*c)*x+(d\-c)*x^2\-2*d\-c > solve quantum field theory; parse error at quantum @@ -486,13 +515,15 @@ Christian Bauer Alexander Frink .br Richard Kreckel +.br +Jens Vollinga .SH SEE ALSO GiNaC Tutorial \- An open framework for symbolic computation within the C++ programming language .PP CLN \- A Class Library for Numbers, Bruno Haible .SH COPYRIGHT -Copyright \(co 1999-2001 Johannes Gutenberg Universit\(:at Mainz, Germany +Copyright \(co 1999-2004 Johannes Gutenberg Universit\(:at Mainz, Germany This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by