Skip to content
Numeric array and linear algebra extension for Tcl
C Tcl Shell Other
Branch: master
Clone or download
Pull request Compare This branch is 61 commits behind auriocus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
APIdemo
LICENSES
benchmark
demo
generic
tclconfig
tea
tests
tools
win
.gitignore
Makefile.in
README.md
aclocal.m4
configure
configure.in
gentest.tcl
license.terms
lsqbench.tcl
pkgIndex.tcl.in
tcl86_vectcl.patch
teapot.txt.in
vectclConfig.sh.in
vectclab.tcl
vexpr.tcl

README.md

VecTcl

A numerical array extension for Tcl

This package provides a numerical array extension for Tcl with support for vectors, matrices and higher-rank tensors of integers, floating point and complex numbers. It has builtin support for basic array shaping, slicing and linear algebra subroutines and is designed to integrate seamlessly with Tcl. The user interface consists of a single command, vexpr, which acts as an expression evaluator similar to expr. The language supported by vexpr is inspired by Matlab, which closely models the language used by textbook math.

Example:

package require vectcl
namespace import vectcl::vexpr
# create a vector and multiply by 3
set x {1 2 3}
set y [vexpr {3*x}]
# y is now {3 6 9}

For further documentation, see the home page on GitHub pages

You can’t perform that action at this time.