projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Docs
[linpy.git]
/
doc
/
linexpr.rst
diff --git
a/doc/linexpr.rst
b/doc/linexpr.rst
index
2aab652
..
b5d8069
100644
(file)
--- a/
doc/linexpr.rst
+++ b/
doc/linexpr.rst
@@
-1,7
+1,7
@@
Linear Expression Module
========================
Linear Expression Module
========================
-This class implements linear expressions.
+This class implements linear expressions.
A linear expression is….
.. py:class:: Expression
.. py:class:: Expression
@@
-14,21
+14,21
@@
This class implements linear expressions.
Return a list of the coefficients of an expression
Return a list of the coefficients of an expression
- ..
py:method:: constant(self)
+ ..
attribute:: constant
Return the constant value of an expression.
Return the constant value of an expression.
- ..
py:method:: symbols(self)
+ ..
attribute:: symbols
Return a list of symbols in an expression.
Return a list of symbols in an expression.
- ..
py:method:: dimension(self)
+ ..
attribute:: dimension
- Return the number of vriables in an expression.
+ Return the number of v
a
riables in an expression.
.. py:method:: __sub__(self, other)
.. py:method:: __sub__(self, other)
- Return the difference between
two expressions
.
+ Return the difference between
*self* and *other*
.
.. py:method:: subs(self, symbol, expression=None)
.. py:method:: subs(self, symbol, expression=None)