/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | ArrayFieldVector.java | 555 public T dotProduct(FieldVector<T> v) in dotProduct() method in ArrayFieldVector 558 return dotProduct((ArrayFieldVector<T>) v); in dotProduct() 570 public T dotProduct(T[] v) in dotProduct() method in ArrayFieldVector 586 public T dotProduct(ArrayFieldVector<T> v) in dotProduct() method in ArrayFieldVector 588 return dotProduct(v.data); in dotProduct() 593 return v.mapMultiply(dotProduct(v).divide(v.dotProduct(v))); in projection() 607 return (ArrayFieldVector<T>) v.mapMultiply(dotProduct(v).divide(v.dotProduct(v))); in projection()
|
D | ArrayRealVector.java | 684 public double dotProduct(RealVector v) in dotProduct() method in ArrayRealVector 687 return dotProduct((ArrayRealVector) v); in dotProduct() 702 public double dotProduct(double[] v) in dotProduct() method in ArrayRealVector 718 public double dotProduct(ArrayRealVector v) in dotProduct() method in ArrayRealVector 720 return dotProduct(v.data); in dotProduct() 919 return v.mapMultiply(dotProduct(v) / v.dotProduct(v)); in projection() 934 return (ArrayRealVector) v.mapMultiply(dotProduct(v) / v.dotProduct(v)); in projection()
|
D | QRDecompositionImpl.java | 309 double dotProduct = 0; in solve() local 311 dotProduct += y[row] * qrtMinor[row]; in solve() 313 dotProduct /= rDiag[minor] * qrtMinor[minor]; in solve() 316 y[row] += dotProduct * qrtMinor[row]; in solve()
|
D | FieldVector.java | 213 T dotProduct(FieldVector<T> v) in dotProduct() method 222 T dotProduct(T[] v) in dotProduct() method
|
D | OpenMapRealVector.java | 301 public double dotProduct(OpenMapRealVector v) throws IllegalArgumentException { in dotProduct() method in OpenMapRealVector 316 public double dotProduct(RealVector v) throws IllegalArgumentException { 318 return dotProduct((OpenMapRealVector)v); 320 return super.dotProduct(v); 630 return v.mapMultiply(dotProduct(v) / v.dotProduct(v));
|
D | RealVector.java | 717 double dotProduct(RealVector v); in dotProduct() method 726 double dotProduct(double[] v); in dotProduct() method
|
D | SparseFieldVector.java | 214 public T dotProduct(FieldVector<T> v) throws IllegalArgumentException { in dotProduct() method in SparseFieldVector 226 public T dotProduct(T[] v) throws IllegalArgumentException { in dotProduct() method in SparseFieldVector 452 return v.mapMultiply(dotProduct(v).divide(v.dotProduct(v))); in projection()
|
D | AbstractRealVector.java | 170 public double dotProduct(double[] v) throws IllegalArgumentException { in dotProduct() method in AbstractRealVector 171 return dotProduct(new ArrayRealVector(v, false)); in dotProduct() 175 public double dotProduct(RealVector v) throws IllegalArgumentException { in dotProduct() method in AbstractRealVector
|
D | EigenDecompositionImpl.java | 304 final double s = v.dotProduct(b) / realEigenvalues[i]; in solve() 346 final double s = v.dotProduct(b) / realEigenvalues[i]; in solve()
|
D | SingularValueDecompositionImpl.java | 149 double product=matrix.operate(cachedV.getColumnVector(i)).dotProduct(tmp); in SingularValueDecompositionImpl()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
D | LinearObjectiveFunction.java | 92 return coefficients.dotProduct(point) + constantTerm; in getValue() 101 return coefficients.dotProduct(point) + constantTerm; in getValue()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/ |
D | NonLinearConjugateGradientOptimizer.java | 283 double dotProduct = 0; in value() local 285 dotProduct += gradient[i] * searchDirection[i]; in value() 288 return dotProduct; in value()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
D | Rotation.java | 316 double u1u1 = Vector3D.dotProduct(u1, u1); in Rotation() 317 double u2u2 = Vector3D.dotProduct(u2, u2); in Rotation() 318 double v1v1 = Vector3D.dotProduct(v1, v1); in Rotation() 319 double v2v2 = Vector3D.dotProduct(v2, v2); in Rotation() 340 double u1u2 = Vector3D.dotProduct(u1, u2); in Rotation() 341 double v1v2 = Vector3D.dotProduct(v1, v2); in Rotation() 430 c = Vector3D.dotProduct(k, k); in Rotation() 431 q0 = Vector3D.dotProduct(vRef, k) / (c + c); in Rotation() 455 double dot = Vector3D.dotProduct(u, v); in Rotation()
|
D | Vector3D.java | 345 double dot = dotProduct(v1, v2); in angle() 451 public static double dotProduct(Vector3D v1, Vector3D v2) { in dotProduct() method in Vector3D
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/ |
D | GLSMultipleLinearRegression.java | 131 double t = residuals.dotProduct(getOmegaInverse().operate(residuals)); in calculateErrorVariance()
|
D | OLSMultipleLinearRegression.java | 150 return residuals.dotProduct(residuals); in calculateResidualSumOfSquares()
|
D | AbstractMultipleLinearRegression.java | 347 return residuals.dotProduct(residuals) / in calculateErrorVariance()
|
/external/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 213 const deInt64 dotProduct = dot(v, cornerExitNormal); in lineInCornerAngleRange() local 216 if (dotProduct < 0) in lineInCornerAngleRange() 218 return 2 * dotProduct * dotProduct > tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal); in lineInCornerAngleRange() 226 const deInt64 dotProduct = dot(v, cornerExitNormal); in lineInCornerOutsideAngleRange() local 229 if (dotProduct >= 0) in lineInCornerOutsideAngleRange() 231 …return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNorm… in lineInCornerOutsideAngleRange()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
D | MicrosphereInterpolatingFunction.java | 241 return v.dotProduct(w) / (v.getNorm() * w.getNorm()); in cosAngle()
|
/external/angle/src/compiler/translator/ |
D | IntermNode.cpp | 3568 float dotProduct = VectorDotProduct(unionArrays[1], unionArrays[0], maxObjectSize); in FoldAggregateBuiltIn() local 3572 2.0f * dotProduct * unionArrays[1][i].getFConst(); in FoldAggregateBuiltIn() 3793 float dotProduct = VectorDotProduct(unionArrays[2], unionArrays[1], maxObjectSize); in FoldAggregateBuiltIn() local 3796 if (dotProduct < 0) in FoldAggregateBuiltIn() 3817 float dotProduct = VectorDotProduct(unionArrays[1], unionArrays[0], maxObjectSize); in FoldAggregateBuiltIn() local 3821 float k = 1.0f - eta * eta * (1.0f - dotProduct * dotProduct); in FoldAggregateBuiltIn() 3826 (eta * dotProduct + sqrtf(k)) * in FoldAggregateBuiltIn()
|