HomeSort by relevance Sort by last modified time
    Searched defs:coefficients (Results 1 - 21 of 21) sorted by null

  /external/eigen/doc/special_examples/
Tutorial_sparse_example.cpp 7 void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd& b, int n);
16 std::vector<T> coefficients; // list of non-zeros coefficients local
18 buildProblem(coefficients, b, n);
21 A.setFromTriplets(coefficients.begin(), coefficients.end());
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
LinearInterpolator.java 66 final double coefficients[] = new double[2]; local
68 coefficients[0] = y[i];
69 coefficients[1] = m[i];
70 polynomials[i] = new PolynomialFunction(coefficients);
SplineInterpolator.java 100 // cubic spline coefficients -- b is linear, c quadratic, d is cubic (original y's are constants)
115 double coefficients[] = new double[4]; local
117 coefficients[0] = y[i];
118 coefficients[1] = b[i];
119 coefficients[2] = c[i];
120 coefficients[3] = d[i];
121 polynomials[i] = new PolynomialFunction(coefficients);
  /external/skia/src/gpu/effects/
GrBicubicEffect.h 26 const float* coefficients() const { return fCoefficients; } function in class:GrBicubicEffect
37 * Create a simple filter effect with custom bicubic coefficients and optional domain.
39 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16],
44 return Create(tex, coefficients, GrCoordTransform::MakeDivByTextureWHMatrix(tex),
47 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients,
62 * Create a filter effect with custom bicubic coefficients, the texture matrix, and the x/y
65 static GrFragmentProcessor* Create(GrTexture* tex, const SkScalar coefficients[16],
68 return SkNEW_ARGS(GrBicubicEffect, (tex, coefficients, matrix, tileModes));
90 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16],
92 GrBicubicEffect(GrTexture*, const SkScalar coefficients[16]
    [all...]
GrBicubicEffect.cpp 64 "Coefficients");
75 GrGLShaderVar("coefficients", kMat44f_GrSLType),
89 "\tvec4 c = coefficients * ts;\n"
124 pdman.setMatrix4f(fCoefficientsUni, bicubicEffect.coefficients());
138 const SkScalar coefficients[16],
144 convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients);
148 const SkScalar coefficients[16],
155 convert_row_major_scalar_coeffs_to_column_major_floats(fCoefficients, coefficients);
172 return !memcmp(fCoefficients, s.coefficients(), 16) &&
189 SkScalar coefficients[16] local
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
PolynomialFunctionNewtonForm.java 40 * The coefficients of the polynomial, ordered by degree -- i.e.
41 * coefficients[0] is the constant term and coefficients[n] is the
44 private double coefficients[]; field in class:PolynomialFunctionNewtonForm
52 * When all c[i] = 0, a[] becomes normal polynomial coefficients,
53 * i.e. a[i] = coefficients[i].
58 * Whether the polynomial coefficients are available.
69 * @param a the coefficients in Newton form formula
106 * Returns a copy of coefficients in Newton form formula.
110 * @return a fresh copy of coefficients in Newton form formul
    [all...]
PolynomialFunction.java 29 * Immutable representation of a real polynomial function with real coefficients.
44 * The coefficients of the polynomial, ordered by degree -- i.e.,
45 * coefficients[0] is the constant term and coefficients[n] is the
48 private final double coefficients[]; field in class:PolynomialFunction
51 * Construct a polynomial with the given coefficients. The first element
52 * of the coefficients array is the constant term. Higher degree
53 * coefficients follow in sequence. The degree of the resulting polynomial
58 * the coefficients property.</p>
60 * @param c polynomial coefficients
    [all...]
PolynomialFunctionLagrangeForm.java 41 * The coefficients of the polynomial, ordered by degree -- i.e.
42 * coefficients[0] is the constant term and coefficients[n] is the
45 private double coefficients[]; field in class:PolynomialFunctionLagrangeForm
58 * Whether the polynomial coefficients are available.
128 * Returns a copy of the coefficients array.
132 * Note that coefficients computation can be ill-conditioned. Use with caution
135 * @return a fresh copy of the coefficients array
141 double[] out = new double[coefficients.length];
142 System.arraycopy(coefficients, 0, out, 0, coefficients.length)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
LinearConstraint.java 45 * The c<sub>i</sub>, l<sub>i</sub> or r<sub>i</sub> are the coefficients of the constraints, the x<sub>i</sub>
56 /** Coefficients of the constraint (left hand side). */
57 private final transient RealVector coefficients; field in class:LinearConstraint
75 * @param coefficients The coefficients of the constraint (left hand side)
79 public LinearConstraint(final double[] coefficients, final Relationship relationship,
81 this(new ArrayRealVector(coefficients), relationship, value);
94 * @param coefficients The coefficients of the constraint (left hand side)
98 public LinearConstraint(final RealVector coefficients, final Relationship relationship
    [all...]
LinearObjectiveFunction.java 36 * The c<sub>i</sub> and d are the coefficients of the equation,
47 /** Coefficients of the constraint (c<sub>i</sub>). */
48 private final transient RealVector coefficients; field in class:LinearObjectiveFunction
54 * @param coefficients The coefficients for the linear equation being optimized
57 public LinearObjectiveFunction(double[] coefficients, double constantTerm) {
58 this(new ArrayRealVector(coefficients), constantTerm);
62 * @param coefficients The coefficients for the linear equation being optimized
65 public LinearObjectiveFunction(RealVector coefficients, double constantTerm)
    [all...]
SimplexTableau.java 185 // decision variable coefficients
268 * Get the -1 times the sum of all coefficients in the given array.
269 * @param coefficients coefficients to sum
270 * @return the -1 times the sum of all coefficients in the given array.
272 protected static double getInvertedCoeffiecientSum(final RealVector coefficients) {
274 for (double coefficient : coefficients.getData()) {
374 double[] coefficients = new double[getOriginalNumDecisionVariables()]; local
375 for (int i = 0; i < coefficients.length; i++) {
378 coefficients[i] = 0
    [all...]