Class LTF::MaximaRunner
In: lib/ltf/maxima_runner.rb
Parent: Object

MaximaRunner takes the code generated by a MaximaInputGenerator, runs Maxima with it, and outputs the result.

Methods

new   run  

Constants

NoValuesMessage = <<EOF There were no values to solve for. EOF
InconsistentMessage = <<EOF The given constraints were inconsistent with a linear transform, so none exist. EOF
DoNotUnderstandMessage = <<EOF Warning: Did not understand Maxima's output: EOF
MaximaProblemMessage = <<EOF There was an problem running Maxima. Is it installed and in your PATH? EOF

Public Class methods

Public Instance methods

Run Maxima, and output the result.

  • out: Where to send the output (using puts)
  • err_out: Where to send any error output (using puts)

[Validate]