Sha256: 39b53d921d748a185dbc2dc24a9ae84363e13069573805f79c099d81352fc040

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

require 'symath/definition/trig'

module SyMath
  class Definition::Sec < Definition::Trig
    def initialize()
      super(:sec)
    end
    
    def description()
      return 'sec(x) - trigonometric secant'
    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/sec.rb
symath-0.1.0 lib/symath/definition/sec.rb