홈페이지: https://github.com/auriocus/VecTcl
이 패키지는 벡터, 행렬 및 정수의 고차 텐서, 부동 소수점 및 복소수를 지원하는 Tcl용 수치 배열 확장을 제공합니다. 기본 배열 형성, 슬라이싱 및 선형 대수 서브루틴을 기본적으로 지원하며 Tcl과 원활하게 통합되도록 설계되었습니다. 사용자 인터페이스는 expr과 유사한 표현식 평가기 역할을 하는 단일 명령인 vexpr로 구성됩니다. vexpr에서 지원하는 언어는 교과서 수학에서 사용되는 언어를 밀접하게 모델링하는 Matlab에서 영감을 받았습니다.
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.
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}
'Tcl & Tk > 확장 패키지 (Extension Package)' 카테고리의 다른 글
Tcl3D 1.0.1 (0) | 2025.08.18 |
---|---|
BLT 2.5.3 (0) | 2025.08.18 |
VU widgets 2.1.0 (0) | 2025.08.18 |
tcl-duktape 0.12.1 (0) | 2025.08.18 |
html3widget - a tcl/tk megawidget (0) | 2025.08.18 |