Spaces:
Running
Running
Upload 2 files
Browse files- MLPY/pyvenv.cfg +3 -0
- MLPY/share/man/man1/isympy.1 +188 -0
MLPY/pyvenv.cfg
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
home = C:\Users\Kano\AppData\Local\Programs\Python\Python39
|
2 |
+
include-system-site-packages = false
|
3 |
+
version = 3.9.13
|
MLPY/share/man/man1/isympy.1
ADDED
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'\" -*- coding: us-ascii -*-
|
2 |
+
.if \n(.g .ds T< \\FC
|
3 |
+
.if \n(.g .ds T> \\F[\n[.fam]]
|
4 |
+
.de URL
|
5 |
+
\\$2 \(la\\$1\(ra\\$3
|
6 |
+
..
|
7 |
+
.if \n(.g .mso www.tmac
|
8 |
+
.TH isympy 1 2007-10-8 "" ""
|
9 |
+
.SH NAME
|
10 |
+
isympy \- interactive shell for SymPy
|
11 |
+
.SH SYNOPSIS
|
12 |
+
'nh
|
13 |
+
.fi
|
14 |
+
.ad l
|
15 |
+
\fBisympy\fR \kx
|
16 |
+
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
|
17 |
+
'in \n(.iu+\nxu
|
18 |
+
[\fB-c\fR | \fB--console\fR] [\fB-p\fR ENCODING | \fB--pretty\fR ENCODING] [\fB-t\fR TYPE | \fB--types\fR TYPE] [\fB-o\fR ORDER | \fB--order\fR ORDER] [\fB-q\fR | \fB--quiet\fR] [\fB-d\fR | \fB--doctest\fR] [\fB-C\fR | \fB--no-cache\fR] [\fB-a\fR | \fB--auto\fR] [\fB-D\fR | \fB--debug\fR] [
|
19 |
+
-- | PYTHONOPTIONS]
|
20 |
+
'in \n(.iu-\nxu
|
21 |
+
.ad b
|
22 |
+
'hy
|
23 |
+
'nh
|
24 |
+
.fi
|
25 |
+
.ad l
|
26 |
+
\fBisympy\fR \kx
|
27 |
+
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
|
28 |
+
'in \n(.iu+\nxu
|
29 |
+
[
|
30 |
+
{\fB-h\fR | \fB--help\fR}
|
31 |
+
|
|
32 |
+
{\fB-v\fR | \fB--version\fR}
|
33 |
+
]
|
34 |
+
'in \n(.iu-\nxu
|
35 |
+
.ad b
|
36 |
+
'hy
|
37 |
+
.SH DESCRIPTION
|
38 |
+
isympy is a Python shell for SymPy. It is just a normal python shell
|
39 |
+
(ipython shell if you have the ipython package installed) that executes
|
40 |
+
the following commands so that you don't have to:
|
41 |
+
.PP
|
42 |
+
.nf
|
43 |
+
\*(T<
|
44 |
+
>>> from __future__ import division
|
45 |
+
>>> from sympy import *
|
46 |
+
>>> x, y, z = symbols("x,y,z")
|
47 |
+
>>> k, m, n = symbols("k,m,n", integer=True)
|
48 |
+
\*(T>
|
49 |
+
.fi
|
50 |
+
.PP
|
51 |
+
So starting isympy is equivalent to starting python (or ipython) and
|
52 |
+
executing the above commands by hand. It is intended for easy and quick
|
53 |
+
experimentation with SymPy. For more complicated programs, it is recommended
|
54 |
+
to write a script and import things explicitly (using the "from sympy
|
55 |
+
import sin, log, Symbol, ..." idiom).
|
56 |
+
.SH OPTIONS
|
57 |
+
.TP
|
58 |
+
\*(T<\fB\-c \fR\*(T>\fISHELL\fR, \*(T<\fB\-\-console=\fR\*(T>\fISHELL\fR
|
59 |
+
Use the specified shell (python or ipython) as
|
60 |
+
console backend instead of the default one (ipython
|
61 |
+
if present or python otherwise).
|
62 |
+
|
63 |
+
Example: isympy -c python
|
64 |
+
|
65 |
+
\fISHELL\fR could be either
|
66 |
+
\&'ipython' or 'python'
|
67 |
+
.TP
|
68 |
+
\*(T<\fB\-p \fR\*(T>\fIENCODING\fR, \*(T<\fB\-\-pretty=\fR\*(T>\fIENCODING\fR
|
69 |
+
Setup pretty printing in SymPy. By default, the most pretty, unicode
|
70 |
+
printing is enabled (if the terminal supports it). You can use less
|
71 |
+
pretty ASCII printing instead or no pretty printing at all.
|
72 |
+
|
73 |
+
Example: isympy -p no
|
74 |
+
|
75 |
+
\fIENCODING\fR must be one of 'unicode',
|
76 |
+
\&'ascii' or 'no'.
|
77 |
+
.TP
|
78 |
+
\*(T<\fB\-t \fR\*(T>\fITYPE\fR, \*(T<\fB\-\-types=\fR\*(T>\fITYPE\fR
|
79 |
+
Setup the ground types for the polys. By default, gmpy ground types
|
80 |
+
are used if gmpy2 or gmpy is installed, otherwise it falls back to python
|
81 |
+
ground types, which are a little bit slower. You can manually
|
82 |
+
choose python ground types even if gmpy is installed (e.g., for testing purposes).
|
83 |
+
|
84 |
+
Note that sympy ground types are not supported, and should be used
|
85 |
+
only for experimental purposes.
|
86 |
+
|
87 |
+
Note that the gmpy1 ground type is primarily intended for testing; it the
|
88 |
+
use of gmpy even if gmpy2 is available.
|
89 |
+
|
90 |
+
This is the same as setting the environment variable
|
91 |
+
SYMPY_GROUND_TYPES to the given ground type (e.g.,
|
92 |
+
SYMPY_GROUND_TYPES='gmpy')
|
93 |
+
|
94 |
+
The ground types can be determined interactively from the variable
|
95 |
+
sympy.polys.domains.GROUND_TYPES inside the isympy shell itself.
|
96 |
+
|
97 |
+
Example: isympy -t python
|
98 |
+
|
99 |
+
\fITYPE\fR must be one of 'gmpy',
|
100 |
+
\&'gmpy1' or 'python'.
|
101 |
+
.TP
|
102 |
+
\*(T<\fB\-o \fR\*(T>\fIORDER\fR, \*(T<\fB\-\-order=\fR\*(T>\fIORDER\fR
|
103 |
+
Setup the ordering of terms for printing. The default is lex, which
|
104 |
+
orders terms lexicographically (e.g., x**2 + x + 1). You can choose
|
105 |
+
other orderings, such as rev-lex, which will use reverse
|
106 |
+
lexicographic ordering (e.g., 1 + x + x**2).
|
107 |
+
|
108 |
+
Note that for very large expressions, ORDER='none' may speed up
|
109 |
+
printing considerably, with the tradeoff that the order of the terms
|
110 |
+
in the printed expression will have no canonical order
|
111 |
+
|
112 |
+
Example: isympy -o rev-lax
|
113 |
+
|
114 |
+
\fIORDER\fR must be one of 'lex', 'rev-lex', 'grlex',
|
115 |
+
\&'rev-grlex', 'grevlex', 'rev-grevlex', 'old', or 'none'.
|
116 |
+
.TP
|
117 |
+
\*(T<\fB\-q\fR\*(T>, \*(T<\fB\-\-quiet\fR\*(T>
|
118 |
+
Print only Python's and SymPy's versions to stdout at startup, and nothing else.
|
119 |
+
.TP
|
120 |
+
\*(T<\fB\-d\fR\*(T>, \*(T<\fB\-\-doctest\fR\*(T>
|
121 |
+
Use the same format that should be used for doctests. This is
|
122 |
+
equivalent to '\fIisympy -c python -p no\fR'.
|
123 |
+
.TP
|
124 |
+
\*(T<\fB\-C\fR\*(T>, \*(T<\fB\-\-no\-cache\fR\*(T>
|
125 |
+
Disable the caching mechanism. Disabling the cache may slow certain
|
126 |
+
operations down considerably. This is useful for testing the cache,
|
127 |
+
or for benchmarking, as the cache can result in deceptive benchmark timings.
|
128 |
+
|
129 |
+
This is the same as setting the environment variable SYMPY_USE_CACHE
|
130 |
+
to 'no'.
|
131 |
+
.TP
|
132 |
+
\*(T<\fB\-a\fR\*(T>, \*(T<\fB\-\-auto\fR\*(T>
|
133 |
+
Automatically create missing symbols. Normally, typing a name of a
|
134 |
+
Symbol that has not been instantiated first would raise NameError,
|
135 |
+
but with this option enabled, any undefined name will be
|
136 |
+
automatically created as a Symbol. This only works in IPython 0.11.
|
137 |
+
|
138 |
+
Note that this is intended only for interactive, calculator style
|
139 |
+
usage. In a script that uses SymPy, Symbols should be instantiated
|
140 |
+
at the top, so that it's clear what they are.
|
141 |
+
|
142 |
+
This will not override any names that are already defined, which
|
143 |
+
includes the single character letters represented by the mnemonic
|
144 |
+
QCOSINE (see the "Gotchas and Pitfalls" document in the
|
145 |
+
documentation). You can delete existing names by executing "del
|
146 |
+
name" in the shell itself. You can see if a name is defined by typing
|
147 |
+
"'name' in globals()".
|
148 |
+
|
149 |
+
The Symbols that are created using this have default assumptions.
|
150 |
+
If you want to place assumptions on symbols, you should create them
|
151 |
+
using symbols() or var().
|
152 |
+
|
153 |
+
Finally, this only works in the top level namespace. So, for
|
154 |
+
example, if you define a function in isympy with an undefined
|
155 |
+
Symbol, it will not work.
|
156 |
+
.TP
|
157 |
+
\*(T<\fB\-D\fR\*(T>, \*(T<\fB\-\-debug\fR\*(T>
|
158 |
+
Enable debugging output. This is the same as setting the
|
159 |
+
environment variable SYMPY_DEBUG to 'True'. The debug status is set
|
160 |
+
in the variable SYMPY_DEBUG within isympy.
|
161 |
+
.TP
|
162 |
+
-- \fIPYTHONOPTIONS\fR
|
163 |
+
These options will be passed on to \fIipython (1)\fR shell.
|
164 |
+
Only supported when ipython is being used (standard python shell not supported).
|
165 |
+
|
166 |
+
Two dashes (--) are required to separate \fIPYTHONOPTIONS\fR
|
167 |
+
from the other isympy options.
|
168 |
+
|
169 |
+
For example, to run iSymPy without startup banner and colors:
|
170 |
+
|
171 |
+
isympy -q -c ipython -- --colors=NoColor
|
172 |
+
.TP
|
173 |
+
\*(T<\fB\-h\fR\*(T>, \*(T<\fB\-\-help\fR\*(T>
|
174 |
+
Print help output and exit.
|
175 |
+
.TP
|
176 |
+
\*(T<\fB\-v\fR\*(T>, \*(T<\fB\-\-version\fR\*(T>
|
177 |
+
Print isympy version information and exit.
|
178 |
+
.SH FILES
|
179 |
+
.TP
|
180 |
+
\*(T<\fI${HOME}/.sympy\-history\fR\*(T>
|
181 |
+
Saves the history of commands when using the python
|
182 |
+
shell as backend.
|
183 |
+
.SH BUGS
|
184 |
+
The upstreams BTS can be found at \(lahttps://github.com/sympy/sympy/issues\(ra
|
185 |
+
Please report all bugs that you find in there, this will help improve
|
186 |
+
the overall quality of SymPy.
|
187 |
+
.SH "SEE ALSO"
|
188 |
+
\fBipython\fR(1), \fBpython\fR(1)
|