Changeset ad7e8ca in tol for tol_pkg/BysVecLinReg/tools.tol
- Timestamp:
- May 11, 2010, 4:54:20 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 3af16b7
- Parents:
- 0c0e3bc
- File:
-
- 1 edited
-
tol_pkg/BysVecLinReg/tools.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol_pkg/BysVecLinReg/tools.tol
r0c0e3bc rad7e8ca 25 25 26 26 ////////////////////////////////////////////////////////////////////////////// 27 //Returns the position of cell (i,j) of M in stacked columns form 28 Real vmatrix2vec.getPosition(Real i, Real j, VMatrix M) 27 //Returns the position of cell (i,j) of in stacked columns form of a matrix 28 //with r rows and c columns 29 Real vmatrix2vec.getPosition(Real i, Real j, Real r, Real c) 29 30 ////////////////////////////////////////////////////////////////////////////// 30 31 { 31 MatDat(VMat2Triplet(vmatrix2vec(Triplet([[ [[i,j,1]] ]], _.d,_.m))),1,1)32 MatDat(VMat2Triplet(vmatrix2vec(Triplet([[ [[i,j,1]] ]],r,c))),1,1) 32 33 }; 33 34
Note: See TracChangeset
for help on using the changeset viewer.
