Talk on Scientific Computing in Ruby at Red Dot Ruby Conf 2016, Singapore.
namaste
View Slide
Me
Who Am I?
Sameer Deshmukhgithub.com/v0dro@v0dro
Incredible India
City of Pune.Population: 6 million.Oxford of the East.
Dr. GopalDeshmukhSameerDesmukhDr. HemchandraDeshmukhDr. SatishDeshmukh
www.soundcloud.com/catkamikazeeSameer
RubyScienceFoundationwww.sciruby.com@sciruby@sciruby
ScientificComputing InRuby
iruby notebook
Browser based Ruby REPLfor interactive computing.
Runs in yourbrowserInput cell – acceptsRuby codeOutput cell – canrender HTML/CSS/JS
nmatrix
ndimensional array object.Interface Ruby withhigh speed C libraries.
require 'nmatrix'n = NMatrix.new([2,2],[1,2,3,4],dtype: :float32,stype: :dense)n[0,1] # => 2.0
Data Types:int8 :float32:int16 :float64:int32 :complex64:int64 :complex128
Storage typesDense Dense matrix.List Sparse matrix type storing data as alinked list.Yale Sparse type storing data in the 'NewYale' format.
NMatrix C API
nmatrixnmatrixatlasnmatrixlapackenmatrixfftwgsl
nmatrix is coming to jruby!
nyaplot
interactive plottingtool for Rubyists.
interactiveHTML and JavaScript plotsthat can be displayed in yourbrowser.
MapnyaNyaplot3DBionyaMap visualizations with inbuilt country charts.Three Dimensional interactive plots.Biology plots for visualizing relationships of genes.
daru(Data Analysis in RUby)
daru ==(Hindi)ददार
library foranalysis, cleaning, manipulation andvisualizationof data.
Read/write many data sourcesEphemeral statistics functionsWorks well with 'wild' dataData indexing
Acts as glue between otherSciRuby libraries.
Daru::VectorHeterogenous Array that can be indexed onany Ruby object.NameLabel(0)Label(1)Label(2)...Label(n-1)
Daru::DataFrame2D spreadsheet like data structure indexed byrows or columns.Col0Label(0)Label(1)Label(2)...Label(n-1)Col1 Col2 Col(n-1)....
Cool SciRuby Stickers
Thank YouRed Dot Ruby Conf
I will answer your questionsin my own childish ways.