Interpolate, derive, integrate and solve differential equations, using the main methods of numerical analysis, with Julia.
- From Pkg
using Pkg
Pkg.add("Qaylla")
- Fron GitHub
using Pkg
Pkg.add("https://github.com/Mitchell-Mirano/Qaylla.jl.git")
x=0:0.5:3
y=x .|> exp
p=lagrange(x,y) #computes p(x), the Lagrange polynomial interpolation.
p(2.1) # use p(x) in a point.
x=0:0.5:3
y=x .|> exp
p=newton(x,y) #computes p(x), the Newton polynomial interpolation.
p(2.1) # use p(x) in a point.
Use Simpson's composite method to compute the integral of f(x), when x is between a and b, for example:
f(x)=sin(x)
a=0
b=pi/2
n=4
simpson(f,a,b,n)
Use Simpson's composite method to compute the integral of F(x,y), in an irregular region, when x is between a and b and y is between c(x) and d(x), for example:
F(x,y)=x^2 + sin(y)
a,b=0,1
c(x)=x
d(x)=2*x
n,m=4,4
simpson2d(F,a,b,c,d,n,m)
This package is currently under development and will soon add new features.
If you want to participate in the maintenance or active development of the package, feel free to get in touch via an issue on GitHub or by writing an email to the developer.
All help is always welcome. You can help by improving the documentation, reporting bugs or adding new methods.