본문으로 바로가기

홈페이지 : http://www.hume.com/la/

이 패키지는 벡터와 행렬을 조작하기 위한 Tcl 함수로 구성되어 있습니다. 기능에는 스케일링, 정규화, 행 또는 열별 연결, 행 또는 열별 부분 집합, 형식화된 출력, 전치, 도트 곱, 행렬 곱셈, 선형 방정식 집합의 해, 행렬 역전, 고유값/유일 벡터 해, 특이값 분해, 선형 최소 제곱 해 등이 포함됩니다. 특이값 분해는 다변량 통계적 프로세스 제어의 주성분 분석을 수행하는 데 사용할 수 있으며, 관측값의 XXt 행렬의 잘못된 곱셈을 피할 수 있습니다.

사용자는 선형 대수 연산에서 벡터와 배열을 혼합할 수 있습니다. 이 로직은 합리적인 유형 변환을 수행합니다. 행렬의 각 요소에 대해 사용자 지정 프로시저를 평가하는 것과 같은 정교한 연산도 쉽게 수행할 수 있습니다. 데이터는 일반 Tcl 목록 변수로 표현되어 Tcl의 일반적인 명령을 사용할 수 있으며, 컴파일된 확장을 사용하여 데이터 요소에 효율적으로 액세스할 수 있습니다.

이 문서와 패키지는 ©Copyright 2001, Hume Integration Software의 저작권입니다. 라이선스 약관에 따라 라이선스 비용 없이 패키지를 사용할 수 있습니다.

 

The package consists of Tcl procedures for the manipulation of vectors and matrices. The functionality spans scaling, normalization, concatenation by rows or columns, subsetting by rows or columns, formatted printing, transpose, dot product, matrix multiplication, solution of linear equation sets, matrix inversion, eigenvalue/eigenvector solutions, singular value decomposition, and solution of linear least squares. The singular value decomposition can be used to perform the principle components analysis of multivariate statistical process control and avoid the possibly ill-conditioned multiplication of the XXt matrix of observations.

The user can mix vectors and arrays in linear algebra operations. The logic does reasonable conversion of types. Sophisticated operations such as evaluating a custom procedure against each element of a matrix are easily possible. Data is represented as ordinary Tcl list variables so that the usual commands of Tcl are useable, and efficient access to the data elements using compiled extensions is possible.

This document and the package are ©Copyright 2001, Hume Integration Software. You may use the package without licensing fees according to the License Terms.

set pi 3.1415            ;# a scalar
set v {2 1 0 3.1415}    ;# v[1] with value 3.1415
# vectors should use the first dimension of 2
set v {2 0 1 3.1415}    ;# error - vector should use first dimension only
set v {2 3 0 1 2 3 4}   ;# error - vector has an additional element
set m {2 2 3 1 2 3 4 5 6}  ;# m[2,3]
show $m
1 2 3
4 5 6
show [transpose $m]
1 4
2 5
3 6

la101win.zip
0.04MB
la101psx.zip
0.04MB

 

'Tcl & Tk > 확장 패키지 (Extension Package)' 카테고리의 다른 글

TclTLS 1.7.22  (0) 2025.04.10
Yet another dll caller  (0) 2025.04.10
hyperhelp v1.1.1.1  (0) 2025.04.03
Process ID Extension for Win32 0.9  (0) 2025.04.03
mysqltcl - Tcl Mysql Interface (Version 3.05)  (0) 2025.04.03