- see how to implement a fractal interpolation algorithm in different programming languages
- compare implementation of the CPU time, code length and readability
Current version is prepared to run on Linux terminal.
To compile the source run in FractalInterpolation
directory:
make prepare
To run efficiency tests run in FractalInterpolation
directory:
make time_test
Each folder stands for a different programmin language.
.
├── C
│ ├── main.c
│ └── Makefile
├── Fortran
│ ├── main.f
│ └── Makefile
├── Haskell
│ └── main.hs
├── Makefile
├── Octave
│ └── main.m
├── Python
│ └── main.py
├── README.md
└── SML
└── main.sml
We want to interpolate function U to position x knowing values of U only in N nodes on uniform grid.
Given the interval
- implement the algorithm in a new naw language
- implement the algorithm in a substantially different or more efficient way in a language already present in this repo
- run tests and report the execution time