Sha256: 5867de984badd1aa5574221808a2db6a0d44be7205cdc88f37a82771d930ff50

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

module Danica
  class Function::Parabole < Function.build(:x) { Danica::Parabole.new }
  end
end

module Danica
  class Function::SaddleParabole < Function::Parabole
    variables :y

    def function_block
      super - power(y, 2)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
danica-2.7.4 spec/support/models/function/parabole.rb
danica-2.7.3 spec/support/models/function/parabole.rb
danica-2.7.2 spec/support/models/function/parabole.rb
danica-2.7.1 spec/support/models/function/parabole.rb
danica-2.6.4 spec/support/models/function/parabole.rb
danica-2.6.3 spec/support/models/function/parabole.rb