请输入您要查询的百科知识:

 

词条 Rubychem
释义

  1. Example

  2. See also

  3. External links

{{multiple issues|{{unreferenced|date=November 2014}}{{technical|date=May 2013}}{{notability|date=October 2014}}
}}

RubyChem (pronounced /ˈruːˈbeːˈkːˈem/) is a freely available (MIT License) program, written in Ruby, supporting the calculation of moles, balancing chemical equations and valence orbital calculations.

Example

The Ruby official distribution also includes "irb" (Interactive Ruby Shell), an interactive command-line interpreter which can be used to test code quickly. The following code fragment represents a sample session using irb:

$ irb

irb(main):001:0> require 'rubychem'

irb(main):002:0> RubyChem::Equation.new("C12H26+O2=CO2+H2O").balance

=> 2C12H26 + 37O2 = 24C1O2 + 26H2O1"

See also

  • Chemical equation
  • Balance equation

External links

  • [https://github.com/fogonthedowns/Rubychem RubyChem source code]
  • [https://rubygems.org/gems/rubychem RubyGems page]
  • documentation
{{Chemistry software}}{{free-software-stub}}

1 : Computational chemistry software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/25 8:21:01