Home
last modified time | relevance | path

Searched refs:math (Results 1 – 25 of 1852) sorted by relevance

12345678910>>...75

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimal.java13 import java.math.BigInteger;
18 import android.icu.math.BigDecimal;
119 private static final android.icu.math.BigDecimal zero = android.icu.math.BigDecimal.ZERO;
120 private static final android.icu.math.BigDecimal one = android.icu.math.BigDecimal.ONE;
121 private static final android.icu.math.BigDecimal two = new android.icu.math.BigDecimal(2);
122 private static final android.icu.math.BigDecimal ten = android.icu.math.BigDecimal.TEN;
123 …private static final android.icu.math.BigDecimal tenlong = new android.icu.math.BigDecimal((long) …
126 private static final android.icu.math.MathContext mcdef = android.icu.math.MathContext.DEFAULT;
127 private static final android.icu.math.MathContext mc3 = new android.icu.math.MathContext(3);
128 private static final android.icu.math.MathContext mc6 = new android.icu.math.MathContext(6);
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimal.java12 import java.math.BigInteger;
17 import com.ibm.icu.math.BigDecimal;
115 private static final com.ibm.icu.math.BigDecimal zero = com.ibm.icu.math.BigDecimal.ZERO;
116 private static final com.ibm.icu.math.BigDecimal one = com.ibm.icu.math.BigDecimal.ONE;
117 private static final com.ibm.icu.math.BigDecimal two = new com.ibm.icu.math.BigDecimal(2);
118 private static final com.ibm.icu.math.BigDecimal ten = com.ibm.icu.math.BigDecimal.TEN;
119 …private static final com.ibm.icu.math.BigDecimal tenlong = new com.ibm.icu.math.BigDecimal((long) …
122 private static final com.ibm.icu.math.MathContext mcdef = com.ibm.icu.math.MathContext.DEFAULT;
123 private static final com.ibm.icu.math.MathContext mc3 = new com.ibm.icu.math.MathContext(3);
124 private static final com.ibm.icu.math.MathContext mc6 = new com.ibm.icu.math.MathContext(6);
[all …]
/external/guava/guava-gwt/test/com/google/common/math/
DIntMathTest_gwt.java16 package com.google.common.math;
22 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testCheckedAdd()
27 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testCheckedMultiply()
32 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testCheckedPow()
37 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testCheckedSubtract()
42 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testDivByZeroAlwaysFails()
47 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testDivNonZero()
52 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testDivNonZeroExact()
57 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testFactorial()
62 com.google.common.math.IntMathTest testCase = new com.google.common.math.IntMathTest(); in testFactorialNegative()
[all …]
DBigIntegerMathTest_gwt.java16 package com.google.common.math;
22 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testBinomialOutside()
27 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testBinomialSmall()
32 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testFactorial()
37 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testFactorial0()
42 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testFactorialNegative()
47 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testIsPowerOfTwo()
52 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testLog2Ceiling()
57 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testLog2Exact()
62 …com.google.common.math.BigIntegerMathTest testCase = new com.google.common.math.BigIntegerMathTest… in testLog2Floor()
[all …]
DLongMathTest_gwt.java16 package com.google.common.math;
22 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testBinomial()
27 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testBinomialNegative()
32 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testBinomialOutside()
37 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testGCDExhaustive()
42 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testLessThanBranchFree()
47 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testLog2Exact()
52 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testLog2MatchesBigInteger()
57 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testLog2NegativeAlwaysThrows()
62 com.google.common.math.LongMathTest testCase = new com.google.common.math.LongMathTest(); in testLog2ZeroAlwaysThrows()
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests9.dat2 <!DOCTYPE html><math></math>
9 | <math math>
12 <!DOCTYPE html><body><math></math>
19 | <math math>
22 <!DOCTYPE html><math><mi>
30 | <math math>
31 | <math mi>
34 <!DOCTYPE html><math><annotation-xml><svg><u>
43 | <math math>
44 | <math annotation-xml>
[all …]
Dtests10.dat489 <div><svg><path><foreignObject><math></div>a
499 | <math math>
590 <math><mi><div><object><div><span></span></div></object></div></mi><mi>
596 | <math math>
597 | <math mi>
602 | <math mi>
605 <math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi>
611 | <math math>
612 | <math mi>
617 | <math mi>
[all …]
Dplain-text-unsafe.dat253 <!DOCTYPE html><table><tr><td><math><mtext>�a
266 | <math math>
267 | <math mtext>
289 <!DOCTYPE html><math><mi>a�b
296 | <math math>
297 | <math mi>
301 <!DOCTYPE html><math><mo>a�b
308 | <math math>
309 | <math mo>
313 <!DOCTYPE html><math><mn>a�b
[all …]
Dtests11.dat218math attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMode='' clipPathUnits='…
225 | <math math>
428math><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform…
435 | <math math>
436 | <math altglyph>
437 | <math altglyphdef>
438 | <math altglyphitem>
439 | <math animatecolor>
440 | <math animatemotion>
441 | <math animatetransform>
[all …]
Dtests20.dat375 <math><annotation-xml><div>
381 | <math math>
382 | <math annotation-xml>
386 <math><annotation-xml encoding="application/svg+xml"><div>
392 | <math math>
393 | <math annotation-xml>
398 <math><annotation-xml encoding="application/xhtml+xml"><div>
404 | <math math>
405 | <math annotation-xml>
410 <math><annotation-xml encoding="aPPlication/xhtmL+xMl"><div>
[all …]
Dtests12.dat2math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>sp…
11 | <math math>
12 | <math mtext>
15 | <math annotation-xml>
34math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>sp…
42 | <math math>
43 | <math mtext>
46 | <math annotation-xml>
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java4 package android.icu.math;
6 import java.math.BigInteger;
233 …public static final android.icu.math.BigDecimal ZERO = new android.icu.math.BigDecimal((long) 0); …
244 …public static final android.icu.math.BigDecimal ONE = new android.icu.math.BigDecimal((long) 1); /…
255 public static final android.icu.math.BigDecimal TEN = new android.icu.math.BigDecimal(10);
263 public static final int ROUND_CEILING = android.icu.math.MathContext.ROUND_CEILING;
270 public static final int ROUND_DOWN = android.icu.math.MathContext.ROUND_DOWN;
277 public static final int ROUND_FLOOR = android.icu.math.MathContext.ROUND_FLOOR;
284 public static final int ROUND_HALF_DOWN = android.icu.math.MathContext.ROUND_HALF_DOWN;
291 public static final int ROUND_HALF_EVEN = android.icu.math.MathContext.ROUND_HALF_EVEN;
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DBigDecimal.java3 package com.ibm.icu.math;
5 import java.math.BigInteger;
232 …public static final com.ibm.icu.math.BigDecimal ZERO = new com.ibm.icu.math.BigDecimal((long) 0); …
244 …public static final com.ibm.icu.math.BigDecimal ONE = new com.ibm.icu.math.BigDecimal((long) 1); /…
256 public static final com.ibm.icu.math.BigDecimal TEN = new com.ibm.icu.math.BigDecimal(10);
265 public static final int ROUND_CEILING = com.ibm.icu.math.MathContext.ROUND_CEILING;
273 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN;
281 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR;
289 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN;
297 public static final int ROUND_HALF_EVEN = com.ibm.icu.math.MathContext.ROUND_HALF_EVEN;
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java3 package com.ibm.icu.math;
5 import java.math.BigInteger;
234 …public static final com.ibm.icu.math.BigDecimal ZERO = new com.ibm.icu.math.BigDecimal((long) 0); …
246 …public static final com.ibm.icu.math.BigDecimal ONE = new com.ibm.icu.math.BigDecimal((long) 1); /…
258 public static final com.ibm.icu.math.BigDecimal TEN = new com.ibm.icu.math.BigDecimal(10);
267 public static final int ROUND_CEILING = com.ibm.icu.math.MathContext.ROUND_CEILING;
275 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN;
283 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR;
291 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN;
299 public static final int ROUND_HALF_EVEN = com.ibm.icu.math.MathContext.ROUND_HALF_EVEN;
[all …]
/external/clang/test/CodeGenOpenCL/
Drelaxed-fpmath.cl2 // RUN: %clang_cc1 %s -emit-llvm -cl-fast-relaxed-math -o - | FileCheck %s -check-prefix=FAST
3 // RUN: %clang_cc1 %s -emit-llvm -cl-finite-math-only -o - | FileCheck %s -check-prefix=FINITE
4 // RUN: %clang_cc1 %s -emit-llvm -cl-unsafe-math-optimizations -o - | FileCheck %s -check-prefix=UN…
19 // NORMAL: "no-infs-fp-math"="false"
20 // NORMAL: "no-nans-fp-math"="false"
21 // NORMAL: "unsafe-fp-math"="false"
23 // FAST: "no-infs-fp-math"="true"
24 // FAST: "no-nans-fp-math"="true"
25 // FAST: "unsafe-fp-math"="true"
27 // FINITE: "no-infs-fp-math"="true"
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Df.cpp62 boost::math::ntl::RR exp2(const boost::math::ntl::RR& x) in exp2()
67 boost::math::ntl::RR log2(const boost::math::ntl::RR& x) in log2()
72 boost::math::ntl::RR f(const boost::math::ntl::RR& x, int variant) in f()
88 const boost::math::tools::polynomial<boost::math::ntl::RR>& n, in show_extra()
89 const boost::math::tools::polynomial<boost::math::ntl::RR>& d, in show_extra()
90 const boost::math::ntl::RR& x_offset, in show_extra()
91 const boost::math::ntl::RR& y_offset, in show_extra()
/external/clang/include/clang/Basic/
DBuiltins.def864 // Builtin math library functions
865 LIBBUILTIN(atan2, "ddd", "fne", "math.h", ALL_LANGUAGES)
866 LIBBUILTIN(atan2f, "fff", "fne", "math.h", ALL_LANGUAGES)
867 LIBBUILTIN(atan2l, "LdLdLd", "fne", "math.h", ALL_LANGUAGES)
873 LIBBUILTIN(copysign, "ddd", "fnc", "math.h", ALL_LANGUAGES)
874 LIBBUILTIN(copysignf, "fff", "fnc", "math.h", ALL_LANGUAGES)
875 LIBBUILTIN(copysignl, "LdLdLd", "fnc", "math.h", ALL_LANGUAGES)
877 LIBBUILTIN(fabs, "dd", "fnc", "math.h", ALL_LANGUAGES)
878 LIBBUILTIN(fabsf, "ff", "fnc", "math.h", ALL_LANGUAGES)
879 LIBBUILTIN(fabsl, "LdLd", "fnc", "math.h", ALL_LANGUAGES)
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DAbstractScalarDifferentiableOptimizer.java18 package org.apache.commons.math.optimization.general;
20 import org.apache.commons.math.analysis.DifferentiableMultivariateRealFunction;
21 import org.apache.commons.math.analysis.MultivariateVectorialFunction;
22 import org.apache.commons.math.FunctionEvaluationException;
23 import org.apache.commons.math.MaxEvaluationsExceededException;
24 import org.apache.commons.math.MaxIterationsExceededException;
25 import org.apache.commons.math.optimization.DifferentiableMultivariateRealOptimizer;
26 import org.apache.commons.math.optimization.GoalType;
27 import org.apache.commons.math.optimization.OptimizationException;
28 import org.apache.commons.math.optimization.RealConvergenceChecker;
[all …]
DAbstractLeastSquaresOptimizer.java18 package org.apache.commons.math.optimization.general;
20 import org.apache.commons.math.FunctionEvaluationException;
21 import org.apache.commons.math.MaxEvaluationsExceededException;
22 import org.apache.commons.math.MaxIterationsExceededException;
23 import org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction;
24 import org.apache.commons.math.analysis.MultivariateMatrixFunction;
25 import org.apache.commons.math.exception.util.LocalizedFormats;
26 import org.apache.commons.math.linear.InvalidMatrixException;
27 import org.apache.commons.math.linear.LUDecompositionImpl;
28 import org.apache.commons.math.linear.MatrixUtils;
[all …]
DGaussNewtonOptimizer.java18 package org.apache.commons.math.optimization.general;
20 import org.apache.commons.math.FunctionEvaluationException;
21 import org.apache.commons.math.exception.util.LocalizedFormats;
22 import org.apache.commons.math.linear.BlockRealMatrix;
23 import org.apache.commons.math.linear.DecompositionSolver;
24 import org.apache.commons.math.linear.InvalidMatrixException;
25 import org.apache.commons.math.linear.LUDecompositionImpl;
26 import org.apache.commons.math.linear.QRDecompositionImpl;
27 import org.apache.commons.math.linear.RealMatrix;
28 import org.apache.commons.math.optimization.OptimizationException;
[all …]
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DBigIntegerMathTest.java17 package com.google.common.math;
19 import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
21 import static com.google.common.math.MathTesting.POSITIVE_BIGINTEGER_CANDIDATES;
22 import static java.math.BigInteger.ONE;
23 import static java.math.BigInteger.ZERO;
24 import static java.math.RoundingMode.CEILING;
25 import static java.math.RoundingMode.DOWN;
26 import static java.math.RoundingMode.FLOOR;
27 import static java.math.RoundingMode.HALF_DOWN;
[all …]
/external/ceres-solver/docs/source/
Dsolving.rst20 Let :math:`x \in \mathbb{R}^n` be an :math:`n`-dimensional vector of
22 :math:`F(x) = \left[f_1(x), ... , f_{m}(x) \right]^{\top}` be a
23 :math:`m`-dimensional function of :math:`x`. We are interested in
26 .. math:: \arg \min_x \frac{1}{2}\|F(x)\|^2\ . \\
30 Where, :math:`L` and :math:`U` are lower and upper bounds on the
31 parameter vector :math:`x`.
34 general :math:`F(x)` is an intractable problem, we will have to settle
37 In the following, the Jacobian :math:`J(x)` of :math:`F(x)` is an
38 :math:`m\times n` matrix, where :math:`J_{ij}(x) = \partial_j f_i(x)`
39 and the gradient vector is :math:`g(x) = \nabla \frac{1}{2}\|F(x)\|^2
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java9 import java.math.RoundingMode;
111 case com.ibm.icu.math.BigDecimal.ROUND_CEILING: in getRoundingMode()
114 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode()
117 case com.ibm.icu.math.BigDecimal.ROUND_FLOOR: in getRoundingMode()
120 case com.ibm.icu.math.BigDecimal.ROUND_HALF_DOWN: in getRoundingMode()
123 case com.ibm.icu.math.BigDecimal.ROUND_HALF_EVEN: in getRoundingMode()
126 case com.ibm.icu.math.BigDecimal.ROUND_HALF_UP: in getRoundingMode()
129 case com.ibm.icu.math.BigDecimal.ROUND_UNNECESSARY: in getRoundingMode()
132 case com.ibm.icu.math.BigDecimal.ROUND_UP: in getRoundingMode()
208 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_CEILING); in setRoundingMode()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DAbstractContinuousDistribution.java17 package org.apache.commons.math.distribution;
21 import org.apache.commons.math.ConvergenceException;
22 import org.apache.commons.math.MathException;
23 import org.apache.commons.math.MathRuntimeException;
24 import org.apache.commons.math.analysis.UnivariateRealFunction;
25 import org.apache.commons.math.analysis.solvers.BrentSolver;
26 import org.apache.commons.math.analysis.solvers.UnivariateRealSolverUtils;
27 import org.apache.commons.math.FunctionEvaluationException;
28 import org.apache.commons.math.exception.util.LocalizedFormats;
29 import org.apache.commons.math.random.RandomDataImpl;
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
DAbstractUnivariateRealOptimizer.java18 package org.apache.commons.math.optimization.univariate;
20 import org.apache.commons.math.ConvergingAlgorithmImpl;
21 import org.apache.commons.math.FunctionEvaluationException;
22 import org.apache.commons.math.MaxEvaluationsExceededException;
23 import org.apache.commons.math.MaxIterationsExceededException;
24 import org.apache.commons.math.analysis.UnivariateRealFunction;
25 import org.apache.commons.math.exception.MathUnsupportedOperationException;
26 import org.apache.commons.math.exception.NoDataException;
27 import org.apache.commons.math.exception.util.LocalizedFormats;
28 import org.apache.commons.math.optimization.GoalType;
[all …]

12345678910>>...75