Searched refs:eqn (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/test/java/awt/geom/CubicCurve2D/
H A DSolveCubicTest.java37 double[] eqn = {0, 0, 1, 1};
38 int numRoots = solveCubic(eqn, eqn);
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DCubicCurve2D.java1053 * Solves the cubic whose coefficients are in the <code>eqn</code>
1058 * eqn = {c, b, a, d}
1064 * @param eqn an array containing coefficients for a cubic
1068 public static int solveCubic(double eqn[]) { argument
1069 return solveCubic(eqn, eqn);
1073 * Solve the cubic whose coefficients are in the <code>eqn</code>
1077 * eqn = {c, b, a, d}
1082 * @param eqn the specified array of coefficients to use to solve
1089 public static int solveCubic(double eqn[], doubl argument
1182 fixRoots(double[] eqn, double[] res, int num) argument
1282 refineRootWithHint(double[] eqn, double min, double max, double t) argument
1306 bisectRootWithHint(double[] eqn, double x0, double xe, double hint) argument
1336 bisectRoot(double[] eqn, double x0, double xe) argument
1372 solveEqn(double eqn[], int order, double t) argument
1388 getRootUpperBound(double[] eqn) argument
[all...]
H A DQuadCurve2D.java838 * Solves the quadratic whose coefficients are in the <code>eqn</code>
843 * eqn = {C, B, A};
849 * @param eqn the array that contains the quadratic coefficients
854 public static int solveQuadratic(double eqn[]) { argument
855 return solveQuadratic(eqn, eqn);
859 * Solves the quadratic whose coefficients are in the <code>eqn</code>
864 * eqn = {C, B, A};
870 * @param eqn the specified array of coefficients to use to solve
878 public static int solveQuadratic(double eqn[], doubl argument
1039 fillEqn(double eqn[], double val, double c1, double cp, double c2) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder3.java532 double eqn[] = {xcoeff1, 2 * xcoeff2, 3 * xcoeff3};
533 int numroots = QuadCurve2D.solveQuadratic(eqn, eqn);
535 if (eqn[i] > t0 && eqn[i] < t1) {
536 t1 = eqn[i];
544 double eqn[] = {xcoeff1, 2 * xcoeff2, 3 * xcoeff3};
545 int numroots = QuadCurve2D.solveQuadratic(eqn, eqn);
547 double t = eqn[
[all...]
H A DOrder2.java410 double eqn[] = new double[10];
411 eqn[0] = x0;
412 eqn[1] = y0;
413 eqn[2] = cx0;
414 eqn[3] = cy0;
415 eqn[4] = x1;
416 eqn[5] = y1;
418 split(eqn, 0, t1);
424 split(eqn, 0, t0 / t1);
427 return new Order2(eqn[
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DProcessPath.java1232 double eqn[] = new double[3];
1251 eqn[2] = -coords[0] + 3*coords[2] - 3*coords[4] + coords[6];
1252 eqn[1] = 2*(coords[0] - 2*coords[2] + coords[4]);
1253 eqn[0] = -coords[0] + coords[2];
1255 int nr = QuadCurve2D.solveQuadratic(eqn, res);
1283 eqn[2] = -coords[1] + 3*coords[3] - 3*coords[5] + coords[7];
1284 eqn[1] = 2*(coords[1] - 2*coords[3] + coords[5]);
1285 eqn[0] = -coords[1] + coords[3];
1287 int nr = QuadCurve2D.solveQuadratic(eqn, res);

Completed in 67 milliseconds