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.

Opened 13 years ago

Last modified 13 years ago

#1516 closed defect

Error en las funciones de Interpolación del StdLib — at Initial Version

Reported by: IgnacioGonzalezPuente Owned by: Víctor de Buen Remiro
Priority: highest Milestone: TOL Packages
Component: Kernel Version: 3.1
Severity: blocker Keywords:
Cc:

Description

Hola,

Buscando funciones de interpolación,hemos visto que en StdLib::Interpolate::Scalar había algunas.

Sin embargo, al ir a probarlas nos ha dado error:

ERROR: [1] x_ no es un objeto valido para el tipo Real.

[Call stack]

[3] Matrix hnd::handler::evalMat (Matrix X)
[2] Matrix StdLib::Interpolate::Scalar::fillMissAllMat (Matrix X, Matrix Y, Text method, Real order)
[1] Serie StdLib::Interpolate::Scalar::fillMissIsoSer (Serie y, Text method, Real order)

ERROR: [2] Argumentos erróneos para Real (Real modo, Real a [, Real b])

[Call stack]

[3] Matrix hnd::handler::evalMat (Matrix X)
[2] Matrix StdLib::Interpolate::Scalar::fillMissAllMat (Matrix X, Matrix Y, Text method, Real order)
[1] Serie StdLib::Interpolate::Scalar::fillMissIsoSer (Serie y, Text method, Real order)

ERROR: [3] Fallo en la función "eval"

[Call stack]

[3] Matrix hnd::handler::evalMat (Matrix X)
[2] Matrix StdLib::Interpolate::Scalar::fillMissAllMat (Matrix X, Matrix Y, Text method, Real order)
[1] Serie StdLib::Interpolate::Scalar::fillMissIsoSer (Serie y, Text method, Real order)


Las series que hemos utilizado son las siguientes:
Serie ser001.t1 = SubSer(CalInd(W, Mensual), y2010, y2010);
Serie ser001.t2 = Log(SubSer(CalInd(W, Mensual), y2010m2, y2010m12));
Serie ser001.t3 = SubSer(Gaussian(1000, 50, Mensual), y2011, y2012);
Serie ser001 = ser001.t1 >> ser001.t2 >> ser001.t3;

Y las funciones que hemos probado son:
Serie StdLib::Interpolate::Scalar::fillMissIsoSer(ser001, "linear", 12);
Serie StdLib::Interpolate::Scalar::fillMissAllSer(ser001, "linear", 12);

Change History (0)

Note: See TracTickets for help on using tickets.