module Integrals
Overview
Integral Calculus
Extended Modules
Defined in:
integrals/Integrals.crInstance Method Summary
-
#riemann_left(a : Float32, b : Float32, step : Float32, precision : Int32 = 2, &) : Float32
Left Riemann Sum
-
#riemann_midpoint(a : Float32, b : Float32, step : Float32, precision : Int32 = 2, &) : Float32
Midpoint Rule
-
#riemann_right(a : Float32, b : Float32, step : Float32, precision : Int32 = 2, &) : Float32
Right Riemann Sum
-
#trapezoidal_rule(a : Float64, b : Float64, step : Int32, precision : Int32 = 2, &) : Float64
Trapezoidal Sum
Instance Method Detail
def riemann_left(a : Float32, b : Float32, step : Float32, precision : Int32 = 2, &) : Float32
#
Left Riemann Sum
def riemann_midpoint(a : Float32, b : Float32, step : Float32, precision : Int32 = 2, &) : Float32
#
Midpoint Rule
def riemann_right(a : Float32, b : Float32, step : Float32, precision : Int32 = 2, &) : Float32
#
Right Riemann Sum
def trapezoidal_rule(a : Float64, b : Float64, step : Int32, precision : Int32 = 2, &) : Float64
#
Trapezoidal Sum