Sha256: ed76484bf0a25fb8238376e4466404649a97da7f2c546d89a715b25bbd90696f
Contents?: true
Size: 258 Bytes
Versions: 3
Compression:
Stored size: 258 Bytes
Contents
module Danica class Sin < Operator variables :variable def to_f Math.sin(variable.to_f) end private def tex_string "sin(#{variable.to_tex})" end def gnu_string "sin(#{variable.to_gnu})" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danica-2.0.4 | lib/danica/sin.rb |
danica-2.0.3 | lib/danica/sin.rb |
danica-2.0.2 | lib/danica/sin.rb |