Socket
Book a DemoInstallSign in
Socket

calculose

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calculose

0.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

Calculose

The Calculose gem implements two methods for estimating the value of an antiderivative over an interval. The gem implements two methods: Simpsons's Method and Euler's Method. This gem was the product of frustration at the monotonous nature of summing integrals, and the unwieldily interfaces and UXs on most graphing calculators.

Installation

Add this line to your application's Gemfile:

gem 'calculose'

And then execute:

$ bundle

Or install it yourself as:

$ gem install calculose

Usage

Simpson's can be called thusly:

Calculose::Calc.simpson(deltaX, startingX, endingX) do |x| f(x) end

where f(x) is the base function.

Euler's can be called thusly:

Calculose::Calc.euler(deltaX, startingX, startingY, endingX) do |x,y| f(x) end

Note that both x and y are passed to the block by the function.

##To do

  • CLI
  • More algorithms

FAQs

Package last updated on 13 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.