elasticsearch-ruby
https://github.com/elastic/elasticsearch-ruby
Ruby
Ruby integrations for Elasticsearch
Matrix#det
Returns the determinant of the matrix.
Beware that using Float values can yield erroneous results
because of their lack of precision.
Consider using exact types like Rational or BigDecimal instead.
Matrix[[7,6], [3,9]].determinant
=> 45Edit
git clone [email protected]:elastic/elasticsearch-ruby.git
cd elasticsearch-ruby
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Matrix-det-for-pr
# Commit to gitgit add git commit -m "better docs for Matrix#det"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Matrix-det-for-pr
hub pull-request
# Celebrate!