Searched refs:det (Results 1 - 25 of 25) sorted by relevance

/inkscape/src/live_effects/
H A Dlpe-circle_3pts.cpp42 double det = -v[0] * w[1] + v[1] * w[0]; local
45 double lambda = 1/det * (-w[1] * F[0] + w[0] * F[1]);
/inkscape/share/extensions/
H A Dsimpletransform.py82 det = mat[0][0]*mat[1][1] - mat[0][1]*mat[1][0]
83 if det !=0: # det is 0 only in case of 0 scaling
85 a11 = mat[1][1]/det
86 a12 = -mat[0][1]/det
87 a21 = -mat[1][0]/det
88 a22 = mat[0][0]/det
H A Drender_alphabetsoup.py114 det = b*b - 4.0*a*c
115 if det >= 0: # real roots
116 sdet = math.sqrt(det)
118 sdet = cmath.sqrt(det)
146 det=c*c - 4.0*b*d
147 if det >= 0:
148 return [(-c + math.sqrt(det))/(2.0*b),(-c - math.sqrt(det))/(2.0*b)]
H A Dbezmisc.py49 det=c**2.0-4.0*b*d
50 if det:
51 return (-c+cmath.sqrt(det))/(2.0*b),(-c-cmath.sqrt(det))/(2.0*b)
H A DjessyInk.js2634 det = this.e11 * (this.e33 * this.e22 - this.e32 * this.e23) - this.e21 * (this.e33 * this.e12 - this.e32 * this.e13) + this.e31 * (this.e23 * this.e12 - this.e22 * this.e13);
2636 out.e11 = (this.e33 * this.e22 - this.e32 * this.e23) / det;
2637 out.e12 = -(this.e33 * this.e12 - this.e32 * this.e13) / det;
2638 out.e13 = (this.e23 * this.e12 - this.e22 * this.e13) / det;
2639 out.e21 = -(this.e33 * this.e21 - this.e31 * this.e23) / det;
2640 out.e22 = (this.e33 * this.e11 - this.e31 * this.e13) / det;
2641 out.e23 = -(this.e23 * this.e11 - this.e21 * this.e13) / det;
2642 out.e31 = (this.e32 * this.e21 - this.e31 * this.e22) / det;
2643 out.e32 = -(this.e32 * this.e11 - this.e31 * this.e12) / det;
2644 out.e33 = (this.e22 * this.e11 - this.e21 * this.e12) / det;
[all...]
H A Dgcodetools.py552 det = F1[0][0]*F1[1][1] - F1[0][1]*F1[1][0]
553 if det!=0 :
554 F1 = [ [ F1[1][1]/det, -F1[0][1]/det], [-F1[1][0]/det, F1[0][0]/det] ]
1443 det = det_3x3(a)
1444 if det==0: return None
1446 [ (a[1][1]*a[2][2] - a[2][1]*a[1][2])/det, -(a[0][1]*a[2][2] - a[2][1]*a[0][2])/det, (
[all...]
/inkscape/src/2geom/numeric/
H A Dsymmetric-matrix-fs-operation.h79 double d = det(S);
H A Dsymmetric-matrix-fs-trace.h101 return det(M);
232 //std::cout << "trace_sgn<2,2>: det = " << d << std::endl;
334 double det (const ConstBaseSymmetricMatrix<N> & _matrix) function in namespace:Geom::NL
H A Dmatrix.cpp119 double det (detail::BaseMatrixImpl const& A) function in namespace:Geom::NL
H A Dmatrix.h588 double det (detail::BaseMatrixImpl const& A);
/inkscape/src/
H A Dline-geometry.cpp101 double det = determinant (v1, v2);; local
102 if (fabs (det) < epsilon) {
107 double lambda1 = determinant (w, v2) / det;
108 double lambda2 = determinant (v1, w) / det;
H A Dsp-item-transform.cpp344 gdouble det = -C/B;
346 det = (-B + sqrt(B*B - 4*A*C))/(2*A);
347 r1w = r0w*det;
348 r1h = r0h*det;
/inkscape/src/2geom/
H A Daffine.cpp320 * @return True iff \f$|\det A| = 1\f$. */
369 return det() < 0;
378 return are_near(det(), 0.0, eps);
394 Geom::Coord const determ = det();
415 * @return \f$\det A\f$. */
416 Coord Affine::det() const { function in class:Geom::Affine
423 * @return \f$|\det A|\f$. */
425 return fabs(det());
433 * @return \f$\sqrt{|\det A|}\f$. */
H A Drecursive-bezier-intersection.cpp289 double det = xnm * ylk - ynm * xlk; local
290 if( 1.0 + det == 1.0 )
294 double detinv = 1.0 / det;
H A Dconicsec.cpp55 static double det(Point a, Point b) { function in namespace:Geom
60 static T det(T a, T b, T c, T d) { function in namespace:Geom
65 static T det(T M[2][2]) { function in namespace:Geom
71 return ( M[0][0] * det(M[1][1], M[1][2],
73 -M[1][0] * det(M[0][1], M[0][2],
75 +M[2][0] * det(M[0][1], M[0][2],
80 return det(a,b) - det(a,c) + det(b,c);
242 double const determ = det(
[all...]
H A Daffine.h179 Coord det() const;
H A Dpath-intersection.cpp77 double &tA, double &tB, double &det) {
84 det = cross(Ad, Bd);
86 double det_rel = det; // Calculate the determinant of the normalized vectors
103 double detinv = 1.0 / det;
76 linear_intersect(Point const &A0, Point const &A1, Point const &B0, Point const &B1, double &tA, double &tB, double &det) argument
H A Dsbasis.cpp642 double det = p10*q01-p01*q10; local
644 //TODO: handle det~0!!
645 if (fabs(det)<zero){
648 a=( q01*r10-q10*r01)/det;
649 b=(-p01*r10+p10*r01)/det;
H A Dbezier-clipping.cpp130 double det(Point const& P1, Point const& P2) function in namespace:Geom::detail::bezier_clipping
141 double d = det(P1, P2);
144 P[X] = det(Q, P2) * d;
145 P[Y] = det(P1, Q) * d;
H A Delliptical-arc.cpp771 if (m.det() < 0) {
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp630 double det; local
635 det = _ttm[0] * _ttm[3] - _ttm[1] * _ttm[2];
636 if (det) {
638 ittm[0] = _ttm[3] / det;
639 ittm[1] = -_ttm[1] / det;
640 ittm[2] = -_ttm[2] / det;
641 ittm[3] = _ttm[0] / det;
642 ittm[4] = (_ttm[2] * _ttm[5] - _ttm[3] * _ttm[4]) / det;
643 ittm[5] = (_ttm[1] * _ttm[4] - _ttm[0] * _ttm[5]) / det;
677 double det; local
[all...]
H A Dpdf-parser.cpp1578 double det; local
1627 det = 1 / (ctm[0] * ctm[3] - ctm[1] * ctm[2]);
1628 ictm[0] = ctm[3] * det;
1629 ictm[1] = -ctm[1] * det;
1630 ictm[2] = -ctm[2] * det;
1631 ictm[3] = ctm[0] * det;
1632 ictm[4] = (ctm[2] * ctm[5] - ctm[3] * ctm[4]) * det;
1633 ictm[5] = (ctm[1] * ctm[4] - ctm[0] * ctm[5]) * det;
/inkscape/src/ui/widget/
H A Dgimpcolorwheel.c641 gdouble det, s, v; local
645 det = (vx - sx) * (hy - sy) - (vy - sy) * (hx - sx);
647 s = ((x - sx) * (hy - sy) - (y - sy) * (hx - sx)) / det;
648 v = ((vx - sx) * (y - sy) - (vy - sy) * (x - sx)) / det;
/inkscape/src/livarot/
H A DPathSimplify.cpp264 double const det = M.det(); local
265 if (fabs(det) < 0.000001) {
H A DShapeSweep.cpp2608 double det = m.det(); local
2610 double tdet = det * ils->eData[ilb].isqlength * irs->eData[irb].isqlength;
2645 atL = (m[0]* usvs[0] + m[1] * usvs[1]) / det;
2646 atR = -(m[2] * usvs[0] + m[3] * usvs[1]) / det;

Completed in 527 milliseconds