Class: Axiom::Function::Numeric::Division
- Inherits:
-
Axiom::Function::Numeric
- Object
- Axiom::Function
- Axiom::Function::Numeric
- Axiom::Function::Numeric::Division
- Includes:
- Binary, Comparable
- Defined in:
- lib/axiom/function/numeric/division.rb
Overview
A class representing a division function
Defined Under Namespace
Modules: Methods
Instance Attribute Summary
Attributes included from Operation::Binary
Class Method Summary collapse
-
.inverse ⇒ Class<Multiplication>
Return the inverse function class.
-
.operation ⇒ Symbol
Return the Division operation.
-
.type ⇒ Class<Types::Float>
Return the type returned from #call.
Instance Method Summary collapse
-
#type ⇒ Class<Types::Float>
Return the type returned from #call.
Methods included from Binary
Methods included from Operation::Binary
Methods inherited from Axiom::Function
extract_value, rename_attributes
Methods included from Visitable
Class Method Details
.inverse ⇒ Class<Multiplication>
Return the inverse function class
31 32 33 |
# File 'lib/axiom/function/numeric/division.rb', line 31 def self.inverse Multiplication end |
.operation ⇒ Symbol
Return the Division operation
19 20 21 |
# File 'lib/axiom/function/numeric/division.rb', line 19 def self.operation :/ end |
.type ⇒ Class<Types::Float>
Return the type returned from #call
44 45 46 |
# File 'lib/axiom/function/numeric/division.rb', line 44 def self.type Types::Float end |
Instance Method Details
#type ⇒ Class<Types::Float>
Return the type returned from #call
56 57 58 |
# File 'lib/axiom/function/numeric/division.rb', line 56 def type self.class.type end |