Searched refs:numpy (Results 1 - 6 of 6) sorted by relevance
/inkscape/share/extensions/ |
H A D | measure.py | 56 import numpy namespace 58 inkex.errormsg(_("Failed to import the numpy modules. These modules are required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy.")) namespace 61 mat_area = numpy.matrix([[ 0, 2, 1, -3],[ -2, 0, 1, 1],[ -1, -1, 0, 2],[ 3, -1, -2, 0]]) 62 mat_cofm_0 = numpy.matrix([[ 0, 35, 10,-45],[-35, 0, 12, 23],[-10,-12, 0, 22],[ 45,-23,-22, 0]]) 63 mat_cofm_1 = numpy.matrix([[ 0, 15, 3,-18],[-15, 0, 9, 6],[ -3, -9, 0, 12],[ 18, -6,-12, 0]]) 64 mat_cofm_2 = numpy.matrix([[ 0, 12, 6,-18],[-12, 0, 9, 3],[ -6, -9, 0, 15],[ 18, -3,-15, 0]]) 65 mat_cofm_3 = numpy.matrix([[ 0, 22, 23,-45],[-22, 0, 12, 10],[-23,-12, 0, 35],[ 45,-10,-35, 0]]) 111 vec_x = numpy.matrix([sp[i-1][1][0], sp[i-1][2][0], sp[i][0][0], sp[i][1][0]]) 112 vec_y = numpy [all...] |
H A D | perspective.py | 41 from numpy import * 42 from numpy.linalg import * 44 inkex.errormsg(_("Failed to import the numpy or numpy.linalg modules. These modules are required by this extension. Please install them and try again. On a Debian-like system this can be done with the command, sudo apt-get install python-numpy.")) namespace
|
H A D | dxf_outlines.py | 46 from numpy import * 47 from numpy.linalg import solve 49 inkex.errormsg(_("Failed to import the numpy or numpy.linalg modules. These modules are required by this extension. Please install them and try again.")) namespace
|
H A D | pixelsnap.py | 64 # *** numpy causes issue #4 on Mac OS 10.6.2. I use it for 67 from numpy import matrix
|
H A D | polyhedron_3d.py | 64 from numpy import * 66 inkex.errormsg(_("Failed to import the numpy module. This module is required by this extension. Please install it and try again. On a Debian-like system this can be done with the command 'sudo apt-get install python-numpy'.")) namespace
|
H A D | gcodetools.py | 80 import numpy namespace 4012 trans = numpy.array(transform + [[0,0,1]]) 4013 if numpy.linalg.det(trans)!=0 : 4014 trans = numpy.linalg.inv(trans).tolist()[:2] 4057 matrix = numpy.array([ 4069 if numpy.linalg.det(matrix)!=0 : 4070 m = numpy.linalg.solve(matrix, 4071 numpy.array( 4082 self.transform_matrix_reverse[layer] = numpy.linalg.inv(self.transform_matrix[layer]).tolist()
|
Completed in 1179 milliseconds