## Examples of divide()

### Examples of jmathexpr.arithmetic.ANumber.divide()

 `7374757677787980818283` ```                return new Negation(r).evaluate();             } else if (r instanceof Division) {                 Division d = (Division) r;                                 if (d.rhs() instanceof ANumber) { // a x/b = a/b x                     l = a.divide((ANumber) d.rhs());                     r = d.lhs();                 }             } else if (r instanceof Multiplication) {                 Multiplication m = (Multiplication) r;                 ```
View Full Code Here

### Examples of jscicalc.complex.Complex.divide()

 `824825826827828829830831832833834` ```  }   for( Complex o : statMemoryNeg ){       d = d.subtract( o );   }   if( statSize() > 0 ){      mean.setValue( d.divide( new Complex( statSize(), 0 ) ) );   } else {       mean.setError( true );    }   return mean;     } ```
View Full Code Here

### Examples of jscicalc.complex.Complex.divide()

 `875876877878879880881882883884885` ```      //if( d < 0 || statSize() < 1 ){       if( statSize() < 1 ){     stDev.setError( true );     return stDev;       } else {     stDev.setValue( d.divide( new Complex( statSize(), 0 ) ).sqrt() );     return stDev;       }   } catch( Exception e ){       stDev.setError( true );       return stDev; ```
View Full Code Here

### Examples of jscicalc.expression.Product.divide()

 `314315316317318319320321322323324` ```    return p.multiply( (Complex)this );       }   } else if( this instanceof Variable ){       if( x instanceof Complex ){     Product p = new Product( (Variable)this, false );     return p.divide( (Complex)x );       } else if( x instanceof Variable ){     Product p = new Product( (Variable)this, false );     Product q = new Product( (Variable)x, true );     return p.multiply( q );       } else if( x instanceof Sum ){ ```
View Full Code Here

### Examples of jscicalc.expression.Product.divide()

 `325326327328329330331332333334335` ```    Product p = new Product( (Variable)this, false );     Product q = new Product( (Sum)x, true );     return p.multiply( q );       } else if( x instanceof Product ){     Product p = new Product( (Variable)this, false );     return p.divide( (Product)x );       } else if( x instanceof Expression ){     Product p = new Product( (Variable)this, false );     Product q = new Product( (Expression)x, true );     return p.multiply( q );       } ```
View Full Code Here

### Examples of jscicalc.expression.Product.divide()

 `343344345346347348349350351352353` ```    return p.multiply( q );       }   } else if( this instanceof Product ){       if( x instanceof Complex ){     Product p = (Product)this;     return p.divide( (Complex)x );       } else if( x instanceof Product ){     return ((Product)this).divide( (Product)x );       } else if( x instanceof Expression ){     Product q = new Product( (Expression)x, true );     return ((Product)this).multiply( q ); ```
View Full Code Here

### Examples of jscicalc.expression.Product.divide()

 `353354355356357358359360361362363` ```    return ((Product)this).multiply( q );       }   } else if( this instanceof Expression ){       if( x instanceof Complex ){     Product p = new Product( (Expression)this, false );     return p.divide( (Complex)x );       } else if( x instanceof Product ){     Product p = new Product( (Expression)this, false );     return p.divide( (Product)x );       } else if( x instanceof Expression ){     Product p = new Product( (Expression)this, false ); ```
View Full Code Here

### Examples of jscicalc.expression.Product.divide()

 `356357358359360361362363364365366` ```      if( x instanceof Complex ){     Product p = new Product( (Expression)this, false );     return p.divide( (Complex)x );       } else if( x instanceof Product ){     Product p = new Product( (Expression)this, false );     return p.divide( (Product)x );       } else if( x instanceof Expression ){     Product p = new Product( (Expression)this, false );     Product q = new Product( (Expression)x, true );     return p.multiply( q );       } ```
View Full Code Here

### Examples of kodkod.ast.IntExpression.divide()

 `756757758759760761762763764765766` ```            case AND: f=cform(a); f=f.and(cform(b)); return k2pos(f,x);             case OR:  f=cform(a); f=f.or(cform(b));  return k2pos(f,x);             case IFF: f=cform(a); f=f.iff(cform(b)); return k2pos(f,x);             case PLUSPLUS: s=cset(a); return s.override(cset(b));             case MUL: i=cint(a); return i.multiply(cint(b));             case DIV: i=cint(a); return i.divide(cint(b));             case REM: i=cint(a); return i.modulo(cint(b));             case SHL: i=cint(a); return i.shl(cint(b));             case SHR: i=cint(a); return i.shr(cint(b));             case SHA: i=cint(a); return i.sha(cint(b));             case PLUS: ```
View Full Code Here

### Examples of lipstone.joshua.parser.types.BigDec.divide()

 `7778798081828384858687` ```    if (set.size() <= 0)       return BigDec.ZERO;     BigDec total = BigDec.ZERO;     for (BigDec d : set)       total = total.add(d);     return total.divide(new BigDec(set.size()));   }     /**    * @return the median of this set NOTE: this does not sort the set prior to getting the median    */   ```
View Full Code Here