org.matheclipse.core.reflection.system
Class GCD
- java.lang.Object
-
- org.matheclipse.core.eval.interfaces.AbstractFunctionEvaluator
-
- org.matheclipse.core.eval.interfaces.AbstractArg2
-
- org.matheclipse.core.eval.interfaces.AbstractArgMultiple
-
- org.matheclipse.core.reflection.system.GCD
-
- All Implemented Interfaces:
- IFunctionEvaluator, IEvaluator
public class GCD extends AbstractArgMultiple
Greatest common divisor See Wikipedia:Greatest common divisor
-
-
Constructor Summary
Constructors Constructor and Description GCD()Constructor for the GCD object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IExpre2IntArg(IInteger i0, IInteger i1)Compute gcd of 2 integer numbersvoidsetUp(ISymbol symbol)Evaluate built-in rules and define Attributes for a function.-
Methods inherited from class org.matheclipse.core.eval.interfaces.AbstractArgMultiple
binaryOperator, evaluate, evaluateHashs, getHashRuleMap, setUpHashRule, setUpHashRule, setUpHashRule
-
Methods inherited from class org.matheclipse.core.eval.interfaces.AbstractArg2
e2ComArg, e2DblArg, e2DblComArg, e2FraArg, e2FunArg, e2ObjArg, e2SymArg, eComFraArg, eComIntArg, eFunIntArg
-
Methods inherited from class org.matheclipse.core.eval.interfaces.AbstractFunctionEvaluator
createRuleFromMethod, getPeriodicParts, getPureImaginaryPart, getRuleAST, isNegativeExpression, numericEval
-
-
-
-
Method Detail
-
e2IntArg
public IExpr e2IntArg(IInteger i0, IInteger i1)
Compute gcd of 2 integer numbers- Specified by:
e2IntArgin classAbstractArgMultiple
-
setUp
public void setUp(ISymbol symbol)
Description copied from class:AbstractFunctionEvaluatorEvaluate built-in rules and define Attributes for a function.- Specified by:
setUpin interfaceIEvaluator- Overrides:
setUpin classAbstractFunctionEvaluator- Parameters:
symbol- the symbol which should be set up
-
-
DMelt 3.0 © DataMelt by jWork.ORG