Sha256: 06a67993a2e3a242f6a9a044fbd9a7720135446f3e2872ccc0c0c1adae495f96

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

require 'symath/definition/trig'

module SyMath
  class Definition::Csc < Definition::Trig
    def initialize()
      super(:csc)
    end
    
    def description()
      return 'csc(x) - trigonometric cosecant'
    end

    def reduce_call(c)
      return reduce_sec_and_csc(c, 0)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
symath-0.1.1 lib/symath/definition/csc.rb
symath-0.1.0 lib/symath/definition/csc.rb