Skip to content

Commit 4695a18

Browse files
committed
Changed DenseMatrix to DenseMatrixBase and Additional Changes
1 parent 51ce008 commit 4695a18

File tree

5 files changed

+152
-122
lines changed

5 files changed

+152
-122
lines changed

symengine/__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from .lib.symengine_wrapper import (Symbol, Integer, sympify, SympifyError,
22
Add, Mul, Pow, exp, log, gamma, sqrt, function_symbol, I, E, pi,
33
have_mpfr, have_mpc, have_flint, have_piranha, have_llvm,
4-
RealDouble, ComplexDouble, DenseMatrix, Matrix,
5-
sin, cos, tan, cot, csc, sec, asin, acos, atan, acot, acsc, asec,
6-
sinh, cosh, tanh, coth, asinh, acosh, atanh, acoth, Lambdify,
7-
LambdifyCSE, DictBasic, series, symarray, diff, zeros, eye, diag,
8-
ones, zeros, add, expand, has_symbol, UndefFunction)
4+
RealDouble, ComplexDouble, MutableDenseMatrix, ImmutableDenseMatrix,
5+
DenseMatrix, Matrix, sin, cos, tan, cot, csc, sec, asin, acos, atan,
6+
acot, acsc, asec, sinh, cosh, tanh, coth, asinh, acosh, atanh, acoth,
7+
Lambdify, LambdifyCSE, DictBasic, series, symarray, diff, zeros, eye,
8+
diag, ones, zeros, add, expand, has_symbol, UndefFunction)
99
from .utilities import var, symbols
1010

1111
if have_mpfr:

symengine/lib/symengine_wrapper.pxd

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ cdef class Subs(Basic):
145145
cdef class MatrixBase(object):
146146
cdef symengine.MatrixBase* thisptr
147147

148-
cdef class DenseMatrix(MatrixBase):
148+
cdef class DenseMatrixBase(MatrixBase):
149149
pass
150150

151-
cdef class MutableDenseMatrix(DenseMatrix):
151+
cdef class MutableDenseMatrix(DenseMatrixBase):
152152
pass
153153

154-
cdef class ImmutableDenseMatrix(DenseMatrix):
154+
cdef class ImmutableDenseMatrix(DenseMatrixBase):
155155
pass
156156

157157
cdef class Log(Function):

0 commit comments

Comments
 (0)