object CustomOperations
A set of custom operations used by the example problems.
These can also be used by other problems from outside KGP core.
| Cube |
class Cube : Function
Cubes a single argument (x^3). |
| Exponent |
class Exponent : Function
Performs the exponent function on two arguments (|x|^y). |
| HyperbolicTangent |
class HyperbolicTangent : Function
Performs the hyperbolic tangent function on a single argument (tanh(x)). |
| Inverse |
class Inverse : Function
Performs the inverse function on a single argument (1 / x). |
| NaturalLog |
class NaturalLog : Function
Performs the natural log function on a single argument (ln(x)). |
| Negation |
class Negation : Function
Performs the negation function on a single argument (-x). |
| Square |
class Square : Function
Squares a single argument (x^2). |
| SquareRoot |
class SquareRoot : Function
Performs the square root function on a single argument (sqrt(x)). |
| Tangent |
class Tangent : Function
Performs the tangent function on a single argument (tan(x)). |
| C_UNDEF |
val C_UNDEF: Double
Large constant for undefined inputs. |