Class: Plurimath::Math::Function::Table::Pmatrix
- Inherits:
-
Plurimath::Math::Function::Table
- Object
- Core
- Plurimath::Math::Function::Table
- Plurimath::Math::Function::Table::Pmatrix
- Defined in:
- lib/plurimath/math/function/table/pmatrix.rb
Instance Attribute Summary
Attributes inherited from Plurimath::Math::Function::Table
#close_paren, #open_paren, #options, #value
Instance Method Summary collapse
-
#initialize(value, open_paren = "(", close_paren = ")", options = {}) ⇒ Pmatrix
constructor
A new instance of Pmatrix.
- #to_latex ⇒ Object
Methods inherited from Plurimath::Math::Function::Table
#==, #to_asciimath, #to_html, #to_mathml_without_math_tag, #to_omml_without_math_tag
Methods inherited from Core
#class_name, #empty_tag, #extract_class_from_text, #extractable?, #font_style_t_tag, #insert_t_tag, #nary_attr_value, #omml_parameter, #omml_tag_name, #r_element, #tag_name, #validate_function_formula
Constructor Details
#initialize(value, open_paren = "(", close_paren = ")", options = {}) ⇒ Pmatrix
Returns a new instance of Pmatrix.
10 11 12 13 14 15 |
# File 'lib/plurimath/math/function/table/pmatrix.rb', line 10 def initialize(value, open_paren = "(", close_paren = ")", = {}) super end |
Instance Method Details
#to_latex ⇒ Object
17 18 19 |
# File 'lib/plurimath/math/function/table/pmatrix.rb', line 17 def to_latex "\\begin#{opening}#{latex_content}\\end#{matrix_class}" end |