The package "ndlist" is a pure-Tcl tensor manipulation package. https://github.com/ambaker1/ndlist
-AMB