Method: MathViz::Term.unop
- Defined in:
- lib/mathviz.rb
.unop(op) ⇒ Object
Define op as an unary operator
277 278 279 280 281 |
# File 'lib/mathviz.rb', line 277 def self.unop(op) define_method(op) do MathViz::Operation::Unary.new(self, op) end end |