Module: Axiom::Function::Numeric::Unary
- Includes:
- Unary
- Included in:
- Absolute, SquareRoot, UnaryMinus, UnaryPlus
- Defined in:
- lib/axiom/function/numeric/unary.rb
Overview
A mixin for numeric Unary functions
Instance Attribute Summary
Attributes included from Operation::Unary
Instance Method Summary collapse
-
#type ⇒ Class<Attribute::Numeric>
Return the type returned from #call.
Methods included from Unary
Methods included from Unary::Callable
Methods included from Operation::Unary
Instance Method Details
#type ⇒ Class<Attribute::Numeric>
Return the type returned from #call
19 20 21 |
# File 'lib/axiom/function/numeric/unary.rb', line 19 def type Attribute.infer_type(operand) end |