linear1
A gem that does linear algebra to an extent
Installation
Method | Runtime | Development |
---|---|---|
Gemfile |
gem 'linear1' |
gem 'linear1', group: :development |
RubyGems | $ gem install linear1 |
$ gem install linear1 --development |
.gemspec |
gem.add_runtime_dependency "linear1" |
gem.add_development_dependency "linear1" |
Usage
$ linear1 help
$ linear1 graph _equation_
$ linear1 display _equation_
$ linear1 execute x _equation_
equations
Replace _equation_
with one of these equations:
standard A B C
point-slope slope x1 y1
slope-intercept slope y_intercept
function slope y_intercept power
direct-variation k