Class Power
java.lang.Object
care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
care.smith.top.top_phenotypic_query.c2reasoner.functions.arithmetic.Power
public class Power
extends care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
The function Power realizes the exponentiation operation.
Arguments | Arguments data types | Return data type | Example |
---|---|---|---|
<base-exp> <power-exp> |
<base-exp>: number <power-exp>: number |
number |
6 ^ 2 The function returns 36. |
- Author:
- TOP group
-
Method Summary
Modifier and TypeMethodDescriptioncare.smith.top.model.Expression
calculate
(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r) static Power
get()
static care.smith.top.model.Expression
of
(care.smith.top.model.Expression... args) static care.smith.top.model.Expression
of
(care.smith.top.model.Phenotype phe1, care.smith.top.model.Phenotype phe2) static care.smith.top.model.Expression
static care.smith.top.model.Expression
Methods inherited from class care.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
getFunction, getFunctionId, getType, maxArgumentNumber, minArgumentNumber, toString, toStringValues
-
Method Details
-
get
-
of
-
of
public static care.smith.top.model.Expression of(care.smith.top.model.Expression... args) -
of
public static care.smith.top.model.Expression of(care.smith.top.model.Phenotype phe1, care.smith.top.model.Phenotype phe2) -
of
-
calculate
public care.smith.top.model.Expression calculate(List<care.smith.top.model.Expression> args, care.smith.top.top_phenotypic_query.c2reasoner.C2R c2r) - Specified by:
calculate
in classcare.smith.top.top_phenotypic_query.c2reasoner.functions.FunctionEntity
-