In this directory, there are some examples for using Ruby/Mathematica. * factor.rb * factor2.rb * factor3.rb * quotient.rb These are imported by MathLink C library's sample. See also factor.c and etc,. To execute, you have to type in Unix $ ruby factor.rb -linkname "math -mathlink" Please see also *.rb carefully. * prime.rb This is another sample of Ruby/Mathematica. I prepare a document about this prime.rb to explain to use Ruby/Mathematica. Please see also either ../doc.en/mathlink.rd or ../doc.ja/mathlink-ja.rd.
I wish you to enjoy Ruby/Mathematica. When you write another samples, please send me.
Thanks,
IKEGAMI Daisuke <URL:mailto:daisu-ik@is.aist-nara.ac.jp>