MathFunction

abstract class MathFunction : FunctionWrapper<ExecutionContext>

Base class to implement arithmetic functions

Author

Enrico

Constructors

MathFunction
Link copied to clipboard
common
fun MathFunction(signature: Signature)
MathFunction
Link copied to clipboard
common
fun MathFunction(name: String, arity: Int, vararg: Boolean = false)

Properties

descriptionPair
Link copied to clipboard
common
val descriptionPair: Pair<Signature, PrologFunction>
Gets this wrapped primitive description Pair formed by signature and wrapped primitive type
functor
Link copied to clipboard
common
val functor: String
A shorthand to get the signature functor name
signature
Link copied to clipboard
common
val signature: Signature
the supported input signature
wrappedImplementation
Link copied to clipboard
common
override val wrappedImplementation: PrologFunction
Checked PrologFunction implementation

Inheritors

BinaryMathFunction
Link copied to clipboard
NullaryMathFunction
Link copied to clipboard
UnaryMathFunction
Link copied to clipboard