API Reference
FuseUtils
FuseUtils.cumtrapz
— Functioncumtrapz(x::AbstractVector{S}, y::AbstractVector{T}) where {S<:Real, T<:Real}
Computes the cumulative integral of the values in y
with respect to x
using the trapezoidal rule.
cumtrapz(x::AbstractVector{S}, f::T) where {S<:Real, T<:Function}
Computes the cumulative integral of f(k::Int, xx::S)
for xx = x[k]
with respect to x
using the trapezoidal rule.
FuseUtils.trapz
— Functiontrapz(x::AbstractVector{S}, y::AbstractVector{T}) where {S<:Real, T<:Real}
Numerically integrates the values in y
with respect to x
using the trapezoidal rule.
trapz(x::AbstractVector{S}, f::T) where {S<:Real, T<:Function}
Numerically integrates f(k::Int, xx::S)
for xx = x[k]
with respect to x
using the trapezoidal rule.