Searched defs:subtract (Results 51 - 75 of 102) sorted by relevance

12345

/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
H A DFraction.java447 * @param fraction the fraction to subtract, must not be <code>null</code>
453 public Fraction subtract(Fraction fraction) { method in class:Fraction
454 return addSub(fraction, false /* subtract */);
459 * @param i the <tt>integer</tt> to subtract.
462 public Fraction subtract(final int i) { method in class:Fraction
467 * Implement add and subtract using algorithm described in Knuth 4.5.1.
469 * @param fraction the fraction to subtract, must not be <code>null</code>
470 * @param isAdd true to add, false to subtract
506 BigInteger t = isAdd ? uvp.add(upv) : uvp.subtract(upv);
H A DBigFraction.java1031 * @param bg the {@link BigInteger} to subtract, cannot be {@code null}.
1035 public BigFraction subtract(final BigInteger bg) { method in class:BigFraction
1039 return new BigFraction(numerator.subtract(denominator.multiply(bg)), denominator);
1049 * the <tt>integer</tt> to subtract.
1052 public BigFraction subtract(final int i) { method in class:BigFraction
1053 return subtract(BigInteger.valueOf(i));
1063 * the <tt>long</tt> to subtract.
1067 public BigFraction subtract(final long l) { method in class:BigFraction
1068 return subtract(BigInteger.valueOf(l));
1077 * @param fraction {@link BigFraction} to subtract, mus
1081 public BigFraction subtract(final BigFraction fraction) { method in class:BigFraction
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DArray2DRowFieldMatrix.java206 public FieldMatrix<T> subtract(final FieldMatrix<T> m) method in class:Array2DRowFieldMatrix
209 return subtract((Array2DRowFieldMatrix<T>) m);
211 return super.subtract(m);
222 public Array2DRowFieldMatrix<T> subtract(final Array2DRowFieldMatrix<T> m) method in class:Array2DRowFieldMatrix
236 outDataRow[col] = dataRow[col].subtract(mRow[col]);
H A DArray2DRowRealMatrix.java214 public RealMatrix subtract(final RealMatrix m) method in class:Array2DRowRealMatrix
217 return subtract((Array2DRowRealMatrix) m);
219 return super.subtract(m);
230 public Array2DRowRealMatrix subtract(final Array2DRowRealMatrix m) method in class:Array2DRowRealMatrix
H A DArrayFieldVector.java345 public FieldVector<T> subtract(FieldVector<T> v) throws IllegalArgumentException { method in class:ArrayFieldVector
347 return subtract((ArrayFieldVector<T>) v);
352 out[i] = data[i].subtract(v.getEntry(i));
359 public FieldVector<T> subtract(T[] v) throws IllegalArgumentException { method in class:ArrayFieldVector
363 out[i] = data[i].subtract(v[i]);
374 public ArrayFieldVector<T> subtract(ArrayFieldVector<T> v) method in class:ArrayFieldVector
376 return (ArrayFieldVector<T>) subtract(v.data);
400 out[i] = data[i].subtract(d);
408 data[i] = data[i].subtract(d);
H A DBigMatrix.java59 BigMatrix subtract(BigMatrix m) throws IllegalArgumentException; method in interface:BigMatrix
H A DFieldMatrix.java77 FieldMatrix<T> subtract(FieldMatrix<T> m) throws IllegalArgumentException; method in interface:FieldMatrix
H A DRealMatrixImpl.java215 public RealMatrix subtract(final RealMatrix m) method in class:RealMatrixImpl
218 return subtract((RealMatrixImpl) m);
220 return super.subtract(m);
231 public RealMatrixImpl subtract(final RealMatrixImpl m) method in class:RealMatrixImpl
H A DSparseFieldVector.java398 return mapAddToSelf(field.getZero().subtract(d));
493 * Optimized method to subtract SparseRealVectors.
494 * @param v The vector to subtract from <code>this</code>
498 public SparseFieldVector<T> subtract(SparseFieldVector<T> v) throws IllegalArgumentException{ method in class:SparseFieldVector
506 res.setEntry(key, entries.get(key).subtract(iter.value()));
508 res.setEntry(key, field.getZero().subtract(iter.value()));
515 public FieldVector<T> subtract(FieldVector<T> v) method in class:SparseFieldVector
518 return subtract((SparseFieldVector<T>)v);
520 return subtract(v.toArray());
524 public FieldVector<T> subtract( method in class:SparseFieldVector
[all...]
H A DAbstractFieldMatrix.java189 public FieldMatrix<T> subtract(final FieldMatrix<T> m) throws IllegalArgumentException { method in class:AbstractFieldMatrix
199 out.setEntry(row, col, getEntry(row, col).subtract(m.getEntry(row, col)));
H A DAbstractRealMatrix.java97 public RealMatrix subtract(final RealMatrix m) throws IllegalArgumentException { method in class:AbstractRealMatrix
H A DArrayRealVector.java300 public RealVector subtract(RealVector v) method in class:ArrayRealVector
303 return subtract((ArrayRealVector) v);
318 public RealVector subtract(double[] v) method in class:ArrayRealVector
334 public ArrayRealVector subtract(ArrayRealVector v) method in class:ArrayRealVector
336 return (ArrayRealVector) subtract(v.data);
H A DBigMatrixImpl.java327 public BigMatrix subtract(BigMatrix m) throws IllegalArgumentException { method in class:BigMatrixImpl
329 return subtract((BigMatrixImpl) m);
342 outDataRow[col] = dataRow[col].subtract(getEntry(row, col));
356 public BigMatrixImpl subtract(BigMatrixImpl m) throws IllegalArgumentException { method in class:BigMatrixImpl
369 outDataRow[col] = dataRow[col].subtract(mRow[col]);
1175 bpI[j] = bpI[j].subtract(bp[col][j].multiply(luI[col]));
1191 bpI[j] = bpI[j].subtract(bp[col][j].multiply(luI[col]));
1244 sum = sum.subtract(luRow[i].multiply(lu[i][col]));
1256 sum = sum.subtract(luRow[i].multiply(lu[i][col]));
H A DOpenMapRealVector.java677 * Optimized method to subtract OpenMapRealVectors.
678 * @param v The vector to subtract from <code>this</code>
682 public OpenMapRealVector subtract(OpenMapRealVector v) throws IllegalArgumentException{ method in class:OpenMapRealVector
700 public OpenMapRealVector subtract(RealVector v) throws IllegalArgumentException { method in class:OpenMapRealVector
703 return subtract((OpenMapRealVector) v);
705 return subtract(v.getData());
710 public OpenMapRealVector subtract(double[] v) throws IllegalArgumentException { method in class:OpenMapRealVector
756 * it is possible for {@code a.subtract(b)} to be the zero vector, while
778 * it is possible for {@code a.subtract(b}} to be the zero vector, while
H A DRealMatrix.java68 RealMatrix subtract(RealMatrix m) throws IllegalArgumentException; method in interface:RealMatrix
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
H A DSecP224R1FieldElement.java81 public ECFieldElement subtract(ECFieldElement b) method in class:SecP224R1FieldElement
84 SecP224R1Field.subtract(x, ((SecP224R1FieldElement)b).x, z);
/external/chromium-trace/trace-viewer/tracing/third_party/gl-matrix/src/gl-matrix/
H A Dvec2.js117 vec2.subtract = function(out, a, b) {
124 * Alias for {@link vec2.subtract}
127 vec2.sub = vec2.subtract;
H A Dvec4.js133 vec4.subtract = function(out, a, b) {
142 * Alias for {@link vec4.subtract}
145 vec4.sub = vec4.subtract;
H A Dvec3.js125 vec3.subtract = function(out, a, b) {
133 * Alias for {@link vec3.subtract}
136 vec3.sub = vec3.subtract;
/external/llvm/lib/IR/
H A DConstantRange.cpp251 /// subtract - Subtract the specified constant from the endpoints of this
253 ConstantRange ConstantRange::subtract(const APInt &Val) const { function in class:ConstantRange
/external/pdfium/third_party/bigint/
H A DBigUnsigned.cc190 void BigUnsigned::subtract(const BigUnsigned &a, const BigUnsigned &b) { function in class:BigUnsigned
191 DTRT_ALIASED(this == &a || this == &b, subtract(a, b));
264 * repeatedly trying to subtract it from `a'. When we succeed, we note
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DVector3D.java265 * @param v vector to subtract
268 public Vector3D subtract(Vector3D v) { method in class:Vector3D
274 * @param v vector to subtract
277 public Vector3D subtract(double factor, Vector3D v) { method in class:Vector3D
468 * <code>v1.subtract(v2).getNorm1()</code> except that no intermediate
483 * <code>v1.subtract(v2).getNorm()</code> except that no intermediate
498 * <code>v1.subtract(v2).getNormInf()</code> except that no intermediate
513 * <code>v1.subtract(v2).getNormSq()</code> except that no intermediate
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECFieldElement.java19 public abstract ECFieldElement subtract(ECFieldElement b); method in class:ECFieldElement
44 return multiply(b).subtract(x.multiply(y));
54 return square().subtract(x.multiply(y));
89 return ONE.shiftLeft(bitLength).subtract(p);
155 public ECFieldElement subtract(ECFieldElement b) method in class:ECFieldElement.Fp
170 return new Fp(q, r, modReduce(ab.subtract(xy)));
188 return x.signum() == 0 ? this : new Fp(q, r, q.subtract(x));
201 return new Fp(q, r, modReduce(aa.subtract(xy)));
274 BigInteger k = legendreExponent.add(ECConstants.ONE), qMinusOne = q.subtract(ECConstants.ONE);
286 || !modReduce(P.multiply(P).subtract(four
687 public ECFieldElement subtract(final ECFieldElement b) method in class:ECFieldElement.F2m
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DVector2f.java455 * <code>subtract</code> subtracts the values of a given vector from those
460 * the vector to subtract from this vector.
463 public Vector2f subtract(Vector2f vec) { method in class:Vector2f
464 return subtract(vec, null);
468 * <code>subtract</code> subtracts the values of a given vector from those
473 * the vector to subtract from this vector.
479 public Vector2f subtract(Vector2f vec, Vector2f store) { method in class:Vector2f
488 * <code>subtract</code> subtracts the given x,y values from those of this
492 * value to subtract from x
494 * value to subtract fro
497 public Vector2f subtract(float valX, float valY) { method in class:Vector2f
[all...]
/external/llvm/lib/ProfileData/
H A DCoverageMapping.cpp115 Counter CounterExpressionBuilder::subtract(Counter LHS, Counter RHS) { function in class:CounterExpressionBuilder

Completed in 1221 milliseconds

12345