Learn R Programming

inteq (version 1.0)

Numerical Solution of Integral Equations

Description

An R implementation of Matthew Thomas's 'Python' library 'inteq'. First, this solves Fredholm integral equations of the first kind ($f(s) = \int_a^b K(s, y) g(y) dy$) using methods described by Twomey (1963) . Second, this solves Volterra integral equations of the first kind ($f(s) = \int_0^s K(s,y) g(t) dt$) using methods from Betto and Thomas (2021) . Third, this solves Voltera integral equations of the second kind ($g(s) = f(s) + \int_a^s K(s,y) g(y) dy$) using methods from Linz (1969) .

Copy Link

Version

Install

install.packages('inteq')

Monthly Downloads

130

Version

1.0

License

MIT + file LICENSE

Maintainer

Mark Clements

Last Published

July 29th, 2025

Functions in inteq (1.0)

volterra_solve2

Solve a Volterra equation of the second kind
indexing

Internal function to convert (row,col) to vector index
fredholm_solve

Solve a Fredholm equation of the first and second kind
diag_ext

Internal function to generate diagonal matrices with possibly an offset with possibly mirrored diagonal
volterra_solve

Solve a Volterra equation of the first kind
simpson

Internal function to calculate integration weights for Simpson's rule
makeH

Make H Matrix as in (Twomey 1963)
smooth

Internal function to smooth a vector of values using two-point average