Class: Axiom::Function::Numeric::UnaryMinus
- Inherits:
-
Axiom::Function::Numeric
- Object
- Axiom::Function
- Axiom::Function::Numeric
- Axiom::Function::Numeric::UnaryMinus
- Includes:
- Unary
- Defined in:
- lib/axiom/function/numeric/unary_minus.rb
Overview
A class representing a unary minus function
Defined Under Namespace
Modules: Methods
Instance Attribute Summary
Attributes included from Operation::Unary
Class Method Summary collapse
-
.inverse ⇒ Class<UnaryPlus>
Return the inverse function class.
-
.operation ⇒ Symbol
Return the unary minus operation.
Methods included from Unary
Methods included from Unary::Callable
Methods included from Operation::Unary
Methods inherited from Axiom::Function::Numeric
Methods inherited from Axiom::Function
extract_value, rename_attributes, #type
Methods included from Visitable
Class Method Details
.inverse ⇒ Class<UnaryPlus>
Return the inverse function class
31 32 33 |
# File 'lib/axiom/function/numeric/unary_minus.rb', line 31 def self.inverse UnaryPlus end |
.operation ⇒ Symbol
Return the unary minus operation
19 20 21 |
# File 'lib/axiom/function/numeric/unary_minus.rb', line 19 def self.operation :-@ end |