Sha256: 96b8ae0877cf06051f19e7fa4c33743342db12c917e05ddaf488149cbe2cad35
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
module Danica class Function::Baskara < Function variables :a, :b, :c private def function_block @function_block ||= numerator / denominator end def numerator negative(b) + PositiveNegative.new(squared_root(delta)) end def denominator number(2) * a end def delta power(b, 2) - product(4, a, c) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danica-2.2.0 | spec/support/models/functions/baskara.rb |