mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
localized sympy
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from .__init__ import *
|
||||
import sympy
|
||||
|
||||
def matrixInversion(SquareMatrixDimension=3, MaxMatrixElement=99, OnlyIntegerElementsInInvertedMatrix=False):
|
||||
if OnlyIntegerElementsInInvertedMatrix is True:
|
||||
@@ -65,4 +66,4 @@ def matrixInversion(SquareMatrixDimension=3, MaxMatrixElement=99, OnlyIntegerEle
|
||||
Mat = sympy.Matrix(Mat)
|
||||
problem = 'Inverse of Matrix ' + str(Mat) + ' is:'
|
||||
solution = str(sympy.Matrix.inv(Mat))
|
||||
return problem, solution
|
||||
return problem, solution
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import random
|
||||
import math
|
||||
import fractions
|
||||
import sympy
|
||||
from .funcs import *
|
||||
|
||||
genList = []
|
||||
|
||||
Reference in New Issue
Block a user