~ubuntu-branches/debian/sid/geogebra/sid

« back to all changes in this revision

Viewing changes to geogebra/kernel/commands/CmdRandomBinomial.java

  • Committer: Package Import Robot
  • Author(s): Giovanni Mascellani
  • Date: 2012-01-10 11:37:41 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120110113741-satwohsd4de4ite1
Tags: 4.0.19.0+dfsg1-1
* New upstream version (closes: #649893).
* Update dependency: icedtea-plugin -> icedtea-netx-common (LP: #893007).
* New thumbnailer configuration compatible with Gnome 3.
* Package building is now managed by javahelper instead of upstream
  build.xml.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package geogebra.kernel.commands;
 
2
 
 
3
import geogebra.kernel.GeoElement;
 
4
import geogebra.kernel.Kernel;
 
5
import geogebra.kernel.arithmetic.NumberValue;
 
6
 
 
7
/*
 
8
 * RandomBinomial[ <Number>, <Number> ]
 
9
 */
 
10
class CmdRandomBinomial extends CmdTwoNumFunction {
 
11
 
 
12
        public CmdRandomBinomial(Kernel kernel) {
 
13
                super(kernel);
 
14
        }
 
15
 
 
16
        protected GeoElement doCommand(String a, NumberValue b, NumberValue c)
 
17
        {
 
18
                return kernel.RandomBinomial(a, b, c);
 
19
        }
 
20
 
 
21
}