Class: Plurimath::Math::Function::F
- Inherits:
-
UnaryFunction
- Object
- UnaryFunction
- Plurimath::Math::Function::F
- Defined in:
- lib/plurimath/math/function/f.rb
Instance Attribute Summary
Attributes inherited from UnaryFunction
Instance Method Summary collapse
Methods inherited from UnaryFunction
#==, #class_name, #initialize, #to_html, #to_mathml_without_math_tag, #to_omml_without_math_tag
Constructor Details
This class inherits a constructor from Plurimath::Math::Function::UnaryFunction
Instance Method Details
#to_asciimath ⇒ Object
9 10 11 |
# File 'lib/plurimath/math/function/f.rb', line 9 def to_asciimath "f#{parameter_one&.to_asciimath}" end |
#to_latex ⇒ Object
13 14 15 16 |
# File 'lib/plurimath/math/function/f.rb', line 13 def to_latex first_value = latex_value if parameter_one "f#{first_value}" end |