{"id":22981062,"url":"https://github.com/rubyworks/stick","last_synced_at":"2025-06-16T10:43:42.577Z","repository":{"id":671101,"uuid":"314443","full_name":"rubyworks/stick","owner":"rubyworks","description":"Scientific Toolkit with SI Units System for Ruby","archived":false,"fork":false,"pushed_at":"2012-06-18T23:30:02.000Z","size":2520,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T00:42:54.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rubyworks.png","metadata":{"files":{"readme":"README.rdoc","changelog":"HISTORY","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-09-22T15:43:54.000Z","updated_at":"2017-10-23T23:49:35.000Z","dependencies_parsed_at":"2022-07-07T23:29:07.455Z","dependency_job_id":null,"html_url":"https://github.com/rubyworks/stick","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fstick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyworks","download_url":"https://codeload.github.com/rubyworks/stick/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246793066,"owners_count":20834922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T01:46:52.240Z","updated_at":"2025-04-02T09:42:10.351Z","avatar_url":"https://github.com/rubyworks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= STICK\n\n  http://stick.rubyforge.org\n\nSTICK stands for Scientific Code Kit. It's main feature is the\na sophisticated SI units system. It also includes a large\nset of natural constants and some extensions for the Matrix\nclass.\n\n\n== Installation\n\nYou can install via Rubygems\n\n    gem install stick\n\nor via tarball\n\n    tar -xzf stick-x.y.z.tar.gz\n    cd stick\n    sudo task/setup\n\n(on Windows 'ruby task/setup')\n\n\n== Usage\n\n=== Units System\n\nHere are some examples of using the units system.\n\n    reqiure 'stick/units'\n\n    include Stick::Units\n\n    1.bit/s + 8.bytes/s\n    (1.bit/s).to(byte/s)\n    1.mile.to(feet)\n    1.acre.to(yd**2)\n    1.acre.to(sq_yd)\n    1.gallon.to(self.L)\n    1.lb.to(kg)\n    1.m.s.to(m.s)\n    1.sq_mi.to(km**2)\n    1.mile.to(km)\n\nThe Units is namespace for all unit related classes. Mixing this in has\nthe additional effect of making Units.with_unit_converter available\nwithout the \u003ccode\u003eUnits.\u003c/code\u003e prefix, as well as the shortcuts for\ncreating Units (see Units#method_missing).\n\n\n=== Constants\n\nAlso included are a large assortment of real world contants. These come in two\nvarieties, typeless and typed via units.rb. (PLEASE NOTE: The typed variety is not\nyet complete).\n\nConstants are also provided in both mks (m kg s) and in cgs (cm g s) format.\n\n    require 'stick/constants/typeless_mks'\n    require 'stick/constants/typeless_cgs'\n\n    include Stick::Constants::Typeless\n\n    MKS::SPEED_OF_LIGHT              #=\u003e 2.99792458e8\n    CGS::SPEED_OF_LIGHT              #=\u003e 2.99792458e10\n\nBig thanks to Daniel Carrera and Brian Gough for their original work on Math::Constants\nfrom which the typeless numbers derive.\n\n\n=== Extensions to the Ruby's Matrix\n\nAlso included are Matrix extensions by Cosmin Bonchis, which was done\nas a Google Summer of Code 2007 project for Ruby Central Inc.\n\nThe library consists of some enhancements to the Ruby \"Matrix\" module\nand includes: LU and QR (Householder, Givens, Gram Schmidt, Hessenberg)\ndecompositions, bidiagonalization, eigenvalue and eigenvector calculations.\n\nThis library is contatined in stick/matrix.rb, which also draws upon\nstick/mapcar.rb.\n\nThis code can also be found on RubyForge at:\n  http://rubyforge.org/project/matrix.\n\n\n== Authors/Contributors\n\n* Peter Vanbroekhoven\n* Thomas Sawyer\n* Cosmin Bonchis\n* Daniel Carrera\n* Brian Gough\n\n\n== License\n\nCopyright 2006, 2007 Peter Vanbroekhoven, Thomas Sawyer\n\nStick is distributed under the terms of the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fstick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyworks%2Fstick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fstick/lists"}