Class: Plurimath::Math::Function::Table::Matrix
- Inherits:
- 
      Plurimath::Math::Function::Table
      
        - Object
- Plurimath::Math::Function::TernaryFunction
- Plurimath::Math::Function::Table
- Plurimath::Math::Function::Table::Matrix
 
- Defined in:
- lib/plurimath/math/function/table/matrix.rb
Instance Attribute Summary
Attributes inherited from Plurimath::Math::Function::TernaryFunction
#parameter_one, #parameter_three, #parameter_two
Instance Method Summary collapse
- 
  
    
      #initialize(parameter_one = [], parameter_two = "(", parameter_three = ")")  ⇒ Matrix 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Matrix. 
- #to_latex ⇒ Object
Methods inherited from Plurimath::Math::Function::Table
#latex_environment, #to_asciimath, #to_html, #to_mathml_without_math_tag
Methods inherited from Plurimath::Math::Function::TernaryFunction
#==, #class_name, #to_asciimath, #to_html, #to_mathml_without_math_tag
Constructor Details
#initialize(parameter_one = [], parameter_two = "(", parameter_three = ")") ⇒ Matrix
Returns a new instance of Matrix.
| 10 11 12 13 14 | # File 'lib/plurimath/math/function/table/matrix.rb', line 10 def initialize(parameter_one = [], parameter_two = "(", parameter_three = ")") super end | 
Instance Method Details
#to_latex ⇒ Object
| 16 17 18 19 | # File 'lib/plurimath/math/function/table/matrix.rb', line 16 def to_latex first_value = parameter_one&.map(&:to_latex)&.join("\\\\") "\\begin{matrix}#{first_value}\\end{matrix}" end |