https://github.com/georgtree/tclopt
Tcl wrapper for optimization procedures (mostly for non-linear fitting)
https://github.com/georgtree/tclopt
least-squares-optimization mpfit tcl tcl-extension
Last synced: 2 months ago
JSON representation
Tcl wrapper for optimization procedures (mostly for non-linear fitting)
- Host: GitHub
- URL: https://github.com/georgtree/tclopt
- Owner: georgtree
- License: mit
- Created: 2025-01-01T18:54:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-10T16:54:26.000Z (5 months ago)
- Last Synced: 2025-01-10T17:41:52.181Z (5 months ago)
- Topics: least-squares-optimization, mpfit, tcl, tcl-extension
- Language: C
- Homepage: https://georgtree.github.io/tclopt/
- Size: 378 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README






# Content
This package provides tcl wrapper for optimization procedures.
The sources of procedures are:
- [Levenberg-Marquardt Least Squares Fitting](http://cow.physics.wisc.edu/%7Ecraigm/idl/cmpfit.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)
- [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.# Supported platforms
I've tested it on:
- Kubuntu 24.04 with Tcl 9
- Windows 11 in MSYS64 UCRT64 environment with Tcl9# Documentation
You can find some documentation [here](https://georgtree.github.io/tclopt)