close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
Ticket #588: ejemplo_serie_truncada.tol
| File ejemplo_serie_truncada.tol, 408 bytes (added by jldflores, 17 years ago) |
|
Codigo tol de ejemplo
|
| Line | |
|---|
| 1 | |
|---|
| 2 | Serie s1 = SetSer(MatSet(Rand(100,1,0,1)),y2000m01d01,Daily); |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | Serie s2 = s1 << SubSer(UnknownSerie,Last(s1),Succ(Last(s1),Daily,10)); |
|---|
| 6 | |
|---|
| 7 | Real dim1 = CountS(s2); |
|---|
| 8 | WriteLn("Dimensión de la serie antes de realizar la operación\n dim=" + IntText(dim1)); |
|---|
| 9 | |
|---|
| 10 | Matrix aux = SerMat(s2); |
|---|
| 11 | |
|---|
| 12 | Real dim2 = CountS(s2); |
|---|
| 13 | WriteLn("Dimensión de la serie despues de realizar la operación\n dim=" + IntText(dim2)); |
|---|
| 14 | |
|---|
| 15 | |
|---|
Download in other formats: