Ignore:
Timestamp:
May 11, 2010, 4:54:20 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
3af16b7
Parents:
0c0e3bc
Message:

corregido error en vmatrix2vec.getPosition
refs #902

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2155 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_pkg/BysVecLinReg/tools.tol

    r0c0e3bc rad7e8ca  
    2525
    2626//////////////////////////////////////////////////////////////////////////////
    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
     29Real vmatrix2vec.getPosition(Real i, Real j, Real r, Real c)
    2930//////////////////////////////////////////////////////////////////////////////
    3031{
    31   MatDat(VMat2Triplet(vmatrix2vec(Triplet([[ [[i,j,1]] ]],_.d,_.m))),1,1)
     32  MatDat(VMat2Triplet(vmatrix2vec(Triplet([[ [[i,j,1]] ]],r,c))),1,1)
    3233};
    3334
Note: See TracChangeset for help on using the changeset viewer.