Module: Simplex::Text::Parser
- Includes:
- CoefficientsParser, MatrixParser, RhsParser
- Defined in:
- lib/simplex/text/parser.rb,
lib/simplex/text/parser/version.rb,
lib/simplex/text/parser/rhs_parser.rb,
lib/simplex/text/parser/matrix_parser.rb,
lib/simplex/text/parser/coefficients_parser.rb
Defined Under Namespace
Modules: CoefficientsParser, MatrixParser, RhsParser
Constant Summary collapse
- VERSION =
"0.1.1"
Instance Method Summary collapse
Methods included from MatrixParser
Methods included from RhsParser
Methods included from CoefficientsParser
Instance Method Details
#parse(str) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/simplex/text/parser.rb', line 13 def parse(str) { coefficients: extract_coefficients(str), matrix: extract_matrix(str), rhs: extract_rhs(str) } end |