https://github.com/georgtree/tclinterp
Tcl wrapper for C interpolation routines
https://github.com/georgtree/tclinterp
approximation interpolation math tcl tcl-extension
Last synced: 2 months ago
JSON representation
Tcl wrapper for C interpolation routines
- Host: GitHub
- URL: https://github.com/georgtree/tclinterp
- Owner: georgtree
- License: lgpl-2.1
- Created: 2024-12-05T22:41:21.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-24T00:21:30.000Z (6 months ago)
- Last Synced: 2024-12-24T01:17:37.229Z (6 months ago)
- Topics: approximation, interpolation, math, tcl, tcl-extension
- Language: C
- Homepage: https://georgtree.github.io/tclinterp/
- Size: 1.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README






# Content
This package provides tcl wrapper for interpolation and approximation procedures.
The sources of procedures are:
- [Linear interpolation routines](https://people.math.sc.edu/Burkardt/c_src/interp/interp.html)
- [Spline interpolation and approximation routines](https://people.math.sc.edu/Burkardt/c_src/spline/spline.html)# Installation and dependencies
For building you need:
- [SWIG of version 4.3](https://www.swig.org/download.html)
- [Tcl9](https://www.tcl.tk/software/tcltk/9.0.html) or [Tcl8.6.15](https://www.tcl.tk/software/tcltk/8.6.html)
- [gcc compiler](https://gcc.gnu.org/)
- [make tool](https://www.gnu.org/software/make/)For run you also need:
- [argparse](https://wiki.tcl-lang.org/page/argparse)
- [Tcllib](https://www.tcl.tk/software/tcllib/)To build, run
```bash
./configure
make
sudo make install
```
If you have different versions of Tcl on the same machine, you can set the path to this version with `-with-tcl=path`
flag to configure script.For Windows build it is strongly recommended to use [MSYS64 UCRT64 environment](https://www.msys2.org/), the above
steps are identical if you run it from UCRT64 shell.There are prebuilt packages that contains .so/.dll files, tcl code and tests for Windows and Linux.
# Supported platforms
I've tested it on:
- Kubuntu 24.04 with Tcl 9 and Tcl 8.6.15
- Windows 11 in MSYS64 UCRT64 environment with Tcl9# Documentation
You can find some documentation [here](https://georgtree.github.io/tclinterp)