Sha256: 14da391a0717757aeb01761b2651f34f3d1fc12958560c1f583589f8d30c85e2

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

Stored size: 191 Bytes

Contents

require 'backprop'

include BackProp

deg_f = 68.5

puts "Convert #{deg_f} to celsius using arithmetic (F - 32 * 5/9):"

f = Value.new(68.5, label: :f)
c = (f - 32) * 5 / 9; c.label = :c
p c

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backprop-0.0.1.1 demo/celsius.rb
backprop-0.0.0.1 demo/celsius.rb