pysym
Advanced tools
+4
-0
@@ -0,1 +1,5 @@ | ||
| v0.2.1 | ||
| ====== | ||
| - Fix in Matrix constructor (wrap Numbers) | ||
| v0.2 | ||
@@ -2,0 +6,0 @@ ==== |
+1
-1
| Metadata-Version: 1.1 | ||
| Name: pysym | ||
| Version: 0.2.0 | ||
| Version: 0.2.1 | ||
| Summary: Minimal symbolic manipulation framework. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bjodah/pysym |
| Metadata-Version: 1.1 | ||
| Name: pysym | ||
| Version: 0.2.0 | ||
| Version: 0.2.1 | ||
| Summary: Minimal symbolic manipulation framework. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bjodah/pysym |
@@ -1,1 +0,1 @@ | ||
| __version__ = '0.2.0' | ||
| __version__ = '0.2.1' |
+2
-2
@@ -768,5 +768,5 @@ # -*- coding: utf-8 -*- | ||
| try: | ||
| return source[ri, ci] | ||
| return Number.make(source[ri, ci]) | ||
| except TypeError: | ||
| return source[ri*ncols + ci] | ||
| return Number.make(source[ri*ncols + ci]) | ||
| self.args = (nrows, ncols) + tuple( | ||
@@ -773,0 +773,0 @@ callback(ri, ci) for ri, ci in itertools.product( |
@@ -205,1 +205,11 @@ # -*- coding: utf-8 -*- | ||
| check(A) | ||
| def test_Lambdify_matrix(): | ||
| import numpy as np | ||
| x, y = arr = se.symarray('x', 2) | ||
| mat = se.Matrix(2, 2, [x, 1+y, 2*y*x**2, 3]) | ||
| lmb = se.Lambdify(arr, mat) | ||
| result = lmb([3, 5]) | ||
| assert result.shape == (2, 2) | ||
| assert np.allclose(result, [[3, 6], [90, 3]]) |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
46237
0.79%1234
0.65%