Changeset e1969fb in tol for tol_tests


Ignore:
Timestamp:
Oct 9, 2014, 3:29:19 PM (12 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e019cec
Parents:
b6035f3
Message:

refs #1795
Forgotten local changes

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_tests/tol/LinearAlgebra/PolMatrix/test_0002/check.tol

    rb6035f3 re1969fb  
    33#Require MPM;
    44
     5Real PutRandomSeed(23453);
     6
    57Real dim = 2;
    68Real deg = 2;
    7 Real T = 100;
     9Real T = 1000;
    810
    911Matrix x = VariableChange::@StableMatrixPolyn::
    … …  
    2325Real inequality_constraint_ = -Log(StationaryValue(determinant));
    2426
    25 Matrix X = Rand(T,dim,-1,1);
     27Matrix X0 = Rand(deg,dim,-1,1);
     28Matrix X  = Rand(T,  dim,-1,1);
    2629
    27 Matrix Y = P:X;
     30Matrix Y = P:(X0<<X);
     31
     32Matrix Y_ = Group("ConcatColumns",For(1, dim, Matrix(Real i)
     33{
     34  SetSum(For(1, dim, Matrix(Real j)
     35  {
     36    DifEq(PHI[i][j]/1,SubCol(X,[[j]]),SubCol(X0,[[j]]))
     37  }))
     38}));
     39
     40Matrix Y_t = Group("ConcatColumns",For(1, dim, Matrix(Real i)
     41{
     42  SetSum(For(1, dim, Matrix(Real j)
     43  {
     44    DifEq(PHI[j][i]/1,SubCol(X,[[j]]),SubCol(X0,[[j]]))
     45  }))
     46}));
    2847
    2948
    … …  
    3352Real eigen.module.max = MatMax(eigen.module);
    3453Real eigen.module.max.inv = 1/eigen.module.max;
     54
    3555
    3656
Note: See TracChangeset for help on using the changeset viewer.