TOMSOL
Mixed user routines and MATLAB improvements.
Main features
Task nbr |
Syntax |
Comments |
2 |
x = tomsol(2,A,b) Gives backsubL(A,b) . |
Used in ssqls . |
|
3 |
x = tomsol(3,A,b) Gives backsubR(A,b) . |
Used in ucSolve and ssqls . |
|
4 or 32 |
x = tomsol(4,A,b) x = A * b
|
Use only if A is sparse. |
|
5 or 33 |
x = tomsol(5,A,b) x = A(T) * b
|
Use only if A is sparse. |
|
6 |
x = tomsol(6,Q,R,E,pRank,z) - SolveQR Given QR-decomposition, solve rhs z . |
Used in clsSolve, conSolve, cutplane, DualSolve, lpSolve and qpSolve . |
|
7 |
x = tomsol(7,Q,R,E,pRank,z) - SolveQRT Given transposed QR-decomposition, rhs z . |
DualSolve, lpSolve . |
|
8 |
[x, nFunc] = tomsol(8,xL, xU, Func, xTol, Prob) Find minimum in [xL,xU] for function Func within tolerance xTol . Prob is a structure sent to Func . nFunc number of calls. |
See Tfmin . |
|
9 |
x = tomsol(9,L,C,D) x = L + C.*D , coordinate transformation, C matrix.
|
Used in glbSolve, glbFast, glcSolve, glcFast, glcCluster, ego and rbfSolve . |
|
11 |
h = tomsol(11,x,y) h = conhull(x,y) . Compute convex hull for (x,y), x sorted.
|
Used in glbSolve . |
|
12 |
[invR, detR, pRank] = tomsol(12,R,epsRank) invR : inverse of positive definite R
detR: det(R)
epsRank : rank tolerance
pRank : Pseudo rank determined using epsRank .
|
Used in ego . |
|
13 |
[Z, qraux, ipvt] = tomsol(13,A, Pivot, ipvt) Calls LINPACK DQRDC . A is m x n . Pivot ==1 if pivoting. ipvt(i) initial, ipvt(i) set as 0 (free), < 0 or > 0, Z holds Q and R , qraux part of Q . |
Used in ego . |
|
14 |
[Qy, Info, Qty, x, r, Ax] = tomsol(14, Z, qraux, Y, epsRank, CompQy, ipvt) Calls LINPACK QRSL , Z , qraux , ipvt from QRDC . Y may be matrix of y columns. |
|
|
15 |
[invA, detA] = tomsol(15,Z) A = QR, Z output from tomsol(13,A,.. call. Calls LINPACK PODI .
|
|
|
16 |
Reserved for glbFast . |
|
|
18 |
Reserved for glcFast . |
|
|
21-28 |
rbfSolve and ego routines. |
|
|
29 |
minl1=tomsol(29,C) AllNorms , Min distance from all X elements to the neighbors.
|
Used in glcCluster |
|
30 |
distVec=tomsol(30,X,Y) X and Y column vectors. distVec : Distance from all Y to the elements in X
|
Used in glcCluster , rbfSolve and ego |
|
31 |
[Ir,Jc,Pr]=tomsol(31,A,offset) [Ir,Jc,Pr]=spdis(A); or [Ir,Jc,Pr]=spdis(A,offset);
offset = 1 returns the vectors using the MATLAB standard. If not the indices will start with 0. |
|
|
34 |
vec = tomsol(34, Matrix, Pattern) Sparse Matrix to static full vector, Pattern-ordered. |
|
|