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.

Changes between Initial Version and Version 1 of TolGuiaDelUsuarioSet


Ignore:
Timestamp:
Feb 27, 2009, 5:30:16 PM (16 years ago)
Author:
Víctor de Buen Remiro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TolGuiaDelUsuarioSet

    v1 v1  
     1[[PageOutline]]
     2= Set =
     3Funciones que devuelven Set[[BR]]
     4 == Función '''*''' ==
     5  * Declaración:
     6{{{
     7Set cto1 * cto2  {Set cto1, Set cto2}
     8}}}
     9  * Descripción:
     10{{{
     11Devuelve la intersección de dos conjuntos.
     12}}}
     13  * Lenguaje:C++
     14  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     15
     16 == Función '''+''' ==
     17  * Declaración:
     18{{{
     19Set cto1 + cto2  {Set cto1, Set cto2}
     20}}}
     21  * Descripción:
     22{{{
     23Devuelve la unión de dos conjuntos.
     24}}}
     25  * Lenguaje:C++
     26  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     27
     28 == Función '''-''' ==
     29  * Declaración:
     30{{{
     31Set cto1 - cto2  {Set cto1, Set cto2}
     32}}}
     33  * Descripción:
     34{{{
     35Devielve la diferencia entre dos conjuntos.
     36}}}
     37  * Lenguaje:C++
     38  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     39
     40 == Función '''<<''' ==
     41  * Declaración:
     42{{{
     43Set cto1 << cto2  {Set cto1, Set cto2}
     44}}}
     45  * Descripción:
     46{{{
     47Concatena dos conjuntos sin eliminar elementos repetidos y conservando el orden.
     48}}}
     49  * Lenguaje:C++
     50  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     51
     52 == Función '''AIA''' ==
     53  * Declaración:
     54{{{
     55Set AIA(Serie ser, Ratio rat [, Set outliers, Real optMaxOrder=0, Real optMaxCrossNum=100, Real optMinNonZeroParamProb=0.99, Real optMaxEigenValueRelativeRange=100])
     56}}}
     57  * Descripción:
     58{{{
     59AIA: Análisis de Intervención Automático de series temporales.
     60
     61Se parte de la serie de residuos <ser> del modelo ARIMA dado por el
     62cociente de polinomios de retardo
     63
     64  <rat> = (Dif(B)*Ar(B))/Ma(B).
     65
     66Este modelo puede haber sido estimado previamente o simplemente
     67se puede postular un modelo ARIMA cualquiera.
     68
     69El conjunto <outliers> contiene las diferentes formas de intervención
     70que se quieren explorar definidas mediante objetos de tipo Ratio
     71con nombre. Si no se especifican se usarán las formas por defecto:
     72
     73  Ratio PulseOut   = 1/1;
     74  Ratio CompensOut = (1-B)/1;
     75  Ratio StepOut    = 1/(1-B);
     76
     77Es muy recomendable seguir la nomenclatura Ratio <name>Out para
     78poder hacer uso de algunas funciones basadas en AIA.
     79
     80El procedimiento se basa en tomar los residuos más altos en valor
     81absoluto y probar qué formas explican mejor a los mismos.
     82
     83Evidentemente un procedimiento exhaustivo de exploración de todas
     84las combinaciones de inputs definidos por una fechas vecinas
     85a un residuo alto y una de las formas del conjunto <outliers>
     86sería impracticable con apenas unas docenas de datos.
     87
     88El procedimiento debe por lo tanto tomar las combinaciones que
     89se consideren más probables y estimar modelos lineales para ver
     90cuál es efectivamente la mejor de ellas. Una vez filtrados los
     91residuos de dicha combinación de inputs, este proceso se repetirá
     92secuencialmente hasta que se considere que ninguna combinación
     93nueva mejora los resultados, lo cual ocurrirá si el mínimo valor
     94de las t-student de los inputs estimados no alcanza la significación
     95dada por el argumento <optMinNonZeroParamProb>, o bien si los
     96autovalores de la matriz de covarianzas de los parámetros tienen
     97un rango relativo mayor que <optMaxEigenValueRelativeRange>
     98
     99El parámetro <optMaxOrder> indica el tamaño máximo de cada una de
     100esas combinaciones de inputs que se explorarán.
     101
     102El parámetro <optMaxCrossNum> indica el máximo de combinaciones
     103de dimensión n que se tomarán como candidatas para generar las
     104de dimensión n+1
     105
     106Cuanto mayores sean <optMaxOrder> y <optMaxCrossNum> más
     107combinaciones se explorarán y mejores resultados se podrán obtener
     108al tenerse en cuenta las correlacioens entre los diferentes
     109inputs, los cuáles pueden necesitar unos de otros para alcanzar
     110la significación mínima. Evidentemente también aumenta el coste
     111computacional.
     112
     113Los valores razonables de <optMaxOrder> se encuentran empíricamente
     114entre 1 y 4 y los de <optMaxCrossNum> entre 10 y 1000.
     115
     116
     117Para guardar compatibilidad con versiones anteriores,
     118si no se especifica <optMaxOrder> o bien es menor o igual que 0
     119se utilizará una implementación simplificada ligeramente más rápida
     120pero bastante menos robusta
     121
     122}}}
     123  * Lenguaje:C++
     124  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/aia.cpp tol/btol/bmodel/aia.cpp]
     125
     126 == Función '''ARIMAAlmagroEval''' ==
     127  * Declaración:
     128{{{
     129Set ARIMAAlmagroEval(Set arima, Matrix output [, Real sigma=1.0])
     130}}}
     131  * Descripción:
     132{{{
     133Calcula los residuos del modelo con valores iniciales máximo verosímiles usando el algoritmo de Almagro.
     134NOTA: Si la matriz de output ya está diferenciada hay que introduciren arima el polinomio de diferencias 1 en todas las estacionalidades.
     135Si todo funciona correctamente devuelve lo siguiente:
     136Matrix z:Ruido
     137Matrix w:Ruido diferenciado
     138Matrix a:Tra(Psi)*Inv(ACOV)*W : Residuos del modelo condicionados al ruido diferenciado.
     139Matrix ACOV:Función de autocoavarianzas del modelo
     140Matrix ACF:Función de Autocorrelaciones del modelo
     141Real ACOVDetN:Det(ACOV)^(1/N): Raíz N-ésima del determinante de la matriz de autocoavarianzas
     142Real wtACOViw:w'*ACOViw: Suma de cuadrados del ruido diferenciado en la métrica de las autocovarianzas.
     143Real aS2:a'*a : Suma de cuadrados de los residuos
     144Real logLH:-(1/2)*(N*Log(2*pi*sigma^2) + N*Log(ACOVDetN) + wtACOViw/sigma^2) : Logaritmo de la función de verosimilitud
     145Matrix w0:Los p valores iniciales del ruido diferenciado. Sólo los devuelve si calcInitialValues es cierto
     146Matrix a0:Los q valores iniciales del ruido diferenciado. Sólo los devuelve si calcInitialValues es cierto
     147
     148}}}
     149  * Lenguaje:C++
     150  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     151
     152 == Función '''ARIMALevinsonEval''' ==
     153  * Declaración:
     154{{{
     155Set ARIMALevinsonEval(Set arima, Matrix output [, Real calcInitialValues=false, Real sigma=1.0])
     156}}}
     157  * Descripción:
     158{{{
     159Calcula los residuos del modelo con valores iniciales máximo verosímiles usando el algoritmo de Levinson.
     160NOTA: Si la matriz de output ya está diferenciada hay que introduciren arima el polinomio de diferencias 1 en todas las estacionalidades.
     161Si todo funciona correctamente devuelve lo siguiente:
     162Matrix z:Ruido
     163Matrix w:Ruido diferenciado
     164Matrix ACoviw:Inv(ACOV)*w : Variable axuliar que puede ser de gran ayuda.
     165Matrix a:Tra(Psi)*Inv(ACOV)*W : Residuos del modelo condicionados al ruido diferenciado.
     166Matrix ACOV:Función de autocoavarianzas del modelo
     167Matrix ACF:Función de Autocorrelaciones del modelo
     168Matrix PACF:Función de autocorrelaciones parciales del modelo
     169Matrix IACF:Función de autocorrelaciones inversas del modelo
     170Real ACOVDetN:Det(ACOV)^(1/N): Raíz N-ésima del determinante de la matriz de autocoavarianzas
     171Real wtACOViw:w'*ACOViw: Suma de cuadrados del ruido diferenciado en la métrica de las autocovarianzas.
     172Real aS2:a'*a : Suma de cuadrados de los residuos
     173Real logLH:-(1/2)*(N*Log(2*pi*sigma^2) + N*Log(ACOVDetN) + wtACOViw/sigma^2) : Logaritmo de la función de verosimilitud
     174Matrix w0:Los Max(p,q) valores iniciales del ruido diferenciado. Sólo los devuelve si calcInitialValues es cierto
     175Matrix a0:Los Max(p,q) valores iniciales del ruido diferenciado. Sólo los devuelve si calcInitialValues es cierto
     176
     177}}}
     178  * Lenguaje:C++
     179  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     180
     181 == Función '''ARMAGohbergSemenculEval''' ==
     182  * Declaración:
     183{{{
     184Set ARMAGohbergSemenculEval(Polyn AR, Polyn MA, Matrix W [, Real calcResiduals=false])
     185}}}
     186  * Descripción:
     187{{{
     188Calcula la varianza del modelo como
     189  (1/N)*Tra(W)*Inv(Cov)*W (Máxima Verosimilitud)
     190mediante la aplicación de la fórmula de Gohberg-Semencul para el caso de la inversa de una matriz simétrica de Toeplitz que en el caso ARMA se puede aproximar mediante ecuaciones en diferencias sobre el ruido ampliado con N ceros por la derecha y con valores iniciales nulos.Si el argumento opcional calcResiduals es cierto, entonces también estima los residuos del modelo condicionados al ruido diferenciado W:
     191  Tra(PSI)*Inv(Cov)*W
     192Si W tiene varias columnas los cálculos se reproducen para cada una de ellas devolviendo los resultados en las correspondientes columnas de varianzas y residuos, si procede.Esto es especialmente útil para estimación masiva de modelos idénticos sobre distintas series de ruidoEsta función es una aproximación y puede dar resultados erróneos en casos extremos. En tal caso es mejor usar ARIMALevinsonEval que es mucho más precisa y lenta.
     193}}}
     194  * Lenguaje:C++
     195  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     196
     197 == Función '''AlgLib.Interp.Vector.CreateWorkSpace''' ==
     198  * Declaración:
     199{{{
     200Set AlgLib.Interp.Vector.CreateWorkSpace(Text interpType, Matrix x, Matrix f [, Real order=0, Real copy=false])
     201}}}
     202  * Descripción:
     203{{{
     204Crea el espacio de trabajo necesario para evaluar un manejador de funciones vectoriales de interpolación de AlgLib.
     205Cada fila de las matrices <x> e <f> se refiere a una función de real a real.
     206Si <x> sólo tiene una fila se tomará la misma para todas las filas de <f>
     207.Algunos métodos no son exáctamente de interpolación sino de aproximación uniforme estimada por mínimos cuadrados sobre una familia específica de funciones de dimensión igual al argumento opcional <order>. Si no se pasa este argumento o no es positivo o el método no es de mínimos cuadrados sino de interpolación exacta, entonces se usará el número de columnas de las matrices <x> e <f> que ha de ser lógicamente el mismo.
     208Si el argumento opcional <copy> es cierto entonces se usará internamente una copia de las matrices <x> e <f> pero en caso contrario se usarán directamente y será responsabilidad del usaurio asegurar que dichas matrices permanecen vivas mientras se usa el manejador. Esta característica puede ser útil para ahorrar memoria cuando se manejan matrices muy grandes pero debe emplearse con sumo cuidado.
     209Los tipos de interpolación admisibles para el argumento <interpType> son:
     210  "BarycentricRational"
     211  "LinearSpline"
     212  "CubicSpline"
     213  "AkimaSpline"
     214  "SplineLeastSquares"
     215  "ChebyshevLeastSquares"
     216  "PolynomialLeastSquares"
     217Más detalles en http://www.alglib.net/interpolation
     218}}}
     219  * Lenguaje:C++
     220  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_interp.cpp tol/contrib/alglib/alglib_interp.cpp]
     221
     222 == Función '''AlgLib.MannWhitneyUtest''' ==
     223  * Declaración:
     224{{{
     225Set AlgLib.MannWhitneyUtest(Matrix x, Matrix y)
     226}}}
     227  * Descripción:
     228{{{
     229El test Mann-Whitney-U es un método no paramétrico que se utiliza como una alternativa a los dos-muestra la prueba t de Student. Por lo general, esta prueba se utiliza para comparar las medianas de las distribuciones no normales X e Y (el t-test no es aplicable porque X e Y no son normales)
     230Ver http://www.alglib.net/statistics/hypothesistesting/mannwhitneyu.php
     231}}}
     232  * Lenguaje:C++
     233  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     234
     235 == Función '''AlgLib.OneSampleSignTest''' ==
     236  * Declaración:
     237{{{
     238Set AlgLib.OneSampleSignTest(Matrix x, Real m)
     239}}}
     240  * Descripción:
     241{{{
     242La señal de signos es un test no paramétrico utilizado para comparar con la mediana de la distribución de un determinado valor m. Esta prueba podrí ser utilizada como una alternativa para una muestra de t de Student. A diferencia de la t de Student, la prueba de signo puede trabajar con distribuciones no normales.
     243Ver http://www.alglib.net/statistics/hypothesistesting/signtest.php
     244}}}
     245  * Lenguaje:C++
     246  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     247
     248 == Función '''AlgLib.PearsonCorrelationSignificance''' ==
     249  * Declaración:
     250{{{
     251Set AlgLib.PearsonCorrelationSignificance(Real r, Real n)
     252}}}
     253  * Descripción:
     254{{{
     255Esta prueba chequea la hipótesis de que dos muestras X e Y con correlación muestral r son muestras de dos distribuciones normales con correlación cero o si su correlación es distinto de cero..
     256Ver http://www.alglib.net/statistics/hypothesistesting/correlation.php
     257}}}
     258  * Lenguaje:C++
     259  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     260
     261 == Función '''AlgLib.SpearmanRankCorrelationSignificance''' ==
     262  * Declaración:
     263{{{
     264Set AlgLib.SpearmanRankCorrelationSignificance(Real r, Real n)
     265}}}
     266  * Descripción:
     267{{{
     268Esta prueba chequea la hipótesis de que dos muestras X e Y con correlación muestral r son muestras de dos distribuciones continuous con correlación cero o si su correlación es distinto de cero..
     269Ver http://www.alglib.net/statistics/hypothesistesting/correlation.php
     270}}}
     271  * Lenguaje:C++
     272  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     273
     274 == Función '''AlgLib.StudentTtest1''' ==
     275  * Declaración:
     276{{{
     277Set AlgLib.StudentTtest1(Matrix x, Real m)
     278}}}
     279  * Descripción:
     280{{{
     281Esta prueba se utiliza para comprobar la hipótesis sobre el hecho de que la media de la variable aleatoria X es igual a la dada m. Las muestras para la prueba debe ser una muestra de una variable aleatoria normal.
     282Ver http://www.alglib.net/statistics/hypothesistesting/studentttest.php
     283}}}
     284  * Lenguaje:C++
     285  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     286
     287 == Función '''AlgLib.StudentTtest2''' ==
     288  * Declaración:
     289{{{
     290Set AlgLib.StudentTtest2(Matrix x, Matrix y)
     291}}}
     292  * Descripción:
     293{{{
     294Esta prueba chequea la hipótesis de que la media de dos variables aleatorias X e Y, que son representados por las muestras <x> e <y> son iguales. La prueba funciona correctamente bajo las siguientes condiciones:
     295 - Ambas variables aleatorias tienen una distribución normal
     296 - Las dispersiones son iguales (o ligeramente diferente)
     297 - Las muestras son independientes.
     298
     299Ver http://www.alglib.net/statistics/hypothesistesting/studentttest.php
     300}}}
     301  * Lenguaje:C++
     302  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     303
     304 == Función '''AlgLib.UnequalVarianceTTest''' ==
     305  * Declaración:
     306{{{
     307Set AlgLib.UnequalVarianceTTest(Matrix x, Matrix y)
     308}}}
     309  * Descripción:
     310{{{
     311Esta prueba chequea la hipótesis de que la media de dos variables aleatorias X e Y, que son representados por las muestras <x> e <y> son iguales. La prueba funciona correctamente bajo las siguientes condiciones:
     312 - Ambas variables aleatorias tienen una distribución normal
     313 - Las muestras son independientes.
     314
     315Ver http://www.alglib.net/statistics/hypothesistesting/studentttest.php
     316}}}
     317  * Lenguaje:C++
     318  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     319
     320 == Función '''AlgLib.VarianceChiSquareTest''' ==
     321  * Declaración:
     322{{{
     323Set AlgLib.VarianceChiSquareTest(Matrix x, Real s2)
     324}}}
     325  * Descripción:
     326{{{
     327Esta prueba se utiliza para comprobar la hipótesis sobre el hecho de que la varianza de la variable aleatoria X es igual a la dada s2. La muestra para la prueba debe ser una muestra de una variable aleatoria normal, aunque para muestras muy grandes funciona bien para cualquer distribución.
     328Ver http://www.alglib.net/statistics/hypothesistesting/variancetests.php
     329}}}
     330  * Lenguaje:C++
     331  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     332
     333 == Función '''AlgLib.VarianceFTest''' ==
     334  * Declaración:
     335{{{
     336Set AlgLib.VarianceFTest(Matrix x, Matrix y)
     337}}}
     338  * Descripción:
     339{{{
     340Esta prueba se utiliza para comprobar la hipótesis sobre el hecho de que la varianza de la variable aleatoria X es igual a la de Y. La muestra para la prueba debe ser una muestra de una variable aleatoria normal, aunque para muestras muy grandes funciona bien para cualquer distribución.
     341Ver http://www.alglib.net/statistics/hypothesistesting/variancetests.php
     342}}}
     343  * Lenguaje:C++
     344  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     345
     346 == Función '''AlgLib.WilcoxonSignedRankTest''' ==
     347  * Declaración:
     348{{{
     349Set AlgLib.WilcoxonSignedRankTest(Matrix x, Real m)
     350}}}
     351  * Descripción:
     352{{{
     353El test de Wilcoxon signed-rank es un test no paramétrico utilizado para comparar la mediana de la distribución con un determinado valor m. Este criterio podrí ser utilizado como una alternativa para una muestra de t de Student. A diferencia de la t de Student, Wilcoxon puede trabajar con distribuciones no normales.
     354Ver http://www.alglib.net/statistics/hypothesistesting/wilcoxonsignedrank.php
     355}}}
     356  * Lenguaje:C++
     357  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/contrib/alglib/alglib_statistics.cpp tol/contrib/alglib/alglib_statistics.cpp]
     358
     359 == Función '''Append''' ==
     360  * Declaración:
     361{{{
     362Set Append(Set set1, Set set2)
     363}}}
     364  * Descripción:
     365{{{
     366Concatena los elementos del conjunto set1 al final de set2 sin eliminar elementos repetidos y conservando el orden.
     367}}}
     368  * Lenguaje:C++
     369 
     370
     371 == Función '''Apply''' ==
     372  * Declaración:
     373{{{
     374Set Apply(Text método, Set conjunto, Text nombreFichero)
     375}}}
     376  * Descripción:
     377{{{
     378Aplica un método a los elementos de un conjunto y escribe el resultado en un fichero, si éste no es nulo y dicho método lo soporta.
     379Ejemplo: Set x = Range(1,4,2);Set Apply("View",x,"");También se puede utilizar directamente el nombre del método como función.Ejemplo: Set View(x,"")
     380}}}
     381  * Lenguaje:C++
     382  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     383
     384 == Función '''AutoRegInt''' ==
     385  * Declaración:
     386{{{
     387Set AutoRegInt(Serie z [, Real periodo=1])
     388}}}
     389  * Descripción:
     390{{{
     391Identifica y estima el modelo autoregresivo integrado P(B):z = a.
     392}}}
     393  * Lenguaje:C++
     394  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     395
     396 == Función '''AutoRegression''' ==
     397  * Declaración:
     398{{{
     399Set AutoRegression(Serie y, [ Real p = CountS(y)/4, Set input=Empty])
     400}}}
     401  * Descripción:
     402{{{
     403Estima el modelo autoregresivo de orden p para la serie dada.
     404}}}
     405  * Lenguaje:C++
     406  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     407
     408 == Función '''BDB''' ==
     409  * Declaración:
     410{{{
     411Set BDB(Text Alias, Text Path, Real Fixed, Text Sep, Text Def, Text Structure, Real Size, Real RegWidth, Real RegNumber, Real FieldNumber)
     412}}}
     413  * Descripción:
     414{{{
     415Crea un nuevo conjunto con estructura BDB.
     416}}}
     417  * Lenguaje:C++
     418 
     419
     420 == Función '''BDBClassify''' ==
     421  * Declaración:
     422{{{
     423Set BDBClassify(BDB bdb, Set selCampo)
     424}}}
     425  * Descripción:
     426{{{
     427Extrae todas las combinaciones sin repetición de los campos seleccionados que aparecen en el fichero BDB dado. Es necesario que el fichero BDB esté previamente ordenado por dichos campos.
     428}}}
     429  * Lenguaje:C++
     430  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     431
     432 == Función '''BDBClassifyStruct''' ==
     433  * Declaración:
     434{{{
     435Set BDBClassifyStruct(Set Fields, Real FirstPosition, Real LastPosition)
     436}}}
     437  * Descripción:
     438{{{
     439Crea un nuevo conjunto con estructura BDBClassifyStruct.
     440}}}
     441  * Lenguaje:C++
     442 
     443
     444 == Función '''BDBExtract''' ==
     445  * Declaración:
     446{{{
     447Set BDBExtract(BDB bdb, Set selReg, Set selCam)
     448}}}
     449  * Descripción:
     450{{{
     451Escribe en un fichero con nombre <camino> los registros y campos de <bdb> seleccionados. Los argumentos <selReg> y <selCam> son los conjuntos seleccionados de índices de registros y campos respectivamente. En ambos casos el conjunto vacío indica la selección de todos los índices.
     452}}}
     453  * Lenguaje:C++
     454  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     455
     456 == Función '''BDBField''' ==
     457  * Declaración:
     458{{{
     459Set BDBField(Text Name, Real Width, Real Pos)
     460}}}
     461  * Descripción:
     462{{{
     463Crea un nuevo conjunto con estructura BDBField.
     464}}}
     465  * Lenguaje:C++
     466 
     467
     468 == Función '''BDBOpen''' ==
     469  * Declaración:
     470{{{
     471Set BDBOpen(Text camino, Real fijo, Text separador, Text definicion, Text estructura)
     472}}}
     473  * Descripción:
     474{{{
     475Abre una nueva Base de Datos Bayes con el fichero de texto indicado. El argumento <fijo> indica si el fichero tiene un número fijo de caracteres para cada campo si es cierto, o bien los campos están identificados exclusivamente por el carácter separador indicado por el argumento <separador>. Nótese que un fichero de tipo fijo puede a su vez tener caracter separador. Si no lo tiene entonces hay que especificar el nombre y la longitud de los campos en el argumento <definicion>, por ejemplo definicion="Nombre:25,Edad:3". El parámetro <estructura> es el nombre de una Struct de TOL y sirve para dotar de tipos TOL a los campos de los registros del fichero. Si no se quiere usar alguno de los tres últimos parametros se pasa la cadena vacía.
     476}}}
     477  * Lenguaje:C++
     478  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     479
     480 == Función '''BDBReg''' ==
     481  * Declaración:
     482{{{
     483Set BDBReg(BDB bdb, Real num)
     484}}}
     485  * Descripción:
     486{{{
     487Devuelve un conjunto con los elementos del registro número <num> del fichero <bdb>. Si éste tiene estructura el conjunto resultado la adopta y de lo contrario se crea un conjunto de textos.
     488}}}
     489  * Lenguaje:C++
     490  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     491
     492 == Función '''BDBSeries''' ==
     493  * Declaración:
     494{{{
     495Set BDBSeries(BDB bdb, Set dimensiones, Set magnitudes, Real dateColumn, TimeSet fechado [, Set clasificacion=EMPTY, Real valorPorDefecto=0])
     496}}}
     497  * Descripción:
     498{{{
     499Crea series temporales a partir de un BDT. Es necesario que el fichero BDB esté previamente ordenado por dichos campos.
     500}}}
     501  * Lenguaje:C++
     502  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     503
     504 == Función '''BDBSort''' ==
     505  * Declaración:
     506{{{
     507Set BDBSort(BDB bdb [, Set selCampo = Empty])
     508}}}
     509  * Descripción:
     510{{{
     511Ordena los registros por los campos cuyos indices son los elementos del parámetro selCampo.El conjunto vacío indica la selección de todos los campos.
     512}}}
     513  * Lenguaje:C++
     514  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     515
     516 == Función '''BDBTable''' ==
     517  * Declaración:
     518{{{
     519Set BDBTable(BDB bdb)
     520}}}
     521  * Descripción:
     522{{{
     523Devuelve un conjunto con todos los registros del fichero <bdb> creados según se explica en la función BDBReg.
     524}}}
     525  * Lenguaje:C++
     526  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdb.cpp tol/btol/bdb/bdb.cpp]
     527
     528 == Función '''BDTFile''' ==
     529  * Declaración:
     530{{{
     531Set BDTFile(Set cto [, Text nombreFichero="Std", Text cabecera="_DEFAULT_HEADER_", Real reescribir=CIERTO, Text separadorDeColumnas = ";", Text separadorDeFilas = ";\n"])
     532}}}
     533  * Descripción:
     534{{{
     535Escribe un conjunto de series en un fichero con formato BDT.Si no se especifica ning�n fichero se usar� la salida est�ndar "Std"
     536Se puede especificar una cadena de cabecera que se escribir� en la primera l�nea
     537Si la cabecera es "_DEFAULT_HEADER_" se usar�n los nombres del fechado y de la lista de series como cabecera
     538Si la cabecera es "" no se escribir� cabecera.
     539Si se quiere a�adir los resultados a un fichero existente usese rewrite=FALSE
     540Es posible especificar cualquier separador de columna y fila.
     541El resultado s�lo ser� legible por TOL si se usan los par�metros por defecto.
     542}}}
     543  * Lenguaje:C++
     544  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/lang/language.cpp tol/lang/language.cpp]
     545
     546 == Función '''BMTFile''' ==
     547  * Declaración:
     548{{{
     549Set BMTFile(Set cto [, Text nombreFichero="Std", Text cabecera="_DEFAULT_HEADER_", Real reescribir=CIERTO, Text separadorDeColumnas = ";", Text separadorDeFilas = ";\n"])
     550}}}
     551  * Descripción:
     552{{{
     553Escribe un conjunto de matrices en un fichero con formato BMT.
     554Si no se especifica ning�n fichero se usar� la salida est�ndar "Std"
     555Se puede especificar una cadena de cabecera que se escribir� en la primera l�nea
     556Si la cabecera es "_DEFAULT_HEADER_" o "" no se escribir� cabecera
     557Si se quiere a�adir los resultados a un fichero existente usese rewrite=FALSE
     558Es posible especificar cualquier separador de columna y fila
     559El resultado s�lo ser� legible por TOL si se usan los par�metros por defecto.
     560}}}
     561  * Lenguaje:C++
     562  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/lang/language.cpp tol/lang/language.cpp]
     563
     564 == Función '''BSIFile''' ==
     565  * Declaración:
     566{{{
     567Set BSIFile(Set cto, Text nombreFichero)
     568}}}
     569  * Descripción:
     570{{{
     571Escribe un conjunto de series en un fichero con formato BDT.
     572}}}
     573  * Lenguaje:C++
     574  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/lang/language.cpp tol/lang/language.cpp]
     575
     576 == Función '''BSR.DocInfo''' ==
     577  * Declaración:
     578{{{
     579Set BSR.DocInfo(Text Model.Name, Text Model.Description, Text Session.Name, Text Session.Description, Text Session.Authors, Date Session.Creation, Text Path)
     580}}}
     581  * Descripción:
     582{{{
     583Crea un nuevo conjunto con estructura BSR.DocInfo.
     584}}}
     585  * Lenguaje:C++
     586 
     587
     588 == Función '''BSR.LinearBlock''' ==
     589  * Declaración:
     590{{{
     591Set BSR.LinearBlock(Text Name, Real InitialValue)
     592}}}
     593  * Descripción:
     594{{{
     595Crea un nuevo conjunto con estructura BSR.LinearBlock.
     596}}}
     597  * Lenguaje:C++
     598 
     599
     600 == Función '''BSR.MissingBlock''' ==
     601  * Declaración:
     602{{{
     603Set BSR.MissingBlock(Text Name, Real Index, Real Row, Real Col, Text Prior, Real Nu, Real Sigma2, Real MinBound, Real MaxBound)
     604}}}
     605  * Descripción:
     606{{{
     607Crea un nuevo conjunto con estructura BSR.MissingBlock.
     608}}}
     609  * Lenguaje:C++
     610 
     611
     612 == Función '''BSR.ModelDef''' ==
     613  * Declaración:
     614{{{
     615Set BSR.ModelDef(Set DocInfo, Set LinearBlock, Set InputMissingBlock, Set OutputMissingBlock, Set NoiseDistrib, VMatrix Y, VMatrix X, VMatrix a, VMatrix A)
     616}}}
     617  * Descripción:
     618{{{
     619Crea un nuevo conjunto con estructura BSR.ModelDef.
     620}}}
     621  * Lenguaje:C++
     622 
     623
     624 == Función '''BSR.NoiseDistrib''' ==
     625  * Declaración:
     626{{{
     627Set BSR.NoiseDistrib(Text Name, Real Nu, Text SigmaName, Real SigmaIndex, Set SigmaPrior, Set Arima, Set ArimaAuxInfo, VMatrix Cov, VMatrix L, VMatrix Li, Set EquIdx, Set TimeInfo)
     628}}}
     629  * Descripción:
     630{{{
     631Crea un nuevo conjunto con estructura BSR.NoiseDistrib.
     632}}}
     633  * Lenguaje:C++
     634 
     635
     636 == Función '''BSR.NoiseTimeInfo''' ==
     637  * Declaración:
     638{{{
     639Set BSR.NoiseTimeInfo(TimeSet Dating, Date FirstDate, Date LastDate)
     640}}}
     641  * Descripción:
     642{{{
     643Crea un nuevo conjunto con estructura BSR.NoiseTimeInfo.
     644}}}
     645  * Lenguaje:C++
     646 
     647
     648 == Función '''BSR.Parse''' ==
     649  * Declaración:
     650{{{
     651Set BSR.Parse(Text filePath)
     652}}}
     653  * Descripción:
     654{{{
     655Analiza un archivo ASCII escrito en lenguaje BSR (Bayesian Sparse Regression) y devuelve un Set con la estructura de BSR.ModelDef que contiene toda la información necesaria para hacer estimación bayesian de un modelo de regresión lineal sujeto a inecuaciones lineales utilizando métodos MCMC (MonteCarlo Markov Chain):
     656  Y = X*B + E
     657  A*B <= a
     658El campo LinearBlock contiene información sobre las variables del vector b y debe tener la estructura de BSR.LinearBlock, que incluye valores iniciales B0 que cumplen las inecuaciones A * B0 <= a.
     659El campo NoiseDistrib contiene información sobre el ruido del vector E y debe tener la estructura de BSR.NoiseDistrib.Puede ver un ejemplo de la sintaxis de BSR en http://cvs.tol-project.org/viewcvs.cgi/*checkout*/tol/stdlib/math/stat/models/bayesian/bysMcmc/test_01/parse.bsr
     660}}}
     661  * Lenguaje:C++
     662  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/vmatrix_type/vmatgra.cpp tol/btol/vmatrix_type/vmatgra.cpp]
     663
     664 == Función '''BSTFile''' ==
     665  * Declaración:
     666{{{
     667Set BSTFile(Set cto [, Text nombreFichero="Std", Text cabecera="_DEFAULT_HEADER_", Real reescribir=CIERTO, Text separadorDeColumnas = ";", Text separadorDeFilas = ";\n"])
     668}}}
     669  * Descripción:
     670{{{
     671Escribe un conjunto de conjuntos de tipo tabla en un fichero con formato BST.
     672Si no se especifica ning�n fichero se usar� la salida est�ndar "Std"
     673Se puede especificar una cadena de cabecera que se escribir� en la primera l�nea
     674Si la cabecera es "_DEFAULT_HEADER_" y la primera l�nea tiene estructura se usar� la lista de nombres de campos como cabeceraSi la cabecera es "" no se escribir� cabecera.
     675Si se quiere a�adir los resultados a un fichero existente usese rewrite=FALSE
     676Es posible especificar cualquier separador de columna y fila
     677El resultado s�lo ser� legible por TOL si se usan los par�metros por defecto.
     678}}}
     679  * Lenguaje:C++
     680  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/lang/language.cpp tol/lang/language.cpp]
     681
     682 == Función '''Backasting''' ==
     683  * Declaración:
     684{{{
     685Set Backasting(Ratio R, Matrix Z)
     686}}}
     687  * Descripción:
     688{{{
     689.Evalua los residuos A en la ecuacion en diferencias Z = R(B)*A con los valores iniciales calculados por el metodo del backasting.
     690}}}
     691  * Lenguaje:C++
     692  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     693
     694 == Función '''BoxCoxStruct''' ==
     695  * Declaración:
     696{{{
     697Set BoxCoxStruct(Real Exponent, Real Constant)
     698}}}
     699  * Descripción:
     700{{{
     701Crea un nuevo conjunto con estructura BoxCoxStruct.
     702}}}
     703  * Lenguaje:C++
     704 
     705
     706 == Función '''BoxCoxTrans''' ==
     707  * Declaración:
     708{{{
     709Set BoxCoxTrans(Serie ser [, Set opciones={-1;-1/2;-1/3;-1/4;0;1/4;1/3;1/2;1},  Real longitudIntervalos=10 ])
     710}}}
     711  * Descripción:
     712{{{
     713Devuelve el exponente de la transformación Box-Cox de una serie calculado mediante el análisis de su homocedasticidad. Si la serie tiene periodicidad estacional debe pasarse su valor en el parámetro longitudIntervalos, pues de otro modo se asume 10. En el parámetro de opciones se puede incluir cualquier conjunto de números reales entre los cuales se buscará el óptimo para la transformación de Box-Cox.
     714NOTA: La transformación de Box-Cox de exponente b se define como :
     715  T(x;b) = x^b (si b<>0);
     716  T(x;0) = Log(x);
     717}}}
     718  * Lenguaje:C++
     719  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     720
     721 == Función '''CartProd''' ==
     722  * Declaración:
     723{{{
     724Set CartProd(Set cto1, Set cto2 [, Set cto3, ...])
     725}}}
     726  * Descripción:
     727{{{
     728Devuelve el producto cartesiano de dos o más conjuntos.
     729}}}
     730  * Lenguaje:C++
     731  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     732
     733 == Función '''Classify''' ==
     734  * Declaración:
     735{{{
     736Set Classify(Set set, Code binaryRelation [, Text relationType = "partial order"])
     737}}}
     738  * Descripción:
     739{{{
     740Clasifica un conjunto <s> en clases de equivalencia (ver http://en.wikipedia.org/wiki/Binary_relation and http://en.wikipedia.org/wiki/Equivalence_relation ). Devuelve un conjunto de conjuntos conteniendo una clase de equivalencia distinta cada uno, es decir, una partición del conjunto en subconjuntos de intersección vacía y cuya unión total da el conjunto original.
     741
     742La relación de equivalencia se generará a través de la función de usuario dada <f> dependiendo del tipo de relación especificada que puede ser uno de estos:
     743
     744
     7451º) "equivalence" (relación de equivalencia) : Este es el modo más natural de clasificar un conjunto. En este caso la función de usuario debe ser una relación binaria sobre <s> que cumpla las propiedades reflexiva, simétrica y transitiva. Ninguna de estas propiedades serán chequeadas pero se supondrá que se cumplen.
     746
     7472º) "symmetric" (relación simétrica): La cerradura reflexiva-transitiva T de una relación simétrica se define como:
     748
     749            a = b  or
     750 a T b <=>  a S b  or
     751            a S c_1 and c_1 S c_2 and ... and c_k S b for some c_1, c_2, ... , c_k
     752
     753Entonces, T es reflexiva, simétrica y transitiva y es la menor relación de equivalencia que contiene a la relación original. (Ver http://en.wikipedia.org/wiki/Transitive_closure)
     754La relación de equivalencia no será ahora explícitamente definida por la función de usuario sino que se deducirá implícitamente de este modo:
     755
     756              i=j or
     757s[i]~s[j] <=> s[j]~s[i] f(s[i],s[j])=1  or
     758              f(s[i],s[k_1])=1 and f(s[h_1],s[h_2])=1 and ... and f(s[h_k],s[j])=1 for some h_1,...,h_k=1...n
     759
     760Por no ser transitiva es necesario evaluar todos los pares i<j y la complejidad de la evaluación es (n-1)*(n-2)/2. Para computar la la cerradura transitiva se requiere además O(n^3) operaciones usando el método exhaustivo, pero se ha implementado un método cuadrático O(n^2) e incluso existen métodos lineales O(n) como el algoritmo de Trajan (Ver http://www.cs.hut.fi/~enu/thesis.html).
     761
     762Ejemplo:
     763
     764Tenemos un conjunto de números enteros mayores que 1 que queremos separar en un conjunto de clases generadas por conjuntos de primos mutuamente excluyentes entre sí y no separables en otros más pequeños. Si dos números enteros mayores que 1 tienen algún diviso primo en común su Máximo Común Divisor (MCD) será mayor que 1, por lo que lso elementos de clases distintas tendran MCD igual a 1, y todos los miembros de una misma clase tendrán MCD mayor que 1 o bien habrá una serie de elementos c_1, c_2, ..., c_k en esa clase tales que MCD(a,c_1)>1, MCD(c_1,c_2)>1,...,MCD(c_k,b)>1
     765
     766Set s = [[2 , 4, 7, 15 , 26, 33, 35]];
     767//Maximum Common Divisor of two positive integer numbers
     768Real MCD(Real a, Real b)
     769{
     770  //Note that MCD is a symmetric function: MCD(a,b)=MCD(b,a)
     771  If(a<b,MCD(b,a),
     772  {
     773    Real c = a % b;
     774    If(!c, b, MCD(b,c))
     775  })
     776};
     777//Symmetric binary relation
     778Real f(Real a, Real b)
     779{
     780  MCD(a, b)>1
     781};
     782Set classes = Classify(s, f, "symmetric");
     783
     784Devuelve
     785
     786[[
     787  [[ 2, 4, 26 ]],      //Class generated by primes 2, 13
     788  [[ 7, 1 5, 33, 35 ]] //Class generated by primes 3, 5, 7, 11
     789]]
     790
     791Nótese que 33=3*11 y 7 no tienen primos en común pero se tienen las relaciones MCM(7,35)=7>1, MCM(35,15)=5>1, MCM(15,33)=3>1, por lo que ambos, 33 and 7, están en la misma clase.
     792
     793
     7943º) "binary" (relacion binaria): La cerradura simétrica de una relación binaria cualquiera se define como
     795
     796  a S b <=> a R b or b R a
     797
     798Esta relación es obviamente la mínima relación simétrica que contiene a R, y su cerradura reflexiva-transitiva T es una relación de equivalencia, tal y como ya se ha visto más arriba, y que se define implicitamente a partir de la función de usuario <f> como sigue
     799
     800                i=j or
     801                f(s[i],s[j]) = 1  or
     802                f(s[j],s[i]) = 1  or
     803  s[i]~s[j] <=> f(s[i],s[k]) = 1  and f(s[k],s[j]) = 1 for some k=1...n or
     804                f(s[k],s[i]) = 1  and f(s[k],s[j]) = 1 for some k=1...n or
     805                f(s[i],s[k]) = 1  and f(s[j],s[k]) = 1 for some k=1...n or
     806                f(s[k],s[i]) = 1  and f(s[j],s[k]) = 1 for some k=1...n
     807
     808La complejidad de la evaluación de las relaciones estará ahora entre (n-1)*(n-2)/2 y (n-1)*(n-2), dependiendo del número de veces que no se cumpla f(s[i],s[j]) con i<j, pues sólo en tal caso hay que calcular f(s[j],s[i]).
     809
     810Ejemplo:
     811
     812Sea ahora <s> el mismo conjunto del caso simétrico pero ahora queremos generar las clases irreductibles de números tal que todos son divisibles por otro de la clase. La cerradura simétrica de esta relación es "es divisible o múltiplo de"
     813
     814Set s = [[2 , 4, 7, 15 , 26, 33, 35]];
     815//Non symmetric binary relation
     816Real f(Real a, Real b)
     817{
     818  a % b == 0
     819};
     820Set classes = Classify(s, f, "binary");
     821
     822Devuelve
     823
     824[[
     825  [[ 2, 4, 26 ]], //Class of numbers that are divisible by 2
     826  [[ 7, 35 ]],    //Class of numbers that are divisible by 7
     827  [[ 15 ]],       //Class of numbers that are divisible by 15
     828  [[ 33 ]]        //Class of numbers that are divisible by 33
     829]]
     830
     831Nótese que 26 no es is divisible por 4, pero 26%2=0 y 4%2=0, por lo que están en la misma clase.
     832
     833
     8344º) "partial order" (relación de orden parcial): En este caso la relación utilizada cumple las propiedades reflexiva, antisimétrica y transitiva. Es el caso por defecto cuando no se especifica el argumento <relationType>. Para poder usar internamente la función de C estándar qsort, una implementación del algoritmo quicksort (ver http://en.wikipedia.org/wiki/Quicksort ), la relación se expresa como una función de comparación que devuelve:
     835
     836  f(a,b) = -1 if a<=b and !(b<=a)
     837  f(a,b) =  0 if a<=b and   b<=a
     838  f(a,b) = +1 if b<=a and !(a<=b)
     839
     840La relación de equivalencia se define simplemente como
     841
     842  a ~ b <=> f(a,b) = 0
     843
     844En primer lugar se ordenan los elementos mediante la función de comparación <f>
     845
     846  s[1] <= s[2] <= s[3] <= ... <= s[n]
     847
     848y después se rompe en clases separando por aquellos elementos consecutivos
     849
     850  S1 = { s[1], ... , s[m[1]] },
     851  S2 = { s[m[1]+1], ... , s[m[2]] },
     852  ...
     853
     854tales que
     855
     856  f(s[1],s[2] )=0...0=f(s[m]-1,s[m] )=0; f(s[m], s[m]+1) = -1
     857  f(s[m[1]+1],s[ m[1]+2])=0...0= f(s[m+1]-1,s[m+1] )=0; f(s[m+1], s[m+1]+1) = -1
     858  ...
     859
     860La complejidad algorítmica es O(n Log(n))
     861
     862Ejemplo:
     863
     864Se quiere clasificar un conjunto de textos en función de su longitud. Como ésta es una magnitud comparable se puede usar la clasificación por orden parcial
     865
     866Set s = [[ "aefg", "ada", "fefg", "fadabbbg" , "efg", "abbb" ]];
     867Real f(Text a, Text b)
     868{
     869  Compare( TextLength(a), TextLength(b))
     870};
     871Set classes = Classify(s, f, "partial order");
     872
     873o simplemente
     874
     875Set classes = Classify(s, f);
     876
     877Devuelve
     878
     879[[
     880  [[ "ada", "efg" ]],           //Class of strings with length 3
     881  [[ "abbb", "fefg", "aefg" ]], //Class of strings with length 4
     882  [[ "fadabbbg" ]]              //Class of strings with length 8
     883]];
     884
     885}}}
     886  * Lenguaje:C++
     887  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     888
     889 == Función '''Cluster''' ==
     890  * Declaración:
     891{{{
     892Set Cluster(Matrix data, Real k, Real n [, Text method="a", Text dist, Matrix weigth])
     893}}}
     894  * Descripción:
     895{{{
     896Divides the rows of matrix 'data' into 'k' clusters such that the sum of distances over the rows to their cluster centers (centriods) is minimal. Unknown values (?) are accepted.
     897It´s based on the aplication of the EM algorithm 'n' times in order to find the optimal solution.
     898Optional parameters are:
     899  method - specifies the method used to calculate the centroid
     900    "a" the arithmetic mean, "m" the median, "d" the medoids
     901  dist - available functions to measure similarity or distance between data
     902    "e" Euclidean, "b" City-block, "c" Pearson correlation coeficient, "a" Absolute value of Pearson correlation coeficient,
     903    "u" Uncentered Pearson correlation, "x" Absolute uncentered Pearson correlation, "s" Spearman´s rank correlation, "k" Kendall´s, "h" Shape
     904  weight - the weights that are used to calculate the distance
     905
     906Returns a set whose elements are:
     907  Real AverageDistortion - The average of distances of the items to their centroid
     908  Real TimesSolutionFound - How often the optimal clustering solution was found
     909  Matrix Assignments - This array stores the cluster number to which each item was assigned
     910  Matrix Centroids - It stores the centroids of the clusters
     911  Set SetOfClusters - Each subset of this set represents one cluster with its named elements
     912}}}
     913  * Lenguaje:C++
     914  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/clustergra.cpp tol/btol/set_type/clustergra.cpp]
     915
     916 == Función '''DAgostinoDTest''' ==
     917  * Declaración:
     918{{{
     919Set DAgostinoDTest(Set conjunto, Real alfa)
     920}}}
     921  * Descripción:
     922{{{
     923Contruye el test de normalidad de DAgostinoD para una muestra con el nivel de siginficación alfa. Este test está recomendado si la muestra consta de al menos 50 elementos.Devuelve un conjunto con tres valores:
     924        1) estadístico T de D'Agostino
     925        2) estadístico D de D'Agostino
     926        3) el resultado del test propiamente dicho , es decir,     1 si se acepta la hipótesis de normalidad y 0 de lo contrario.
     927Ver ANSI N15.15-1974.
     928}}}
     929  * Lenguaje:C++
     930  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/real_type/datgrast.cpp tol/btol/real_type/datgrast.cpp]
     931
     932 == Función '''DBGetOpened''' ==
     933  * Declaración:
     934{{{
     935Set DBGetOpened(Text tipoBD)
     936}}}
     937  * Descripción:
     938{{{
     939Devuelve un conjunto de las bases de datos abiertas cuyo tipo coincide con el proporcionado("tipoBD").
     940Si se proporciona una cadena de texto vacía, entonces todas las bases de datos abiertas son incluídas.
     941Para cada base de datos se devuelve su alias, tipo y estado.
     942Los posibles valores para 'tipoDB' son: "ODBC", "MySQL", "PostgreSQL"
     943
     944}}}
     945  * Lenguaje:C++
     946  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdspool.cpp tol/btol/bdb/bdspool.cpp]
     947
     948 == Función '''DBSeries''' ==
     949  * Declaración:
     950{{{
     951Set DBSeries(Text consulta , TimeSet fechado, Set nombres [, Set descripciones, Real valorDefecto=0])
     952}}}
     953  * Descripción:
     954{{{
     955Devuelve un conjunto de series con los nombres dados y el fechado indicado (común para todas ellas) cuyos datos vienen dados por una consulta a la base de datos abierta.
     956Dicha consulta debe devolver como primer campo una fecha y a continuación un campo numérico para cada serie que se quiere construir. Además debe estar ordenada por el campo fecha.
     957}}}
     958  * Lenguaje:C++
     959  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdspool.cpp tol/btol/bdb/bdspool.cpp]
     960
     961 == Función '''DBSeriesColumn''' ==
     962  * Declaración:
     963{{{
     964Set DBSeriesColumn(Text consulta , TimeSet fechado [, Real valorDefecto=0])
     965}}}
     966  * Descripción:
     967{{{
     968Devuelve un conjunto de series con el fechado indicado (común para todas ellas) cuyos datos vienen dados por una consulta a la base de datos abierta. Dicha consulta debe devolver tres campos que contengan un nombre de serie, una fecha y un número real. Además debe estar ordenada por el campo serie y el campo fecha.
     969}}}
     970  * Lenguaje:C++
     971  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdspool.cpp tol/btol/bdb/bdspool.cpp]
     972
     973 == Función '''DBSeriesTable''' ==
     974  * Declaración:
     975{{{
     976Set DBSeriesTable(Text consulta , TimeSet fechado, Set nombres [, Set descripciones, Real valorDefecto=0])
     977}}}
     978  * Descripción:
     979{{{
     980Devuelve un conjunto bidimensional de series con el fechado indicado (común para todas ellas) cuyos datos vienen dados por una consulta a la base de datos abierta. Dicha consulta debe devolver al menos tres campos que contengan un prefijo para el nombre de la serie, una fecha y un número real. Además debe estar ordenada por el campo prefijo y el campo fecha.
     981}}}
     982  * Lenguaje:C++
     983  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdspool.cpp tol/btol/bdb/bdspool.cpp]
     984
     985 == Función '''DBTable''' ==
     986  * Declaración:
     987{{{
     988Set DBTable(Text consulta [, Text nombreEstructura])
     989}}}
     990  * Descripción:
     991{{{
     992Devuelve un conjunto con estructura de tabla cuyos datos vienen dados por una consulta a la base de datos abierta. Dicha consulta debe devolver sólo campos numéricos, de texto o fechas.
     993}}}
     994  * Lenguaje:C++
     995  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdspool.cpp tol/btol/bdb/bdspool.cpp]
     996
     997 == Función '''DBTableColumn''' ==
     998  * Declaración:
     999{{{
     1000Set DBTableColumn(Text consulta, Real numeroIndices, Real numeroPrefijos [, Real invertirNombre=0, Text separador="", Real valorDefecto=?])
     1001}}}
     1002  * Descripción:
     1003{{{
     1004
     1005  Devuelve un conjunto con estructura de tabla cuyos datos vienen dados por una consulta a la base de datos abierta.
     1006
     1007  Dicha consulta debe devolver en primer lugar los campos índice seguidos por los campos prefijo y terminando por los campos numéricos correspondientes a las series y debe estar ordenada por los campos indice y prefijo.
     1008
     1009 Además, mientras que los campos índice y prefijo pueden ser de cualquier tipo, el resto tiene que ser de tipo numérico.
     1010
     1011 Los argumentos opcionales invertirNombre y separador sirven para invertir el nombre de las columnas serie e insertar una cadena de texto entre ellos respectivamente.
     1012
     1013  El argumento valorDefecto debe ser un real cuyo valor adquirirán todas las celdas sin valor. Por defecto toma el valor Desconocido.
     1014}}}
     1015  * Lenguaje:C++
     1016  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bdb/bdspool.cpp tol/btol/bdb/bdspool.cpp]
     1017
     1018 == Función '''Dates''' ==
     1019  * Declaración:
     1020{{{
     1021Set Dates(TimeSet fechado, Date desde, Date hasta)
     1022}}}
     1023  * Descripción:
     1024{{{
     1025Devuelve el conjunto de las fechas entre dos dadas en un fechado.
     1026}}}
     1027  * Lenguaje:C++
     1028  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1029
     1030 == Función '''DeepCopy''' ==
     1031  * Declaración:
     1032{{{
     1033Set DeepCopy(Set ejemplo [, Matrix matriz])
     1034}}}
     1035  * Descripción:
     1036{{{
     1037Construye un conjunto semejante al ejemplo dado en el que , opcionalmente, se sustituyen los datos numéricos por los datos de la matriz dada.El argumento matriz debe ser una matriz fila con tantos datos como datos numericos haya en el conjunto ejemplo
     1038}}}
     1039  * Lenguaje:C++
     1040  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1041
     1042 == Función '''Estimate''' ==
     1043  * Declaración:
     1044{{{
     1045Set Estimate(Set modelDef [, Date desde, Date hasta], Set parametrosAPriori)
     1046}}}
     1047  * Descripción:
     1048{{{
     1049Estima el modelo ARIMA P(B):Zt = Xt*W + Q(B):At.
     1050}}}
     1051  * Lenguaje:C++
     1052  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1053
     1054 == Función '''EvalSet''' ==
     1055  * Declaración:
     1056{{{
     1057Set EvalSet(Set cto, Code hacer)
     1058}}}
     1059  * Descripción:
     1060{{{
     1061Devuelve el conjunto de las evaluaciones sucesivas de una función, tomando como argumento cada elemento de un conjunto.
     1062}}}
     1063  * Lenguaje:C++
     1064  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1065
     1066 == Función '''EvalSetOfCode''' ==
     1067  * Declaración:
     1068{{{
     1069Set EvalSetOfCode(Set funciones, Anything arg)
     1070}}}
     1071  * Descripción:
     1072{{{
     1073Devuelve el conjunto de las evaluaciones sucesivas de un conjunto de funciones tomando el mismo argumento.
     1074}}}
     1075  * Lenguaje:C++
     1076  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1077
     1078 == Función '''Extract''' ==
     1079  * Declaración:
     1080{{{
     1081Set Extract(Set cto, Real col1 [, Real col2, ...])
     1082}}}
     1083  * Descripción:
     1084{{{
     1085Devuelve un rango de columnas de un conjunto-tabla.
     1086}}}
     1087  * Lenguaje:C++
     1088  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1089
     1090 == Función '''ExtractByIndex''' ==
     1091  * Declaración:
     1092{{{
     1093Set ExtractByIndex(Set cto, Set indice)
     1094}}}
     1095  * Descripción:
     1096{{{
     1097Devuelve un conjunto con los elementos seleccionados en indice.El argumento indice debe ser un conjunto de números enteros
     1098}}}
     1099  * Lenguaje:C++
     1100  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1101
     1102 == Función '''For''' ==
     1103  * Declaración:
     1104{{{
     1105Set For(Real n, Real m, Code f)
     1106}}}
     1107  * Descripción:
     1108{{{
     1109Devuelve un conjunto cuyos elementos son las evaluaciones de la función f para cada número entero entre n y m, ambos incluídos.
     1110}}}
     1111  * Lenguaje:C++
     1112  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1113
     1114 == Función '''GetBoundsInPolytope''' ==
     1115  * Declaración:
     1116{{{
     1117Set GetBoundsInPolytope(VMatrix D, VMatrix d, VMatrix z, Real j)
     1118}}}
     1119  * Descripción:
     1120{{{
     1121Calcula los valores mínimo y máximo de la j-ésima componente del vector z dentro del politopo D*z <= d
     1122}}}
     1123  * Lenguaje:C++
     1124  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/vmatrix_type/vmatgra.cpp tol/btol/vmatrix_type/vmatgra.cpp]
     1125
     1126 == Función '''GetDir''' ==
     1127  * Declaración:
     1128{{{
     1129Set GetDir(Text dir)
     1130}}}
     1131  * Descripción:
     1132{{{
     1133Dado un directorio del sistema, devuelve un conunto compuesto por un conjunto que contiene los subdirectorios y otro con los ficheros.
     1134}}}
     1135  * Lenguaje:C++
     1136  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1137
     1138 == Función '''GetGlobalFunctions''' ==
     1139  * Declaración:
     1140{{{
     1141Set GetGlobalFunctions(Text grammar)
     1142}}}
     1143  * Descripción:
     1144{{{
     1145Devuelve todas las funciones globales que devuelven el tipo especificado
     1146}}}
     1147  * Lenguaje:C++
     1148  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1149
     1150 == Función '''GetTableFromText''' ==
     1151  * Declaración:
     1152{{{
     1153Set GetTableFromText(Text cadena, Text separadorDeLinea, Text separadorDeCelda)
     1154}}}
     1155  * Descripción:
     1156{{{
     1157.
     1158}}}
     1159  * Lenguaje:C++
     1160  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/text_type/txtgra.cpp tol/btol/text_type/txtgra.cpp]
     1161
     1162 == Función '''Grammars''' ==
     1163  * Declaración:
     1164{{{
     1165Set Grammars(Real noUsado)
     1166}}}
     1167  * Descripción:
     1168{{{
     1169Devuelve un conjunto con los nombres de las gramáticas definidas.
     1170}}}
     1171  * Lenguaje:C++
     1172  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1173
     1174 == Función '''HannShapiroWTest''' ==
     1175  * Declaración:
     1176{{{
     1177Set HannShapiroWTest(Set conjunto, Real alfa)
     1178}}}
     1179  * Descripción:
     1180{{{
     1181Contruye el test de normalidad de Hann-Shapiro para una muestra con el nivel de siginficación alfa. Este test está recomendado si la muestra consta de menos de 50 elementos.Devuelve un conjunto con tres valores:
     1182        1) estadístico b2 de Hann-Shapiro
     1183        2) estadístico W de Hann-Shapiro
     1184        3) el resultado del test propiamente dicho , es decir,     1 si se acepta la hipótesis de normalidad y 0 de lo contrario.
     1185Ver ANSI N15.15-1974.
     1186}}}
     1187  * Lenguaje:C++
     1188  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/real_type/datgrast.cpp tol/btol/real_type/datgrast.cpp]
     1189
     1190 == Función '''HierarchicalCluster''' ==
     1191  * Declaración:
     1192{{{
     1193Set HierarchicalCluster(Matrix data, Real k [, Text method="s", Text dist="e", Matrix weigth])
     1194}}}
     1195  * Descripción:
     1196{{{
     1197Divides the rows of matrix 'data' into 'k' clusters. Unknown values (?) are accepted.
     1198Unlike the EM algorithm, which is used in Cluster() function, the complete process of hierarchical clustering is deterministic.
     1199Optional parameters are:
     1200  method - specifies the method used to calculate the distance between subnodes
     1201    "s" single (the shortest distance among the pairwise distances between the members of the two nodes),
     1202    "m" maximum (the longest), "a" average, "c" centriod
     1203  dist - available functions to measure similarity or distance between data
     1204    "e" Euclidean, "b" City-block, "c" Pearson correlation coeficient, "a" Absolute value of Pearson correlation coeficient,
     1205    "u" Uncentered Pearson correlation, "x" Absolute uncentered Pearson correlation, "s" Spearman´s rank correlation, "k" Kendall´s, "h" Shape
     1206  weight - the weights that are used to calculate the distance
     1207
     1208Returns a set whose elements are:
     1209  Real AverageDistortion - The average of distances of the items to their centroid
     1210  Real TimesSolutionFound - It´s here just for compatibility with cluster()´s output, it will always be 1
     1211  Matrix Assignments - This array stores the cluster number to which each item was assigned
     1212  Matrix Centroids - It stores the centroids of the clusters
     1213  Set SetOfClusters - Each subset of this set represents one cluster with its named elements
     1214}}}
     1215  * Lenguaje:C++
     1216  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/clustergra.cpp tol/btol/set_type/clustergra.cpp]
     1217
     1218 == Función '''Hierarchy''' ==
     1219  * Declaración:
     1220{{{
     1221Set Hierarchy(Set indice)
     1222}}}
     1223  * Descripción:
     1224{{{
     1225
     1226}}}
     1227  * Lenguaje:C++
     1228  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1229
     1230 == Función '''HouseholderLeastSqr''' ==
     1231  * Declaración:
     1232{{{
     1233Set HouseholderLeastSqr(Matrix Y, Matrix W, Matrix R)
     1234}}}
     1235  * Descripción:
     1236{{{
     1237Dada la transformacion de Householder {W,R} de la matriz X, resulve el problema de minimos cuadrados Y = X*B + A. Devuelve un conjunto con la matriz de coeficientes B y la matriz de residuos A.
     1238}}}
     1239  * Lenguaje:C++
     1240  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     1241
     1242 == Función '''HouseholderTransf''' ==
     1243  * Declaración:
     1244{{{
     1245Set HouseholderTransf(Matrix M)
     1246}}}
     1247  * Descripción:
     1248{{{
     1249Hace la transformacion de Householder de una matriz con rango igual al numero de columnas. Si no es asi devuelve el conjunto vacio y da un mensaje de error.
     1250}}}
     1251  * Lenguaje:C++
     1252  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     1253
     1254 == Función '''Include''' ==
     1255  * Declaración:
     1256{{{
     1257Set Include(Text camino)
     1258}}}
     1259  * Descripción:
     1260{{{
     1261Llama al inclusor adecuado para el camino dado.
     1262}}}
     1263  * Lenguaje:C++
     1264 
     1265
     1266 == Función '''IncludeBDC''' ==
     1267  * Declaración:
     1268{{{
     1269Set IncludeBDC(Text nombreFichero)
     1270}}}
     1271  * Descripción:
     1272{{{
     1273Devuelve el conjunto de todas las series primarias de un fichero con formato Bayes Data Column (BDC).
     1274Incluye series temporales con cualquier fechado y entre fechas cualesquiera. Para cada serie se escribe primero una cabecera con el nombre, la descripción, el fechado y la fecha inicial. Seguidamente se escribe un dato en cada línea entendiendo que pertenecen a fechas consecutivas, a partir de la inicial, a lo largo del fechado de las series en cuestión.
     1275
     1276Ejemplo:
     1277
     1278#Serie1
     1279ACTUALIZACION Serie1 ES UNA Serie temporal primaria FIN
     1280VALOR DE (Serie1) Fechado = Mensual
     1281VALOR DE (Serie1) Titulo        = "SERIE DE PRUEBA 1, PUEDE BORRARSE"
     1282&DATOS SUSTITUCION
     1283a1992m1d1
     128419209,
     128519924,
     128629202,
     1287231206,
     128819202,
     128919202,
     129019308;
     1291#Serie2
     1292ACTUALIZACION Serie2 ES UNA Serie temporal primaria FIN
     1293VALOR DE (Serie2) Fechado = Diario
     1294VALOR DE (Serie2) Titulo        = "SERIE DE PRUEBA 2, PUEDE BORRARSE"
     1295&DATOS SUSTITUCION
     1296a1997m1d1
     1297126204,
     1298219456,
     1299145207,
     1300124209,
     1301119451,
     1302143920,
     1303276309,
     1304219456,
     1305145207,
     1306124209;
     1307
     1308}}}
     1309  * Lenguaje:C++
     1310  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1311
     1312 == Función '''IncludeBDT''' ==
     1313  * Declaración:
     1314{{{
     1315Set IncludeBDT(Text nombreFichero [, Text separador=";", Date desde, Date hasta, Text cabecera])
     1316}}}
     1317  * Descripción:
     1318{{{
     1319Devuelve el conjunto de todas las series primarias de un fichero con formato Bayes Data Table (BDT).
     1320Incluye series temporales con el mismo fechado y entre las mismas fechas, en formato de tabla. En la que la primera fila contiene el nombre del fechado seguido de los nombres de las series separadas por punto y coma.
     1321En las líneas posteriores, aparece una fecha en la primera columna, y, en  las siguientes, los valores de las series correspondientes para dicha fecha.  Las fechas deben aparecer en orden. Si una fecha no está en orden, no existe, o está mal escrita, todas las series del fichero contendrán para esa fecha, el  valor de relleno del sistema (BDTFillValue), que está inicializado a cero, y el usuario puede cambiar cuando desee escribiendo, por ejemplo, BDTFillValue:=3.
     1322
     1323Ejemplo:
     1324
     1325Diario;           S1;          S2;
     13261995/01/01;   1023.234;  8745.874;
     13271995/01/02;   1014.347;  8746.565;
     13281995/01/03;   1151.925;  8745.675;
     13291995/01/05;   1127.942;  8747.234;
     13301995/01/06;   1003.134;  8748.734;
     13311995/01/07;   1026.246;  8741.783;
     1332...
     1333}}}
     1334  * Lenguaje:C++
     1335  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1336
     1337 == Función '''IncludeBFM''' ==
     1338  * Declaración:
     1339{{{
     1340Set IncludeBFM(Text nombreFichero, Real periodicidad)
     1341}}}
     1342  * Descripción:
     1343{{{
     1344Devuelve un conjunto con el modelo del fichero con formato Bayes-Forecast Model (BFM).
     1345}}}
     1346  * Lenguaje:C++
     1347  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/foread.cpp tol/btol/bmodel/foread.cpp]
     1348
     1349 == Función '''IncludeBMT''' ==
     1350  * Declaración:
     1351{{{
     1352Set IncludeBMT(Text nombreFichero)
     1353}}}
     1354  * Descripción:
     1355{{{
     1356Devuelve un conjunto cuyo único elemento es la matriz de numeros guardada en un fichero con formato Bayes Matrix Table (BMT).
     1357Incluye una matriz con una fila en cada línea y los datos separados por punto y coma. Obviamente, todas las filas han de tener el mismo número de elementos.
     1358
     1359Ejemplo:
     1360
     13611023.234;          8745.874;
     13621014.347;          8746.565;
     13631151.925;          8745.675;
     13641127.942;          8747.234;
     13651003.134;          8748.734;
     1366
     1367}}}
     1368  * Lenguaje:C++
     1369  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1370
     1371 == Función '''IncludeBSI''' ==
     1372  * Declaración:
     1373{{{
     1374Set IncludeBSI(Text nombreFichero)
     1375}}}
     1376  * Descripción:
     1377{{{
     1378Devuelve el conjunto de todas las series primarias de un fichero con formato Bayes Serie Index (BSI).
     1379
     1380}}}
     1381  * Lenguaje:C++
     1382  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1383
     1384 == Función '''IncludeBST''' ==
     1385  * Declaración:
     1386{{{
     1387Set IncludeBST(Text nombreFichero)
     1388}}}
     1389  * Descripción:
     1390{{{
     1391Devuelve el conjunto de todas los conjuntos estruturados de un fichero con formato Bayes Structured Table (BST).Incluye una matriz con una fila en cada línea y los datos separados por punto y coma. Obviamente, todas las filas han de tener el mismo número de elementos.
     1392
     1393Si tenemos definida anteriormente la estructura
     1394
     1395Struct PerData
     1396(
     1397        Text Name,
     1398        Date Birth,
     1399        Real Weight
     1400);
     1401
     1402Podemos incluir un fichero BST como éste
     1403
     1404PerData; Name;    Birth;      Weight;
     1405             ; "John"  ;a1963m11d01;67;
     1406       ; "Joseph";a1965m02d03;72;
     1407       ; "Juan"  ;a1966m05d11;78;
     1408
     1409
     1410}}}
     1411  * Lenguaje:C++
     1412  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1413
     1414 == Función '''IncludeDIR''' ==
     1415  * Declaración:
     1416{{{
     1417Set IncludeDIR(Text camino)
     1418}}}
     1419  * Descripción:
     1420{{{
     1421Devuelve el conjunto de todos los ficheros de un directorio que TOL pueda reconocer.
     1422}}}
     1423  * Lenguaje:C++
     1424  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1425
     1426 == Función '''IncludePRJ''' ==
     1427  * Declaración:
     1428{{{
     1429Set IncludePRJ(Text nombreFichero)
     1430}}}
     1431  * Descripción:
     1432{{{
     1433Devuelve el conjunto de todos los ficheros de un fichero de projecto (PRJ).
     1434}}}
     1435  * Lenguaje:C++
     1436  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1437
     1438 == Función '''IncludeTOL''' ==
     1439  * Declaración:
     1440{{{
     1441Set IncludeTOL(Text nombreFichero)
     1442}}}
     1443  * Descripción:
     1444{{{
     1445Devuelve el conjunto de todos los objetos de un fichero TOL.Incluye expresiones válidas en TOL separadas por punto y coma y con formato libre, es decir, los tabuladores, saltos de línea y carácteres de espacio consecutivos son equivalentes a un único carácter de espacio.
     1446
     1447Ejemplo :
     1448
     1449        Real x = Sin(Pi/3);
     1450
     1451        Real y = Cos(Pi/3);
     1452
     1453        Real z = x^y;
     1454
     1455        Real t = y/x;
     1456
     1457
     1458}}}
     1459  * Lenguaje:C++
     1460  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgrainc.cpp tol/btol/set_type/setgrainc.cpp]
     1461
     1462 == Función '''IncludeText''' ==
     1463  * Declaración:
     1464{{{
     1465Set IncludeText(Text expresion)
     1466}}}
     1467  * Descripción:
     1468{{{
     1469Analiza el contenido de expresiones válidas en TOL separadas por punto y coma y con formato libre (ver IncludeTOL) ,y devuelve el conjunto de todos los objetos definidos en dichas expresiónes.
     1470}}}
     1471  * Lenguaje:C++
     1472  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1473
     1474 == Función '''IndexStruct''' ==
     1475  * Declaración:
     1476{{{
     1477Set IndexStruct(Text Type, Text Name, Text Formula, Text Description, Text Parents)
     1478}}}
     1479  * Descripción:
     1480{{{
     1481Crea un nuevo conjunto con estructura IndexStruct.
     1482}}}
     1483  * Lenguaje:C++
     1484 
     1485
     1486 == Función '''InnerPoint''' ==
     1487  * Declaración:
     1488{{{
     1489Set InnerPoint(Matrix B, Matrix c)
     1490}}}
     1491  * Descripción:
     1492{{{
     1493It is used to obtain a vector x of R^n, such as B*x < c
     1494Arguments:
     1495 B ---> matrix mxn
     1496 c ---> independent terms vector mx1
     1497
     1498It finds the generators of the polyhedron S of all the feasible solutions
     1499 of the system B*x <= c, where S comes expressed from the form: S = V + W + Q
     1500Any solution can be obtained combining linearly the generators,
     1501 the coefficients of V can be any real value, them of W any value not negative
     1502 and them of Q any not negative value and that its sum is equal to 1
     1503
     1504Returns a set whose elements are:
     1505  Matrix X - InnerPoint, A point especially that is interior to the polyhedron
     1506  Matrix V - Vectorial Space
     1507  Matrix W - Cone
     1508  Matrix Q - Polytopo
     1509
     1510}}}
     1511  * Lenguaje:C++
     1512  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/tol_innerpoint.cpp tol/btol/matrix_type/tol_innerpoint.cpp]
     1513
     1514 == Función '''KMeans''' ==
     1515  * Declaración:
     1516{{{
     1517Set KMeans(Matrix data, Real k)
     1518}}}
     1519  * Descripción:
     1520{{{
     1521KMeans
     1522}}}
     1523  * Lenguaje:C++
     1524  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/kmeans_tolapi.cpp tol/btol/set_type/kmeans_tolapi.cpp]
     1525
     1526 == Función '''LBD''' ==
     1527  * Declaración:
     1528{{{
     1529Set LBD(Matrix A [, Matrix b])
     1530}}}
     1531  * Descripción:
     1532{{{
     1533Devuelve la bidiagonalizacion de Lanczos con reortogonalizacion parcial de A
     1534        A = U * B * V'
     1535
     1536 donde U y V son ortonormales y B es una matriz bidiagonal inferior
     1537
     1538        U' * U = I 
     1539        V' * V = I 
     1540
     1541}}}
     1542  * Lenguaje:C++
     1543  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     1544
     1545 == Función '''LLKNoise''' ==
     1546  * Declaración:
     1547{{{
     1548Set LLKNoise(Matrix R, Polyn pAR, Polyn pMA [,Real sigma2=0, Real k=0])
     1549}}}
     1550  * Descripción:
     1551{{{
     1552Calcula el log de la verosimilitud de un ruido R con estructura ARMA.
     1553El conjunto resultado contiene en el primer elemento el valor estimado de la varianza de los residuos y el valor de del log de la verosimilitud en el segundo elemento.
     1554Ejemplo:
     1555
     1556    Matrix w = Gaussian(350,1,0,1);
     1557    Polyn pAR = 1;
     1558    Polyn pMA = 1+0.2*B+0.5*B^2;
     1559    Ration pR = pMA/pAR;
     1560    Matrix N = DifEq(pR, w);
     1561    Set llk = LLKNoise(N,pAR,pMA);
     1562
     1563}}}
     1564  * Lenguaje:C++
     1565  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1566
     1567 == Función '''Levinson''' ==
     1568  * Declaración:
     1569{{{
     1570Set Levinson(Matrix r, Matrix c)
     1571}}}
     1572  * Descripción:
     1573{{{
     1574Solves simultaneously the general symmetric Toeplitz system
     1575
     1576         T(r)*x = -c
     1577
     1578and the Yule-Walker equations
     1579
     1580
     1581         T(r)*y = -R
     1582
     1583where
     1584        r' = (r(0), r(1) ... r(n))
     1585
     1586        R' = (r(1) ... r(n))
     1587
     1588and T(r) is the nxn symmetric toeplitz matrix generated by r
     1589
     1590        T(r)[i,j] = r(|i-j|) i,j=1..n
     1591
     1592This function uses the Levinson algorithm.(Matrix Computation G.H. Golub & C.F. Van Loan, página 196)
     1593}}}
     1594  * Lenguaje:C++
     1595  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1596
     1597 == Función '''LevinsonARMA''' ==
     1598  * Declaración:
     1599{{{
     1600Set LevinsonARMA(Matrix r, Matrix c, Polyn ar, Polyn ma)
     1601}}}
     1602  * Descripción:
     1603{{{
     1604Solves simultaneously the system
     1605
     1606         T(r)*x = -c
     1607
     1608and the Yule-Walker equations
     1609
     1610
     1611         T(r)*y = -R
     1612
     1613where
     1614        r' = (r(0), r(1) ... r(n))
     1615 is the autocorrelation function of an ARMA process
     1616        R' = (r(1) ... r(n))
     1617
     1618and T(r) is the nxn symmetric toeplitz matrix generated by r
     1619
     1620        T(r)[i,j] = r(|i-j|) i,j=1..n
     1621
     1622that is the autocorrelation matrix of the ARMA process.
     1623This function uses the Levinson algorithm optimized for this case.(Matrix Computation G.H. Golub & C.F. Van Loan, página 196)
     1624}}}
     1625  * Lenguaje:C++
     1626  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1627
     1628 == Función '''LinReg''' ==
     1629  * Declaración:
     1630{{{
     1631Set LinReg(Matrix y, Matrix X)
     1632}}}
     1633  * Descripción:
     1634{{{
     1635Estima el modelo de regresión lineal yt = Xt*A + et.
     1636}}}
     1637  * Lenguaje:C++
     1638  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1639
     1640 == Función '''LinearLeastSquares''' ==
     1641  * Declaración:
     1642{{{
     1643Set LinearLeastSquares(Matrix A, Matrix Y [, Real soloResolver=BFALSE, Set nombres=Empty] )
     1644}}}
     1645  * Descripción:
     1646{{{
     1647Dada una matriz rectangular A con al menos tantas filas como columnas y un vector columna resuelve el problema de mínimos cuadrados
     1648 
     1649                         Y = A*X + R
     1650 
     1651y devuelve la media de los cuadrados de los residuos R
     1652 
     1653Si el parámetro soloResolver es false entonces se devuelve también
     1654 
     1655         i)  la pseudo-inversa de A como la matriz P que cumple
     1656 
     1657                        A*P*A = A;
     1658                        P*A*P = P;
     1659 
     1660        ii)  la matriz de información de A e Y
     1661 
     1662                        t(A)*A 
     1663                       --------
     1664                        t(Y)*Y 
     1665 
     1666 iii)  la matriz de covarianzas de los parámetros X, que es la
     1667             inversa de la matriz de información.
     1668 
     1669        iv)  una base del núcleo o kernel de A
     1670 
     1671                  K(A) = { k | A*k = 0 }
     1672 
     1673
     1674}}}
     1675  * Lenguaje:C++
     1676  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1677
     1678 == Función '''LinearRegression''' ==
     1679  * Declaración:
     1680{{{
     1681Set LinearRegression(Serie y, Set X)
     1682}}}
     1683  * Descripción:
     1684{{{
     1685Estima el modelo de regresión lineal yt = Xt*A + et.
     1686}}}
     1687  * Lenguaje:C++
     1688  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1689
     1690 == Función '''Logit''' ==
     1691  * Declaración:
     1692{{{
     1693Set Logit(Matrix y, Matrix X)
     1694}}}
     1695  * Descripción:
     1696{{{
     1697Estima el modelo logístico Log(p/(1-p)) = B'*X.Devuelve un conjunto con estos elementos:  1. El vector de los  parameters  2. El vector de las probabilidades de salida  3. El vector del gradiente  4. La matrix del hessiano  5. El vector de los logaritmos de las verosimilitudes individuales  6. El logaritmo de la verosimilitud  7. La verosimilitud
     1698}}}
     1699  * Lenguaje:C++
     1700  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     1701
     1702 == Función '''Marquardt''' ==
     1703  * Declaración:
     1704{{{
     1705Set Marquardt(Real n, Real m, Code fun, Matrix x [, Code jacobian])
     1706}}}
     1707  * Descripción:
     1708{{{
     1709 Aplica el algoritmo de Marquardt para resolver el problema del tipo     
     1710                   min(f(x)^t*f(x))                                     
     1711siendo f una funcion vectorial, f:R^n ---> R^m                         
     1712
     1713Argumentos:                                                             
     1714
     1715n        ---> Dimension del espacio dominio de la funcion                 
     1716m        ---> Dimension del espacio imagen de la funcion                 
     1717fun      ---> funcion a minimizar. Debe declararse como                   
     1718                Matrix (Matrix){...}                                     
     1719x        ---> vector de parametros iniciales                             
     1720jacobian ---> funcion (opcional) de calculo del jacobiano de fun         
     1721
     1722}}}
     1723  * Lenguaje:C++
     1724  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     1725
     1726 == Función '''MatReadDimensions''' ==
     1727  * Declaración:
     1728{{{
     1729Set MatReadDimensions(Text filename)
     1730}}}
     1731  * Descripción:
     1732{{{
     1733Devuelve el número de filas y columnas de la matriz almacenada en un fichero con formato binario
     1734}}}
     1735  * Lenguaje:C++
     1736  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     1737
     1738 == Función '''MatSerSet''' ==
     1739  * Declaración:
     1740{{{
     1741Set MatSerSet(Matrix matriz, TimeSet fechado, Date fechaInicial)
     1742}}}
     1743  * Descripción:
     1744{{{
     1745Convierte por filas una matriz en un conjunto de series con el fechado y la fecha inicial dadas.
     1746}}}
     1747  * Lenguaje:C++
     1748  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1749
     1750 == Función '''MatSet''' ==
     1751  * Declaración:
     1752{{{
     1753Set MatSet(Matrix matriz)
     1754}}}
     1755  * Descripción:
     1756{{{
     1757Convierte por filas una matriz en un conjunto de conjuntos de reales.
     1758}}}
     1759  * Lenguaje:C++
     1760  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1761
     1762 == Función '''Methods''' ==
     1763  * Declaración:
     1764{{{
     1765Set Methods(Text gramatica)
     1766}}}
     1767  * Descripción:
     1768{{{
     1769Devuelve un conjunto con los nombres de los métodos definidos para una gramáticas determinada.
     1770}}}
     1771  * Lenguaje:C++
     1772  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1773
     1774 == Función '''Monomes''' ==
     1775  * Declaración:
     1776{{{
     1777Set Monomes(Polyn p)
     1778}}}
     1779  * Descripción:
     1780{{{
     1781Devuelve el conjunto de todos  los monomios no nulos de p.
     1782}}}
     1783  * Lenguaje:C++
     1784  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/polynomial_type/polgra.cpp tol/btol/polynomial_type/polgra.cpp]
     1785
     1786 == Función '''MonteCarloMiser''' ==
     1787  * Declaración:
     1788{{{
     1789Set MonteCarloMiser(Code function, Real dim, Matrix xlower, Matrix xupper [, Real calls])
     1790}}}
     1791  * Descripción:
     1792{{{
     1793Integración de Monte Carlo: método MISER. Integra mediante muestreo recursivo estratificado.
     1794
     1795Argumentos:
     1796
     1797    function --> función de usuario a integrar. Debe declararse como
     1798                 Real (Matrix) {...}
     1799    dim      --> dimensión del dominio.
     1800    xlower   -->
     1801    xupper   --> ambos son matrices columnas de tamaño dim y definen el volumen the integración
     1802    calls    --> número de evaluaciones de la función a ejecutar. Por omisión se asume 100000.
     1803
     1804Ejemplo:
     1805
     1806        Real UserFunc ( Matrix X )
     1807        {
     1808            Real dim = Rows(X);
     1809            Real A = 1 / Pi ^ dim;
     1810            A / (1.0 - MatProd(Cos(X)))
     1811        };
     1812        Set IntMonte = MonteCarloMiser(UserFunc, 3, Col(0,0,0), Col(Pi,Pi,Pi), 100000);
     1813}}}
     1814  * Lenguaje:C++
     1815  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmonte/mc-integrator.cpp tol/btol/bmonte/mc-integrator.cpp]
     1816
     1817 == Función '''MonteCarloPlain''' ==
     1818  * Declaración:
     1819{{{
     1820Set MonteCarloPlain(Code function, Real dim, Matrix xlower, Matrix xupper [, Real calls])
     1821}}}
     1822  * Descripción:
     1823{{{
     1824Integración de Monte Carlo: método clásico. Integra mediante muestreo aleatorio uniforme
     1825
     1826Argumentos:
     1827
     1828    function --> función de usuario a integrar. Debe declararse como
     1829                 Real (Matrix) {...}
     1830    dim      --> dimensión del dominio.
     1831    xlower   -->
     1832    xupper   --> ambos son matrices columnas de tamaño dim y definen el volumen the integración
     1833    calls    --> número de evaluaciones de la función a ejecutar. Por omisión se asume 100000.
     1834
     1835Ejemplo:
     1836
     1837        Real UserFunc ( Matrix X )
     1838        {
     1839            Real dim = Rows(X);
     1840            Real A = 1 / Pi ^ dim;
     1841            A / (1.0 - MatProd(Cos(X)))
     1842        };
     1843        Set IntMonte = MonteCarloPlain(UserFunc, 3, Col(0,0,0), Col(Pi,Pi,Pi), 100000);
     1844}}}
     1845  * Lenguaje:C++
     1846  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmonte/mc-integrator.cpp tol/btol/bmonte/mc-integrator.cpp]
     1847
     1848 == Función '''MonteCarloVegas''' ==
     1849  * Declaración:
     1850{{{
     1851Set MonteCarloVegas(Code function, Real dim, Matrix xlower, Matrix xupper [, Real warmcalls, Real hotcalls, Real signif])
     1852}}}
     1853  * Descripción:
     1854{{{
     1855Integración de Monte Carlo: método VEGAS. Integra mediante una combinación the muestreo con importancia
     1856y muestreo recursivo estratificado.
     1857
     1858Argumentos:
     1859
     1860    function  --> función de usuario a integrar. Debe declararse como
     1861                 Real (Matrix) {...}
     1862    dim       --> dimensión del dominio.
     1863    xlower    -->
     1864    xupper    --> ambos son matrices columnas de tamaño dim y definen el volumen the integración
     1865    warmcalls --> número de evaluaciones de la función para preparar el histograma.
     1866                  Por omisión se asume 100000.
     1867    hotcalls  --> número de evaluaciones de la función usadas en el estimado de una integral independiente
     1868    signif    --> significancia de los resultados, debe ser cercano a 0.
     1869
     1870Ejemplo:
     1871
     1872        Real UserFunc ( Matrix X )
     1873        {
     1874            Real dim = Rows(X);
     1875            Real A = 1 / Pi ^ dim;
     1876            A / (1.0 - MatProd(Cos(X)))
     1877        };
     1878        Set IntMonte = MonteCarloVegas(UserFunc, 3, Col(0,0,0), Col(Pi,Pi,Pi), 10000, 100000);
     1879}}}
     1880  * Lenguaje:C++
     1881  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmonte/mc-integrator.cpp tol/btol/bmonte/mc-integrator.cpp]
     1882
     1883 == Función '''MultidimMin''' ==
     1884  * Declaración:
     1885{{{
     1886Set MultidimMin(Code function, Matrix point, Real dim, Real stepSize, Real linTol, Real numIter)
     1887}}}
     1888  * Descripción:
     1889{{{
     1890Aplica la variante Fletcher-Reeves del algoritmo gradiente conjugado             
     1891para encontrar el punto donde la función alcanza un mínimo local                 
     1892Argumentos:                                                                       
     1893function  ---> función a minimizar, f R^dim ---> R,                               
     1894point     ---> punto inicial,                                                     
     1895dim       ---> dimensión del espacio dominio de la función                       
     1896stepSize  ---> tamaño del paso de búsqueda                                       
     1897linTol    ---> tolerancia para la minimización lineal                             
     1898
     1899}}}
     1900  * Lenguaje:C++
     1901  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/multimin.cpp tol/btol/matrix_type/multimin.cpp]
     1902
     1903 == Función '''NCopy''' ==
     1904  * Declaración:
     1905{{{
     1906Set NCopy(Real n, Anything objecto)
     1907}}}
     1908  * Descripción:
     1909{{{
     1910Devuelve un conjunto con n copias de un objeto.
     1911}}}
     1912  * Lenguaje:C++
     1913  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     1914
     1915 == Función '''NameBlockToSet''' ==
     1916  * Declaración:
     1917{{{
     1918Set NameBlockToSet(NameBlock nameBlock)
     1919}}}
     1920  * Descripción:
     1921{{{
     1922Convierte un Set en un NameBlock
     1923}}}
     1924  * Lenguaje:C++
     1925  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bgrammar/nameblock.cpp tol/btol/bgrammar/nameblock.cpp]
     1926
     1927 == Función '''NormColumns''' ==
     1928  * Declaración:
     1929{{{
     1930Set NormColumns(Matrix m)
     1931}}}
     1932  * Descripción:
     1933{{{
     1934Normaliza las columnas de una matriz dividiendo el resultado por la norma euclidea.
     1935}}}
     1936  * Lenguaje:C++
     1937  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     1938
     1939 == Función '''Ois.AddressStr''' ==
     1940  * Declaración:
     1941{{{
     1942Set Ois.AddressStr(Text Concept, Text Version, Text Node)
     1943}}}
     1944  * Descripción:
     1945{{{
     1946Crea un nuevo conjunto con estructura Ois.AddressStr.
     1947}}}
     1948  * Lenguaje:C++
     1949 
     1950
     1951 == Función '''Ois.DocStr''' ==
     1952  * Declaración:
     1953{{{
     1954Set Ois.DocStr(Text Name, Text Category, Text Subject, Text Keys, Text Abstract, Text Authors, Text Distribution, Text Repository)
     1955}}}
     1956  * Descripción:
     1957{{{
     1958Crea un nuevo conjunto con estructura Ois.DocStr.
     1959}}}
     1960  * Lenguaje:C++
     1961 
     1962
     1963 == Función '''Ois.Load''' ==
     1964  * Declaración:
     1965{{{
     1966Set Ois.Load(Text root [, Set address=Empty, Set options])
     1967}}}
     1968  * Descripción:
     1969{{{
     1970OIS son las siglas de Objects Indexed Serialization, es decir, Serialización Indexada de Objetos mediante el cual se puede almacenar de forma persistente en ficheros binarios un conjunto de objetos TOL con estructura arbitraria. Los ficheros se organizan en un único directorio plano.Esta función recupera total o parcialemente la información guardada en un almacén OIS bajo el directorio raíz (root)
     1971  1) El argumento address debe tener estructura Ois.AddressStr o bien ser vacío.Los elementos vacíos serán ignorados y el resto se usarán para definir el directorio donde se ubicará el OIS siguiendo esta regla organizativa:
     1972  root+"/"+address->Concept+"/"+address->Version+"/"+address->Node
     1973Se pretende con este argumento dotar de una mejor organización pero nada impide pasar todo el path en el argumento root y no especificar el argumento address o pasarlo vacío.
     1974  2) Con el argumento 'options' se puede configurar el proceso de carga.
     1975
     1976Por defecto se cargan los datos completos del OIS lo cual se podría expresar explícitamente de esta forma:
     1977Set {options =
     1978[[
     1979  Set loadMode = [[Ois.Load.Mode.Data]],
     1980  Set showMode =
     1981  [[
     1982    Real showHrchyDepth = -1,
     1983    Real showHrchyMaxChilds = -1
     1984  ]],
     1985  Set partialLoad = Empty,
     1986  //Es posible definir un conjunto de alias para los caminos absolutos
     1987  //de los directorios raíces de los ficheros de código fuente TOL.
     1988  //Entonces en los caminos de todos los ficheros TOL que empiezen por
     1989  //dichas raíces path_k éstas se reemplazarán por sus correspondientes
     1990  //alias codificadas como {&alias_k}
     1991  Set tolSourceSearchPaths =
     1992  [[
     1993    Text alias_1 ="path_1",
     1994    ...
     1995    Text alias_N ="path_N"
     1996  ]]
     1997,
     1998  Real oisHasPriorityOnConflict = True
     1999]]}
     2000
     2001NOTA: Es estrictamente necesario que se declaren los argumentos opcionales con los nombres propuestos para que sean reconocibles por el proceso interno. Las declaración de options está entre llaves {} para evitar crear variables globales innecesarias. El orden de la declaración de las opciones es irrelevante.
     2002
     2003    2.1) Los valores válidos de loadMode son:
     2004      2.1.1) Real Ois.Load.Mode.ShowHierarchy = 2 : Indica a la función Ois.Load que la jerarquía de objetos OIS se ha de mostrar en un editor de texto.
     2005
     2006      2.1.2) Real Ois.Load.Mode.Header = 0 : Indica a la función Ois.Load que ha de cargar sólo el contenido de la cabecera OIS
     2007
     2008      2.1.3) Real Ois.Load.Mode.Data = 1 : Se cargarán las declaraciones, descripciones y datos de los objectos TOL contenidos en el directorio OIS
     2009
     2010     2.2) Cuando Ois.Load.Mode.ShowHierarchy se incluye en loadMode es posible controlar el proceso de presentación de la jerarquía.      2.2.1) Con showHrchyDepth se puede especificar la profundidad máxima de la jerarquía que se quiere representar. Si es negativo o no aparece no se acotará dicha cantidad. Esto es peligroso si hay estructuras cíclicas o muy largas.       2.2.2) Con showHrchyMaxChilds Se puede especificar el máximo número de hijos que se verán para cada nodo. Si es negativo o no aparece no se acotará dicha cantidad. Esto es peligroso si hay estructuras cíclicas o muy largas.
     2011
     2012    2.3) Cuando OIS_Load_Mode_Data se incluye en loadMode es posible cargar los datos completos del OIS o bien especificar un camino parcial de carga mediante el argumento partialLoad que contendrá los ordinales sucesivos de los elementos desde el conjunto raíz o alternativamente los nombres de los mismos si es que tienen, incluso aunque se trate de nombres de ámbito local. Por ejemplo:
     2013  Set  { partialLoad = [[1,model,3]] }
     2014cargará sólo el tercer elemento de un conjunto llamado model dentro del primer elemento del OIS.CUIDADO: la búsqueda por nombre sólo funciona si no hay nombres repetidos.
     2015    2.4) Se pueden usar los alias de las rutas a las raíces de los ficheros fuente de código TOL para chequera y actualizar un OIS desde una fuente distinta a la original. Por ejemplo cuando el OIS se creó en una red de área local distinta de la actual y la IP de la máquina original no está disponible.    2.5) Si oisHasPriorityOnConflict es falso entonces, cuando exista un objeto referenciable con el mismo nombre que un objeto dentro de la imagen OIS, el objeto anterior reemplazará al del OIS.Puede ser útil para recuperar OIS de versiones viejas en los que hayan podido quedar objetos deteriorados, como por ejemplo fechados recortados en las fechas por defecto de cuando se creó el OIS. Si oisHasPriorityOnConflict es cierto, que es el comportamiento por defecto, será el OIS el utilizado para garantizar que se carga exactamente lo que se almacenó.
     2016}}}
     2017  * Lenguaje:C++
     2018  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/ois/oisapitol.cpp tol/ois/oisapitol.cpp]
     2019
     2020 == Función '''Ois.UseModule''' ==
     2021  * Declaración:
     2022{{{
     2023Set Ois.UseModule(Text tolFile)
     2024}}}
     2025  * Descripción:
     2026{{{
     2027Carga un módulo OIS precompilado que almacena todos los objetos de un fichero TOL que será compilado sólo si es necesario para reconstruir la imagen OIS, o sea, si no existe o no está actualizada.
     2028La imagen OIS se generará la imagen OIS dentro del directorio especificado en la variable global Text Ois.DefRoot.
     2029Para usar un fichero TOL normal como un módulo OIS la sintaxis a usar es:
     2030 Set Ois.UseModule(tolFile);
     2031en lugar de la típica orden
     2032 Set Include(tolFile);
     2033
     2034}}}
     2035  * Lenguaje:C++
     2036 
     2037
     2038 == Función '''Parse''' ==
     2039  * Declaración:
     2040{{{
     2041Set Parse(Text Expresion)
     2042}}}
     2043  * Descripción:
     2044{{{
     2045Devuelve un conjunto representando el arbol sintactico correspondiente a Expresion.Dicho conjunto contiene: un simbolo como primer elemento, a continuacion el tipo de dicho simbolo,y por ultimo, un conjunto. Este conjunto contiene un arbol sintactico por cada argumento del simbolo.
     2046}}}
     2047  * Lenguaje:C++
     2048  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     2049
     2050 == Función '''Probit''' ==
     2051  * Declaración:
     2052{{{
     2053Set Probit(Matrix y, Matrix X)
     2054}}}
     2055  * Descripción:
     2056{{{
     2057Estima el modelo probit p = DistNormal(B'*X).
     2058}}}
     2059  * Lenguaje:C++
     2060  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     2061
     2062 == Función '''PutStructure''' ==
     2063  * Declaración:
     2064{{{
     2065Set PutStructure(Text nombreEstructura, Set conjunto)
     2066}}}
     2067  * Descripción:
     2068{{{
     2069Crea un nuevo conjunto con una estructura dada a partir de otro conjunto cuyos elementos sean compatibles con los campos de dicha estructura.
     2070
     2071}}}
     2072  * Lenguaje:C++
     2073  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     2074
     2075 == Función '''QRDecomposition''' ==
     2076  * Declaración:
     2077{{{
     2078Set QRDecomposition(Matrix A)
     2079}}}
     2080  * Descripción:
     2081{{{
     2082Retorna la descomposicion QR de una matriz A MxN.
     2083El conjunto resultado es {Q, R}, donde Q es una matriz cuadrada ortogonal MxM y R es una matriz MxN triangular superior.
     2084A = Q*R
     2085}}}
     2086  * Lenguaje:C++
     2087  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     2088
     2089 == Función '''Range''' ==
     2090  * Declaración:
     2091{{{
     2092Set Range(Real desde, Real hasta, Real distancia)
     2093}}}
     2094  * Descripción:
     2095{{{
     2096Devuelve el conjunto de los reales que van del número a al número b separados entre sí por la distancia p.
     2097}}}
     2098  * Lenguaje:C++
     2099  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     2100
     2101 == Función '''SVD''' ==
     2102  * Declaración:
     2103{{{
     2104Set SVD(Matrix A [, Text method])
     2105}}}
     2106  * Descripción:
     2107{{{
     2108Devuelve la descomposicion de valor singular (Singular Value Decomposition) de A
     2109        A = U * D * V',                                                       
     2110donde U y V son matrices ortonormales y D es una matriz diagonal.               
     2111Argumentos:                                                                     
     2112A      ---> matriz a factorizar,                                                 
     2113method ---> especifica el metodo que se aplica en la descomposicion.             
     2114            Este puede ser:              - Golub_Reinsch,
     2115             - Golub_Reinsch_Mod (por defecto. Matrices rectangulares)
     2116             - Jacobi.
     2117             - Sparse
     2118}}}
     2119  * Lenguaje:C++
     2120  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     2121
     2122 == Función '''Select''' ==
     2123  * Declaración:
     2124{{{
     2125Set Select(Set cto, Code condicion)
     2126}}}
     2127  * Descripción:
     2128{{{
     2129Selecciona los elementos de un conjunto que satisfacen una condición dada por una función que devuelve 0 o 1.
     2130}}}
     2131  * Lenguaje:C++
     2132  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     2133
     2134 == Función '''SetOfAnything''' ==
     2135  * Declaración:
     2136{{{
     2137Set SetOfAnything(Anything var1 [, Anything var2, ...])
     2138}}}
     2139  * Descripción:
     2140{{{
     2141Devuelve un conjunto enumerado de objetos de tipo Anything
     2142}}}
     2143  * Lenguaje:C++
     2144 
     2145
     2146 == Función '''SetOfCode''' ==
     2147  * Declaración:
     2148{{{
     2149Set SetOfCode(Code var1 [, Code var2, ...])
     2150}}}
     2151  * Descripción:
     2152{{{
     2153Devuelve un conjunto enumerado de objetos de tipo Code
     2154}}}
     2155  * Lenguaje:C++
     2156 
     2157
     2158 == Función '''SetOfComplex''' ==
     2159  * Declaración:
     2160{{{
     2161Set SetOfComplex(Complex var1 [, Complex var2, ...])
     2162}}}
     2163  * Descripción:
     2164{{{
     2165Devuelve un conjunto enumerado de objetos de tipo Complex
     2166}}}
     2167  * Lenguaje:C++
     2168 
     2169
     2170 == Función '''SetOfDate''' ==
     2171  * Declaración:
     2172{{{
     2173Set SetOfDate(Date var1 [, Date var2, ...])
     2174}}}
     2175  * Descripción:
     2176{{{
     2177Devuelve un conjunto enumerado de objetos de tipo Date
     2178}}}
     2179  * Lenguaje:C++
     2180 
     2181
     2182 == Función '''SetOfMatrix''' ==
     2183  * Declaración:
     2184{{{
     2185Set SetOfMatrix(Matrix var1 [, Matrix var2, ...])
     2186}}}
     2187  * Descripción:
     2188{{{
     2189Devuelve un conjunto enumerado de objetos de tipo Matrix
     2190}}}
     2191  * Lenguaje:C++
     2192 
     2193
     2194 == Función '''SetOfNameBlock''' ==
     2195  * Declaración:
     2196{{{
     2197Set SetOfNameBlock(NameBlock var1 [, NameBlock var2, ...])
     2198}}}
     2199  * Descripción:
     2200{{{
     2201Devuelve un conjunto enumerado de objetos de tipo NameBlock
     2202}}}
     2203  * Lenguaje:C++
     2204 
     2205
     2206 == Función '''SetOfPolyn''' ==
     2207  * Declaración:
     2208{{{
     2209Set SetOfPolyn(Polyn var1 [, Polyn var2, ...])
     2210}}}
     2211  * Descripción:
     2212{{{
     2213Devuelve un conjunto enumerado de objetos de tipo Polyn
     2214}}}
     2215  * Lenguaje:C++
     2216 
     2217
     2218 == Función '''SetOfRation''' ==
     2219  * Declaración:
     2220{{{
     2221Set SetOfRation(Ratio var1 [, Ratio var2, ...])
     2222}}}
     2223  * Descripción:
     2224{{{
     2225Devuelve un conjunto enumerado de objetos de tipo Ratio
     2226}}}
     2227  * Lenguaje:C++
     2228 
     2229
     2230 == Función '''SetOfReal''' ==
     2231  * Declaración:
     2232{{{
     2233Set SetOfReal(Real var1 [, Real var2, ...])
     2234}}}
     2235  * Descripción:
     2236{{{
     2237Devuelve un conjunto enumerado de objetos de tipo Real
     2238}}}
     2239  * Lenguaje:C++
     2240 
     2241
     2242 == Función '''SetOfSerie''' ==
     2243  * Declaración:
     2244{{{
     2245Set SetOfSerie(Serie var1 [, Serie var2, ...])
     2246}}}
     2247  * Descripción:
     2248{{{
     2249Devuelve un conjunto enumerado de objetos de tipo Serie
     2250}}}
     2251  * Lenguaje:C++
     2252 
     2253
     2254 == Función '''SetOfSet''' ==
     2255  * Declaración:
     2256{{{
     2257Set SetOfSet(Set var1 [, Set var2, ...])
     2258}}}
     2259  * Descripción:
     2260{{{
     2261Devuelve un conjunto enumerado de objetos de tipo Set
     2262}}}
     2263  * Lenguaje:C++
     2264 
     2265
     2266 == Función '''SetOfText''' ==
     2267  * Declaración:
     2268{{{
     2269Set SetOfText(Text var1 [, Text var2, ...])
     2270}}}
     2271  * Descripción:
     2272{{{
     2273Devuelve un conjunto enumerado de objetos de tipo Text
     2274}}}
     2275  * Lenguaje:C++
     2276 
     2277
     2278 == Función '''SetOfTimeSet''' ==
     2279  * Declaración:
     2280{{{
     2281Set SetOfTimeSet(TimeSet var1 [, TimeSet var2, ...])
     2282}}}
     2283  * Descripción:
     2284{{{
     2285Devuelve un conjunto enumerado de objetos de tipo TimeSet
     2286}}}
     2287  * Lenguaje:C++
     2288 
     2289
     2290 == Función '''SetOfVMatrix''' ==
     2291  * Declaración:
     2292{{{
     2293Set SetOfVMatrix(VMatrix var1 [, VMatrix var2, ...])
     2294}}}
     2295  * Descripción:
     2296{{{
     2297Devuelve un conjunto enumerado de objetos de tipo VMatrix
     2298}}}
     2299  * Lenguaje:C++
     2300 
     2301
     2302 == Función '''Sort''' ==
     2303  * Declaración:
     2304{{{
     2305Set Sort(Set cto, Code orden)
     2306}}}
     2307  * Descripción:
     2308{{{
     2309Ordena un conjunto con cierto criterio de orden.Un criterio C del orden O, para un tipo de datos determinado, es una función, tal que, dados dos objetos R y S de dicho tipo, cumple
     2310
     2311        C(R,S) = -1    si y sólo si O(R) < O(S);
     2312
     2313        C(R,S) =  0    si y sólo si O(R) = O(S);
     2314
     2315        C(R,S) = +1    si y sólo si O(R) > O(S);
     2316
     2317
     2318}}}
     2319  * Lenguaje:C++
     2320  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     2321
     2322 == Función '''SparseLinearRegression''' ==
     2323  * Declaración:
     2324{{{
     2325Set SparseLinearRegression(Text result, Matrix y, Set SparseX [, Set SparseCW])
     2326}}}
     2327  * Descripción:
     2328{{{
     2329Estimates the linear regression model Y = X*b + E, E ~ N[0,s2*W]
     2330SparseX is the sparse specification of X,
     2331SparseCW is the sparse specification of a factor C, where W^-1=C'*C, C defaults to I
     2332The result argument is a colon separated string indicating the requested result from the regression. The posible values are:
     2333BETA : the estimated parameters
     2334SSE  : sum square error
     2335MSE  : mean square error
     2336SST  : sum square total
     2337R2   : R-squared, coefficient of multiple determination
     2338R2A  : R2 adjusted
     2339RES  : vector of residuals
     2340VAR  : varianze of parameters. In this case what is returned is a sparse factor F such as Vb = F*F'
     2341SAMPLE=B,N : return a sample of size N from p(beta,s2|y,X) using B as burning size
     2342ALL  : return all the values except SAMPLE that needs arguments.if result is empty or invalid a default value is used: "Beta:MSE:VAR"
     2343}}}
     2344  * Lenguaje:C++
     2345  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/sparselinreg.cpp tol/btol/bmodel/sparselinreg.cpp]
     2346
     2347 == Función '''StatFile''' ==
     2348  * Declaración:
     2349{{{
     2350Set StatFile(Set cto [, Text nombreFichero="Std", Text cabecera="_DEFAULT_HEADER_", Real reescribir=CIERTO, Text separadorDeColumnas = ";", Text separadorDeFilas = ";\n"])
     2351}}}
     2352  * Descripción:
     2353{{{
     2354Escribe un conjunto de estad�sticos acerca de un conjunto de series en un fichero.
     2355Si no se especifica ning�n fichero se usar� la salida est�ndar "Std"
     2356Se puede especificar una cadena de cabecera que se escribir� en la primera l�nea
     2357Si la cabecera es "_DEFAULT_HEADER_" se usar�n los nombres de los estad�sticos como cabecera
     2358Si la cabecera es "" no se escribir� cabecera.
     2359Si se quiere a�adir los resultados a un fichero existente usese rewrite=FALSE
     2360Es posible especificar cualquier separador de columna y fila
     2361}}}
     2362  * Lenguaje:C++
     2363  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/lang/language.cpp tol/lang/language.cpp]
     2364
     2365 == Función '''StdLib::ARIMABackasting''' ==
     2366  * Declaración:
     2367{{{
     2368Set StdLib::ARIMABackasting(Set model)
     2369}}}
     2370  * Descripción:
     2371{{{
     2372
     2373}}}
     2374  * Lenguaje:TOL
     2375  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2376
     2377 == Función '''StdLib::ARIMADegCases''' ==
     2378  * Declaración:
     2379{{{
     2380Set StdLib::ARIMADegCases(Set dr)
     2381}}}
     2382  * Descripción:
     2383{{{
     2384
     2385}}}
     2386  * Lenguaje:TOL
     2387  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2388
     2389 == Función '''StdLib::ARIMAEstimModel''' ==
     2390  * Declaración:
     2391{{{
     2392Set StdLib::ARIMAEstimModel(Serie output, Set ARIMA, Set BoxCox, Set input, Date iniEstim, Date endEstim, Set aprioriSet)
     2393}}}
     2394  * Descripción:
     2395{{{
     2396Realiza el proceso de estimacion con todos los parametros posibles. Si
     2397el conjunto de parametros a priori puede es vacio, se estima sin ellos.
     2398}}}
     2399  * Lenguaje:TOL
     2400  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2401
     2402 == Función '''StdLib::ARIMAEstimate''' ==
     2403  * Declaración:
     2404{{{
     2405Set StdLib::ARIMAEstimate(Set oldModel, Real tolerance, Real numeric)
     2406}}}
     2407  * Descripción:
     2408{{{
     2409
     2410}}}
     2411  * Lenguaje:TOL
     2412  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2413
     2414 == Función '''StdLib::ARIMAFillResults''' ==
     2415  * Declaración:
     2416{{{
     2417Set StdLib::ARIMAFillResults(Set mod, Set marquardt)
     2418}}}
     2419  * Descripción:
     2420{{{
     2421
     2422}}}
     2423  * Lenguaje:TOL
     2424  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2425
     2426 == Función '''StdLib::ARIMAFromInitValues''' ==
     2427  * Declaración:
     2428{{{
     2429Set StdLib::ARIMAFromInitValues(Set model, Serie initz, Serie initres)
     2430}}}
     2431  * Descripción:
     2432{{{
     2433
     2434}}}
     2435  * Lenguaje:TOL
     2436  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2437
     2438 == Función '''StdLib::ARIMAGetEffects''' ==
     2439  * Declaración:
     2440{{{
     2441Set StdLib::ARIMAGetEffects(Set model)
     2442}}}
     2443  * Descripción:
     2444{{{
     2445
     2446}}}
     2447  * Lenguaje:TOL
     2448  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2449
     2450 == Función '''StdLib::ARIMAGetEvaluation''' ==
     2451  * Declaración:
     2452{{{
     2453Set StdLib::ARIMAGetEvaluation(Set mod)
     2454}}}
     2455  * Descripción:
     2456{{{
     2457
     2458}}}
     2459  * Lenguaje:TOL
     2460  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2461
     2462 == Función '''StdLib::ARIMAGetParameters''' ==
     2463  * Declaración:
     2464{{{
     2465Set StdLib::ARIMAGetParameters(Set model)
     2466}}}
     2467  * Descripción:
     2468{{{
     2469
     2470}}}
     2471  * Lenguaje:TOL
     2472  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2473
     2474 == Función '''StdLib::ARIMANullInit''' ==
     2475  * Declaración:
     2476{{{
     2477Set StdLib::ARIMANullInit(Set model)
     2478}}}
     2479  * Descripción:
     2480{{{
     2481
     2482}}}
     2483  * Lenguaje:TOL
     2484  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2485
     2486 == Función '''StdLib::ARIMASetParameters''' ==
     2487  * Declaración:
     2488{{{
     2489Set StdLib::ARIMASetParameters(Set model, Set X)
     2490}}}
     2491  * Descripción:
     2492{{{
     2493
     2494}}}
     2495  * Lenguaje:TOL
     2496  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2497
     2498 == Función '''StdLib::ARIMAToParam''' ==
     2499  * Declaración:
     2500{{{
     2501Set StdLib::ARIMAToParam(Set arima)
     2502}}}
     2503  * Descripción:
     2504{{{
     2505
     2506}}}
     2507  * Lenguaje:TOL
     2508  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     2509
     2510 == Función '''StdLib::ARMAProcess::StationarityBounds.2''' ==
     2511  * Declaración:
     2512{{{
     2513Set StdLib::ARMAProcess::StationarityBounds.2(Polyn pol, Real periodicity, Real degree)
     2514}}}
     2515  * Descripción:
     2516{{{
     2517Returns stationary bounds for the coefficient of degree 1 or 2 of a polynomial of degree 1 or 2
     2518}}}
     2519  * Lenguaje:TOL
     2520  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_arma_process.tol stdlib/tol/math/stat/models/bayesian/arima/_arma_process.tol]
     2521
     2522 == Función '''StdLib::ARMAProcess::StationarityBounds.2.1''' ==
     2523  * Declaración:
     2524{{{
     2525Set StdLib::ARMAProcess::StationarityBounds.2.1(Polyn pol, Real periodicity)
     2526}}}
     2527  * Descripción:
     2528{{{
     2529Returns stationary bounds for fi1 in a polynomial 1 - fi1*B - fi2*B^2
     2530}}}
     2531  * Lenguaje:TOL
     2532  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_arma_process.tol stdlib/tol/math/stat/models/bayesian/arima/_arma_process.tol]
     2533
     2534 == Función '''StdLib::ARMAProcess::StationarityBounds.2.2''' ==
     2535  * Declaración:
     2536{{{
     2537Set StdLib::ARMAProcess::StationarityBounds.2.2(Polyn pol, Real periodicity)
     2538}}}
     2539  * Descripción:
     2540{{{
     2541Returns stationary bounds for fi2 in a polynomial 1 - fi1*B - fi2*B^2
     2542}}}
     2543  * Lenguaje:TOL
     2544  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_arma_process.tol stdlib/tol/math/stat/models/bayesian/arima/_arma_process.tol]
     2545
     2546 == Función '''StdLib::AdjustSetSer''' ==
     2547  * Declaración:
     2548{{{
     2549Set StdLib::AdjustSetSer(Set setSer)
     2550}}}
     2551  * Descripción:
     2552{{{
     2553Set AdjustSetSer (Set setSer):
     2554Retorna el conjunto de series ajustadas al menor de los finales y al maximo
     2555de los inicios del conjunto de series <setSer>.
     2556}}}
     2557  * Lenguaje:TOL
     2558  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     2559
     2560 == Función '''StdLib::Aia.OutlierInfo.BuildFromSetInpDef''' ==
     2561  * Declaración:
     2562{{{
     2563Set StdLib::Aia.OutlierInfo.BuildFromSetInpDef(Set aia)
     2564}}}
     2565  * Descripción:
     2566{{{
     2567Devuelve la expresión estandarizada del resultado de la función AIA
     2568}}}
     2569  * Lenguaje:TOL
     2570  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/aia/_functions.tol stdlib/tol/math/stat/models/mle/arima/aia/_functions.tol]
     2571
     2572 == Función '''StdLib::Aia.PreBuildModel''' ==
     2573  * Declaración:
     2574{{{
     2575Set StdLib::Aia.PreBuildModel(Serie output, Set arimaInfo, Real preestimIter)
     2576}}}
     2577  * Descripción:
     2578{{{
     2579Construye un modelo ARIMA de estructura dada por <arimaInfo>  como paso previo para aplicar la función AIA a una serie <output>. Si <preestimIter> es 0 o <arimaInfo> no tiene parámetros (p=q=0) entonces se utiliza el modelo <arimaInfo> tal cual. En otro caso se usa <arimaInfo> como punto inicial de la función Estimate durante un máximo de <preestimIter> iteraciones.
     2580Se supondrá que la serie <output> ha sido previamente transformada si así fuera necesario.
     2581}}}
     2582  * Lenguaje:TOL
     2583  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/aia/_build_model.tol stdlib/tol/math/stat/models/mle/arima/aia/_build_model.tol]
     2584
     2585 == Función '''StdLib::Aia.SearchSteps''' ==
     2586  * Declaración:
     2587{{{
     2588Set StdLib::Aia.SearchSteps(Text name, Set aiaModInf)
     2589}}}
     2590  * Descripción:
     2591{{{
     2592Toma el resultado <aiaModInf> de Aia.SelectModel e inspecciona el modelo resultante en busca de escalones devolviendo el número y la suma de coeficientes de los mismos, separando los de signo positivo de los negativos.
     2593}}}
     2594  * Lenguaje:TOL
     2595  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/aia/_step_searcher.tol stdlib/tol/math/stat/models/mle/arima/aia/_step_searcher.tol]
     2596
     2597 == Función '''StdLib::Aia.SelectModel''' ==
     2598  * Declaración:
     2599{{{
     2600Set StdLib::Aia.SelectModel(Text name, Serie output, Set options)
     2601}}}
     2602  * Descripción:
     2603{{{
     2604Aplica la función AIA a la lista de estruturas ARIMA dada en options->arimaDef_ y selecciona el modelo que alcanza el menor criterio de información bayesiano, el cual se ha modificado para que se incluya la probabilidad de irreductibilidad de los inputs.
     2605Se supondrá que la serie <output> ha sido previamente transformada si así fuera necesario.
     2606}}}
     2607  * Lenguaje:TOL
     2608  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/aia/_build_model.tol stdlib/tol/math/stat/models/mle/arima/aia/_build_model.tol]
     2609
     2610 == Función '''StdLib::Anualiza''' ==
     2611  * Declaración:
     2612{{{
     2613Set StdLib::Anualiza(Serie ser, Real yearIni)
     2614}}}
     2615  * Descripción:
     2616{{{
     2617Construye un Serie para cada uno de los años de la Serie
     2618proporcionada
     2619}}}
     2620  * Lenguaje:TOL
     2621  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     2622
     2623 == Función '''StdLib::AnualizaEqualWD''' ==
     2624  * Declaración:
     2625{{{
     2626Set StdLib::AnualizaEqualWD(Serie ser, Real yearIni)
     2627}}}
     2628  * Descripción:
     2629{{{
     2630Construye un Serie para cada uno de los años de la Serie
     2631proporcionada llevando el comienzo al mismo dia de la semana. La Serie
     2632proporcionada ha de estar en fechado Diario.
     2633}}}
     2634  * Lenguaje:TOL
     2635  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     2636
     2637 == Función '''StdLib::AproxARIMA''' ==
     2638  * Declaración:
     2639{{{
     2640Set StdLib::AproxARIMA(Set arimaDegreeTable, Serie z, Real maxIter)
     2641}}}
     2642  * Descripción:
     2643{{{
     2644
     2645}}}
     2646  * Lenguaje:TOL
     2647  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2648
     2649 == Función '''StdLib::AproxARIMATransferStruct''' ==
     2650  * Declaración:
     2651{{{
     2652Set StdLib::AproxARIMATransferStruct(Set model, Real maxIter)
     2653}}}
     2654  * Descripción:
     2655{{{
     2656
     2657}}}
     2658  * Lenguaje:TOL
     2659  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2660
     2661 == Función '''StdLib::AproximateARIMA''' ==
     2662  * Declaración:
     2663{{{
     2664Set StdLib::AproximateARIMA(Set ARIMADegreeTable, Serie z)
     2665}}}
     2666  * Descripción:
     2667{{{
     2668
     2669}}}
     2670  * Lenguaje:TOL
     2671  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     2672
     2673 == Función '''StdLib::AutoCorMet''' ==
     2674  * Declaración:
     2675{{{
     2676Set StdLib::AutoCorMet(Real parcial, Real inversa, Real diferenciaRegular, Real diferenciaEstacional, Real periodicidad)
     2677}}}
     2678  * Descripción:
     2679{{{
     2680
     2681}}}
     2682  * Lenguaje:TOL
     2683  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/html/_htmlmethods.tol stdlib/tol/gui/html/_htmlmethods.tol]
     2684
     2685 == Función '''StdLib::AutoRegMet''' ==
     2686  * Declaración:
     2687{{{
     2688Set StdLib::AutoRegMet(Real periodicidad, Real numeroDePrevisiones, Real nivelDeConfianza, Real previsionHistorica, Real analisisDeResiduos)
     2689}}}
     2690  * Descripción:
     2691{{{
     2692
     2693}}}
     2694  * Lenguaje:TOL
     2695  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/html/_htmlmethods.tol stdlib/tol/gui/html/_htmlmethods.tol]
     2696
     2697 == Función '''StdLib::BDTAppendToFile''' ==
     2698  * Declaración:
     2699{{{
     2700Set StdLib::BDTAppendToFile(Set series, Text fileName)
     2701}}}
     2702  * Descripción:
     2703{{{
     2704Añade datos de un conjunto de series a un fichero con formato BDT.
     2705Si el fichero no existe escribe también la cabecera del fichero con el fechado y el nombre de las series.
     2706No comprueba si ya existen datos para esas fechas ni el número de series existentes en el fichero.
     2707}}}
     2708  * Lenguaje:TOL
     2709  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     2710
     2711 == Función '''StdLib::BDTFileXLS''' ==
     2712  * Declaración:
     2713{{{
     2714Set StdLib::BDTFileXLS(Set series, Text xlsFile)
     2715}}}
     2716  * Descripción:
     2717{{{
     2718
     2719}}}
     2720  * Lenguaje:TOL
     2721  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/xls/_init_xls.tol stdlib/tol/gui/xls/_init_xls.tol]
     2722
     2723 == Función '''StdLib::BDTFileXLSNames''' ==
     2724  * Declaración:
     2725{{{
     2726Set StdLib::BDTFileXLSNames(Set series, Text xlsFile, Set names)
     2727}}}
     2728  * Descripción:
     2729{{{
     2730
     2731}}}
     2732  * Lenguaje:TOL
     2733  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/xls/_init_xls.tol stdlib/tol/gui/xls/_init_xls.tol]
     2734
     2735 == Función '''StdLib::BLR2BLRC''' ==
     2736  * Declaración:
     2737{{{
     2738Set StdLib::BLR2BLRC(Set model, Set linSet)
     2739}}}
     2740  * Descripción:
     2741{{{
     2742Retorna un conjunto reultado de trasladar la informacion de
     2743limites que tiene el conjunto model de estructura BLRModelDef a una estructura
     2744de inecuaciones que se suma a la dada por B*beta <= b. Esta funcion se usa
     2745para utilizar la funcion BLRC en vez una BLR.
     2746}}}
     2747  * Lenguaje:TOL
     2748  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2749
     2750 == Función '''StdLib::BLRC_SMNP_FACT_ICHOL''' ==
     2751  * Declaración:
     2752{{{
     2753Set StdLib::BLRC_SMNP_FACT_ICHOL(Set sX, Set sY, Set sXY, Set sXX, Set sigma2Set, Set sigma2Num)
     2754}}}
     2755  * Descripción:
     2756{{{
     2757
     2758}}}
     2759  * Lenguaje:TOL
     2760  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blrc_kernel.tol stdlib/tol/math/stat/models/bayesian/linear/_blrc_kernel.tol]
     2761
     2762 == Función '''StdLib::BLRC_SMNP_FACT_ISVD''' ==
     2763  * Declaración:
     2764{{{
     2765Set StdLib::BLRC_SMNP_FACT_ISVD(Set sX, Set sY, Set sXY, Set sXX, Set sigma2Set, Set sigma2Num)
     2766}}}
     2767  * Descripción:
     2768{{{
     2769
     2770}}}
     2771  * Lenguaje:TOL
     2772  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blrc_kernel.tol stdlib/tol/math/stat/models/bayesian/linear/_blrc_kernel.tol]
     2773
     2774 == Función '''StdLib::BLRC_SMNP_FULL_SVD''' ==
     2775  * Declaración:
     2776{{{
     2777Set StdLib::BLRC_SMNP_FULL_SVD(Set sX, Set sY, Set sXY, Set sXX, Set sigma2Set, Set sigma2Num)
     2778}}}
     2779  * Descripción:
     2780{{{
     2781
     2782}}}
     2783  * Lenguaje:TOL
     2784  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blrc_kernel.tol stdlib/tol/math/stat/models/bayesian/linear/_blrc_kernel.tol]
     2785
     2786 == Función '''StdLib::BLRC_StandarizedRegression''' ==
     2787  * Declaración:
     2788{{{
     2789Set StdLib::BLRC_StandarizedRegression(Set sXX, Set sXY, Set sigma2Set)
     2790}}}
     2791  * Descripción:
     2792{{{
     2793
     2794}}}
     2795  * Lenguaje:TOL
     2796  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blrc_kernel.tol stdlib/tol/math/stat/models/bayesian/linear/_blrc_kernel.tol]
     2797
     2798 == Función '''StdLib::BLR_AddHierarchy''' ==
     2799  * Declaración:
     2800{{{
     2801Set StdLib::BLR_AddHierarchy(Set model, Set hierSet)
     2802}}}
     2803  * Descripción:
     2804{{{
     2805
     2806}}}
     2807  * Lenguaje:TOL
     2808  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2809
     2810 == Función '''StdLib::BLR_AddLinCon''' ==
     2811  * Declaración:
     2812{{{
     2813Set StdLib::BLR_AddLinCon(Set model, Set linConModel)
     2814}}}
     2815  * Descripción:
     2816{{{
     2817Anade una conexion lineal entre parametros,
     2818se puede especificar el tipo de transformacion sobre los parametros y la
     2819matriz de covarianzas del bloque.
     2820}}}
     2821  * Lenguaje:TOL
     2822  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2823
     2824 == Función '''StdLib::BLR_AddPrior''' ==
     2825  * Declaración:
     2826{{{
     2827Set StdLib::BLR_AddPrior(Set model)
     2828}}}
     2829  * Descripción:
     2830{{{
     2831Introduce la informacion a priori de los parametros como un
     2832caso particular de regresion lineal ampliada.
     2833}}}
     2834  * Lenguaje:TOL
     2835  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2836
     2837 == Función '''StdLib::BLR_ChangeY''' ==
     2838  * Declaración:
     2839{{{
     2840Set StdLib::BLR_ChangeY(Set index, Set ySet, Set model)
     2841}}}
     2842  * Descripción:
     2843{{{
     2844Retorna un conjunto con estructura BLRModelDef, resultado de
     2845modificar el conjunto SY con los valores del conjunto de matrices ySet en las
     2846posiciones index
     2847}}}
     2848  * Lenguaje:TOL
     2849  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/generalized_linear/_bprobit.tol stdlib/tol/math/stat/models/bayesian/generalized_linear/_bprobit.tol]
     2850
     2851 == Función '''StdLib::BLR_GetRoots''' ==
     2852  * Declaración:
     2853{{{
     2854Set StdLib::BLR_GetRoots(Set nodeInfo)
     2855}}}
     2856  * Descripción:
     2857{{{
     2858
     2859}}}
     2860  * Lenguaje:TOL
     2861  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2862
     2863 == Función '''StdLib::BLR_GetSheets''' ==
     2864  * Declaración:
     2865{{{
     2866Set StdLib::BLR_GetSheets(Text root, Set nodeInfo)
     2867}}}
     2868  * Descripción:
     2869{{{
     2870
     2871}}}
     2872  * Lenguaje:TOL
     2873  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2874
     2875 == Función '''StdLib::BLR_SMNP''' ==
     2876  * Declaración:
     2877{{{
     2878Set StdLib::BLR_SMNP(Set sX, Set sY, Set sXY, Set sXX, Set sigma2Set, Set sigma2Num)
     2879}}}
     2880  * Descripción:
     2881{{{
     2882
     2883}}}
     2884  * Lenguaje:TOL
     2885  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_kernel.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_kernel.tol]
     2886
     2887 == Función '''StdLib::BLR_UnionModelDef''' ==
     2888  * Declaración:
     2889{{{
     2890Set StdLib::BLR_UnionModelDef(Set model1, Set model2)
     2891}}}
     2892  * Descripción:
     2893{{{
     2894Retorna la union de dos definiciones de modelos. Los conjuntos
     2895 han de ser concatenables, es decir las matrices sparse definidas deben ser
     2896concatenables. Dos matrices sparse son concatenables el ultimo de sus bloques
     2897 se puede concatenar con el primero de los otros bloques.
     2898}}}
     2899  * Lenguaje:TOL
     2900  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_add.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_add.tol]
     2901
     2902 == Función '''StdLib::BProbit_Result''' ==
     2903  * Declaración:
     2904{{{
     2905Set StdLib::BProbit_Result(Matrix Y, Matrix X, Set inputDef, Set hierSet, Set linSet, Real calls, Real burning, Text fileSample)
     2906}}}
     2907  * Descripción:
     2908{{{
     2909
     2910}}}
     2911  * Lenguaje:TOL
     2912  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/generalized_linear/_bprobit.tol stdlib/tol/math/stat/models/bayesian/generalized_linear/_bprobit.tol]
     2913
     2914 == Función '''StdLib::BTSARIMAEstimateLikelyhood''' ==
     2915  * Declaración:
     2916{{{
     2917Set StdLib::BTSARIMAEstimateLikelyhood(Set modelResult)
     2918}}}
     2919  * Descripción:
     2920{{{
     2921
     2922}}}
     2923  * Lenguaje:TOL
     2924  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     2925
     2926 == Función '''StdLib::BTSARIMAGetResult''' ==
     2927  * Declaración:
     2928{{{
     2929Set StdLib::BTSARIMAGetResult(Set modelSet, Set modelBLR, Matrix mhResult)
     2930}}}
     2931  * Descripción:
     2932{{{
     2933
     2934}}}
     2935  * Lenguaje:TOL
     2936  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     2937
     2938 == Función '''StdLib::BTSGetBLRModelDef''' ==
     2939  * Declaración:
     2940{{{
     2941Set StdLib::BTSGetBLRModelDef(Set model)
     2942}}}
     2943  * Descripción:
     2944{{{
     2945
     2946}}}
     2947  * Lenguaje:TOL
     2948  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     2949
     2950 == Función '''StdLib::BTSGetBLRModelSet''' ==
     2951  * Declaración:
     2952{{{
     2953Set StdLib::BTSGetBLRModelSet(Set modelSet)
     2954}}}
     2955  * Descripción:
     2956{{{
     2957
     2958}}}
     2959  * Lenguaje:TOL
     2960  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     2961
     2962 == Función '''StdLib::BigMatrixTable''' ==
     2963  * Declaración:
     2964{{{
     2965Set StdLib::BigMatrixTable(Matrix M, Set xNames, Text name, Real min)
     2966}}}
     2967  * Descripción:
     2968{{{
     2969
     2970}}}
     2971  * Lenguaje:TOL
     2972  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_matrix.tol stdlib/tol/general/grammars/_matrix.tol]
     2973
     2974 == Función '''StdLib::BoxCoxMinLikelihood''' ==
     2975  * Declaración:
     2976{{{
     2977Set StdLib::BoxCoxMinLikelihood(Serie s, Set BCOptions)
     2978}}}
     2979  * Descripción:
     2980{{{
     2981
     2982}}}
     2983  * Lenguaje:TOL
     2984  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_transformation.tol stdlib/tol/math/stat/models/mle/arima/_fun_transformation.tol]
     2985
     2986 == Función '''StdLib::BysMcmc::Bsr::DynHlm::DBApi::Estim''' ==
     2987  * Declaración:
     2988{{{
     2989Set StdLib::BysMcmc::Bsr::DynHlm::DBApi::Estim(Text dbName, Text model, Text session, Text resultRootPath, NameBlock seriesHandler, NameBlock config_)
     2990}}}
     2991  * Descripción:
     2992{{{
     2993
     2994}}}
     2995  * Lenguaje:TOL
     2996  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.estim.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.estim.tol]
     2997
     2998 == Función '''StdLib::BysMcmc::Bsr::DynHlm::DBApi::GetLinearBlkEffects''' ==
     2999  * Declaración:
     3000{{{
     3001Set StdLib::BysMcmc::Bsr::DynHlm::DBApi::GetLinearBlkEffects(Set colNames_, Matrix param, NameBlock gibbs, NameBlock series.handler)
     3002}}}
     3003  * Descripción:
     3004{{{
     3005
     3006}}}
     3007  * Lenguaje:TOL
     3008  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.estim.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.estim.tol]
     3009
     3010 == Función '''StdLib::BysMcmc::Bsr::DynHlm::DBApi::SqlCachedTableFile''' ==
     3011  * Declaración:
     3012{{{
     3013Set StdLib::BysMcmc::Bsr::DynHlm::DBApi::SqlCachedTableFile(Text table)
     3014}}}
     3015  * Descripción:
     3016{{{
     3017
     3018}}}
     3019  * Lenguaje:TOL
     3020  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.tol]
     3021
     3022 == Función '''StdLib::BysMcmc::Bsr::DynHlm::DBApi::SqlTableTrace''' ==
     3023  * Declaración:
     3024{{{
     3025Set StdLib::BysMcmc::Bsr::DynHlm::DBApi::SqlTableTrace(Text query, Text structure)
     3026}}}
     3027  * Descripción:
     3028{{{
     3029
     3030}}}
     3031  * Lenguaje:TOL
     3032  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.tol]
     3033
     3034 == Función '''StdLib::BysMcmc::Bsr::Gibbs::Estim''' ==
     3035  * Declaración:
     3036{{{
     3037Set StdLib::BysMcmc::Bsr::Gibbs::Estim(Anything modelDef, NameBlock config)
     3038}}}
     3039  * Descripción:
     3040{{{
     3041Estimates a BSR model by Gibbs method
     3042Argument `modelDef` must be one of these things:
     3043  - A Text containing an ASCII file path prepared to be parsed by  function BSR.Parse
     3044 - A Set containing the result of calling function BSR.Parse
     3045 - A NameBlock with the minimum API accepted by standard importing method BysMcmc::Bsr::Import::Write
     3046
     3047}}}
     3048  * Lenguaje:TOL
     3049  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol]
     3050
     3051 == Función '''StdLib::BysMcmc::Bsr::Gibbs::EstimAndNotify''' ==
     3052  * Declaración:
     3053{{{
     3054Set StdLib::BysMcmc::Bsr::Gibbs::EstimAndNotify(Anything modelDef, NameBlock config, NameBlock notifier)
     3055}}}
     3056  * Descripción:
     3057{{{
     3058Estimates a BSR model by Gibbs method
     3059Argument `modelDef` must be one of these things:
     3060  - A Text containing an ASCII file path prepared to be parsed by  function BSR.Parse
     3061 - A Set containing the result of calling function BSR.Parse
     3062 - A NameBlock with the minimum API accepted by standard importing method BysMcmc::Bsr::Import::Write
     3063Argument `notifier` is an event tracing handler and must has at least these public methods:
     3064 Real parsing(Real numVar,Text path);
     3065 Real initializing(Real numVar,Text path);
     3066 Real simulating(Real numSim);
     3067 Real reporting(Real numVar,Text path);
     3068 Real evaluating(Real numVar,Text path);
     3069
     3070}}}
     3071  * Lenguaje:TOL
     3072  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol]
     3073
     3074 == Función '''StdLib::BysMcmc::Bsr::Gibbs::EstimAscii''' ==
     3075  * Declaración:
     3076{{{
     3077Set StdLib::BysMcmc::Bsr::Gibbs::EstimAscii(Text ascii_, Set nonLinFilter, NameBlock config, NameBlock notifier)
     3078}}}
     3079  * Descripción:
     3080{{{
     3081Estimates a BSR model by Gibbs method
     3082Argument `ascii` must be an ASCII file path prepared to be parsed by function BSR.Parse
     3083Argument `notifier` is an event tracing handler and must has at least these public methods:
     3084 Real parsing(Real numVar,Text path);
     3085 Real initializing(Real numVar,Text path);
     3086 Real simulating(Real numSim);
     3087 Real reporting(Real numVar,Text path);
     3088 Real evaluating(Real numVar,Text path);
     3089
     3090}}}
     3091  * Lenguaje:TOL
     3092  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol]
     3093
     3094 == Función '''StdLib::BysMcmc::Bsr::Gibbs::EstimParsed''' ==
     3095  * Declaración:
     3096{{{
     3097Set StdLib::BysMcmc::Bsr::Gibbs::EstimParsed(Set parsed, Set nonLinFilter, NameBlock config_, NameBlock notifier)
     3098}}}
     3099  * Descripción:
     3100{{{
     3101Estimates a BSR model by Gibbs method
     3102Argument `parsed` must be defined as the result of calling function BSR.Parse
     3103Argument `notifier` is an event tracing handler and must has at least these public methods:
     3104 Real initializing(Real numVar,Text path) { ... };
     3105 Real simulating(Real numSim, Real timeAvg) { ... };
     3106 Real reporting(Real unused) { ... };
     3107 Real evaluating(Real unused) { ... };
     3108
     3109}}}
     3110  * Lenguaje:TOL
     3111  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol]
     3112
     3113 == Función '''StdLib::BysMcmc::Bsr::OneNode::BuildModelDef''' ==
     3114  * Declaración:
     3115{{{
     3116Set StdLib::BysMcmc::Bsr::OneNode::BuildModelDef(NameBlock data, NameBlock config_)
     3117}}}
     3118  * Descripción:
     3119{{{
     3120Creates a BSR model definition with structure of BSR.ModelDef
     3121Model must have just one node, usually observational and dense.Model is defined as a BSR basic and an optional set of non linear filters.BSR will be built from simplified data argument matching this APINameBlock data =
     3122[[
     3123//Mandatory members
     3124  Set  _.docInfo         //BSR.DocInfo
     3125  Text _.segmentName;    //Node name
     3126  Set _.linearParamInfo; //Set of Bsr.OneNode.LinearParamInfo
     3127  Anything _.Y;          //Output data (Matrix or VMatrix)
     3128  Anything _.X;          //Input data (Matrix or VMatrix)
     3129  Real _.sigma;          //Sigma prior value, or ? to freely simulate it
     3130//Optional members
     3131  Set _.orderRelation;   //Set of Bsr.OrderRelation.Info
     3132  Set _.arima;           //Set of ARIMAStruct
     3133  Real _.sigmaPriorWeight;  //Weight for Bsr.Sigma.Prior.InverseGamma
     3134  Set _.timeInfo;        //BSR.NoiseTimeInfo
     3135]];
     3136
     3137}}}
     3138  * Lenguaje:TOL
     3139  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol]
     3140
     3141 == Función '''StdLib::BysMcmc::Bsr::OneNode::Estim''' ==
     3142  * Declaración:
     3143{{{
     3144Set StdLib::BysMcmc::Bsr::OneNode::Estim(NameBlock data, Set nonLinFil, NameBlock config_)
     3145}}}
     3146  * Descripción:
     3147{{{
     3148Estimates a model with just one node, usually observational and dense.Model is defined as a BSR basic and an optional set of non linear filters.BSR will be built from simplified data argument matching this APINameBlock data =
     3149[[
     3150//Mandatory members
     3151  Set  _.docInfo         //BSR.DocInfo
     3152  Text _.segmentName;    //Node name
     3153  Set _.linearParamInfo; //Set of Bsr.OneNode.LinearParamInfo
     3154  Anything _.Y;          //Output data (Matrix or VMatrix)
     3155  Anything _.X;          //Input data  (Matrix or VMatrix)
     3156  Real _.sigma;          //Sigma prior value, or ? to freely simulate it
     3157//Optional members
     3158  Set _.orderRelation;   //Set of Bsr.OrderRelation.Info
     3159  Set _.arima;           //Set of ARIMAStruct
     3160  Real _.sigmaPriorWeight;  //Weight for Bsr.Sigma.Prior.InverseGamma
     3161  Set _.timeInfo;        //BSR.NoiseTimeInfo
     3162]];
     3163
     3164}}}
     3165  * Lenguaje:TOL
     3166  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol]
     3167
     3168 == Función '''StdLib::BysMcmc::Bsr::OneNode::LPI''' ==
     3169  * Declaración:
     3170{{{
     3171Set StdLib::BysMcmc::Bsr::OneNode::LPI(Text Name, Real InitValue, Real Prior.LowerBound, Real Prior.UpperBound, Real Prior.Average, Real Prior.Sigma, Real Prior.SigmaWeight)
     3172}}}
     3173  * Descripción:
     3174{{{
     3175
     3176}}}
     3177  * Lenguaje:TOL
     3178  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol]
     3179
     3180 == Función '''StdLib::BysMcmc::Inference::compare.reports''' ==
     3181  * Declaración:
     3182{{{
     3183Set StdLib::BysMcmc::Inference::compare.reports(Set rep1, Set rep2)
     3184}}}
     3185  * Descripción:
     3186{{{
     3187
     3188}}}
     3189  * Lenguaje:TOL
     3190  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3191
     3192 == Función '''StdLib::BysMcmc::Inference::get.acf''' ==
     3193  * Declaración:
     3194{{{
     3195Set StdLib::BysMcmc::Inference::get.acf(Text name, Set colNames, Set repCfg, Set sample)
     3196}}}
     3197  * Descripción:
     3198{{{
     3199
     3200}}}
     3201  * Lenguaje:TOL
     3202  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3203
     3204 == Función '''StdLib::BysMcmc::Inference::get.coda.raftery.diag''' ==
     3205  * Declaración:
     3206{{{
     3207Set StdLib::BysMcmc::Inference::get.coda.raftery.diag(Text name, Set colNames, Set repCfg, Matrix mcmc)
     3208}}}
     3209  * Descripción:
     3210{{{
     3211
     3212}}}
     3213  * Lenguaje:TOL
     3214  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3215
     3216 == Función '''StdLib::BysMcmc::Inference::get.coda.summary''' ==
     3217  * Declaración:
     3218{{{
     3219Set StdLib::BysMcmc::Inference::get.coda.summary(Text name, Set colNames, Set repCfg, Matrix mcmc)
     3220}}}
     3221  * Descripción:
     3222{{{
     3223
     3224}}}
     3225  * Lenguaje:TOL
     3226  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3227
     3228 == Función '''StdLib::BysMcmc::Inference::get.histogram''' ==
     3229  * Declaración:
     3230{{{
     3231Set StdLib::BysMcmc::Inference::get.histogram(Text name, Set colNames, Set repCfg, Set sample)
     3232}}}
     3233  * Descripción:
     3234{{{
     3235
     3236}}}
     3237  * Lenguaje:TOL
     3238  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3239
     3240 == Función '''StdLib::BysMcmc::Inference::get.kerDens''' ==
     3241  * Declaración:
     3242{{{
     3243Set StdLib::BysMcmc::Inference::get.kerDens(Text name, Set colNames, Set repCfg, Set sample)
     3244}}}
     3245  * Descripción:
     3246{{{
     3247
     3248}}}
     3249  * Lenguaje:TOL
     3250  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3251
     3252 == Función '''StdLib::BysMcmc::Inference::get.param.signif''' ==
     3253  * Declaración:
     3254{{{
     3255Set StdLib::BysMcmc::Inference::get.param.signif(Text name, Set colNames, Set repCfg, Set sample)
     3256}}}
     3257  * Descripción:
     3258{{{
     3259
     3260}}}
     3261  * Lenguaje:TOL
     3262  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3263
     3264 == Función '''StdLib::BysMcmc::Inference::get.sample''' ==
     3265  * Declaración:
     3266{{{
     3267Set StdLib::BysMcmc::Inference::get.sample(Text name, Set colNames, Set repCfg, Matrix mcmc)
     3268}}}
     3269  * Descripción:
     3270{{{
     3271
     3272}}}
     3273  * Lenguaje:TOL
     3274  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3275
     3276 == Función '''StdLib::BysMcmc::Inference::loadAndReport''' ==
     3277  * Declaración:
     3278{{{
     3279Set StdLib::BysMcmc::Inference::loadAndReport(Text path, Real burnin, Real length_, Real thinning, Text name, Set colNames_, Set repCfg)
     3280}}}
     3281  * Descripción:
     3282{{{
     3283
     3284}}}
     3285  * Lenguaje:TOL
     3286  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3287
     3288 == Función '''StdLib::BysMcmc::Inference::report''' ==
     3289  * Declaración:
     3290{{{
     3291Set StdLib::BysMcmc::Inference::report(Text name_, Set colNames_, Set repCfg_, Matrix mcmc_)
     3292}}}
     3293  * Descripción:
     3294{{{
     3295
     3296}}}
     3297  * Lenguaje:TOL
     3298  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_inference_functions.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_inference_functions.tol]
     3299
     3300 == Función '''StdLib::BysMcmc::RecoveAndReport''' ==
     3301  * Declaración:
     3302{{{
     3303Set StdLib::BysMcmc::RecoveAndReport(Text rootPath, Text id_model, Text id_session, Real burnin, Real length, Real thinning)
     3304}}}
     3305  * Descripción:
     3306{{{
     3307
     3308}}}
     3309  * Lenguaje:TOL
     3310  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/bysMcmc/_build.tol stdlib/tol/math/stat/models/bayesian/bysMcmc/_build.tol]
     3311
     3312 == Función '''StdLib::CMsg::Log::end''' ==
     3313  * Declaración:
     3314{{{
     3315Set StdLib::CMsg::Log::end(Real saveHistory)
     3316}}}
     3317  * Descripción:
     3318{{{
     3319
     3320}}}
     3321  * Lenguaje:TOL
     3322  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/cmsg/_log.tol stdlib/tol/general/system/cmsg/_log.tol]
     3323
     3324 == Función '''StdLib::CalcForecasting''' ==
     3325  * Declaración:
     3326{{{
     3327Set StdLib::CalcForecasting(Set modelo, Date pasado, Date origen, Real numPrev, Real alfa)
     3328}}}
     3329  * Descripción:
     3330{{{
     3331
     3332}}}
     3333  * Lenguaje:TOL
     3334  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_forecasting.tol stdlib/tol/math/stat/models/mle/arima/_fun_forecasting.tol]
     3335
     3336 == Función '''StdLib::CalcReportStats''' ==
     3337  * Declaración:
     3338{{{
     3339Set StdLib::CalcReportStats(Text title, Set tests)
     3340}}}
     3341  * Descripción:
     3342{{{
     3343
     3344}}}
     3345  * Lenguaje:TOL
     3346  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     3347
     3348 == Función '''StdLib::CalcStationarityModelProb''' ==
     3349  * Declaración:
     3350{{{
     3351Set StdLib::CalcStationarityModelProb(Set param, Matrix paramCov, Set arima, Real numSim)
     3352}}}
     3353  * Descripción:
     3354{{{
     3355
     3356}}}
     3357  * Lenguaje:TOL
     3358  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3359
     3360 == Función '''StdLib::CallSystemTest''' ==
     3361  * Declaración:
     3362{{{
     3363Set StdLib::CallSystemTest(Date beginTime, Text baseDir, Text parameters, Real iter, Real maxIter)
     3364}}}
     3365  * Descripción:
     3366{{{
     3367
     3368}}}
     3369  * Lenguaje:TOL
     3370  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     3371
     3372 == Función '''StdLib::CartProdSet''' ==
     3373  * Declaración:
     3374{{{
     3375Set StdLib::CartProdSet(Set s)
     3376}}}
     3377  * Descripción:
     3378{{{
     3379Construye el producto cartesiano de un conjunto de conjuntos
     3380}}}
     3381  * Lenguaje:TOL
     3382  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3383
     3384 == Función '''StdLib::Combination''' ==
     3385  * Declaración:
     3386{{{
     3387Set StdLib::Combination(Set s, Real n)
     3388}}}
     3389  * Descripción:
     3390{{{
     3391Genera todas las combinaciones de tamaño n con los elementos
     3392del conjunto s. Si Card(s)<n o n<=0, devuelve vacío.
     3393}}}
     3394  * Lenguaje:TOL
     3395  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3396
     3397 == Función '''StdLib::ContingencyTable''' ==
     3398  * Declaración:
     3399{{{
     3400Set StdLib::ContingencyTable(Matrix Y, Matrix YEst, Real k)
     3401}}}
     3402  * Descripción:
     3403{{{
     3404Retorna las tablas de contingencia de precisión y completitud,
     3405 el número de casos de cada tipo y el vector de aciertos según un punto de
     3406corte.
     3407}}}
     3408  * Lenguaje:TOL
     3409  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/descriptive_stats/_init_descriptive_stats.tol stdlib/tol/math/stat/descriptive_stats/_init_descriptive_stats.tol]
     3410
     3411 == Función '''StdLib::CoorTriplet''' ==
     3412  * Declaración:
     3413{{{
     3414Set StdLib::CoorTriplet(Set dims, Real row, Real col)
     3415}}}
     3416  * Descripción:
     3417{{{
     3418
     3419}}}
     3420  * Lenguaje:TOL
     3421  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_functions.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_functions.tol]
     3422
     3423 == Función '''StdLib::CreateAllParameterAPriori''' ==
     3424  * Declaración:
     3425{{{
     3426Set StdLib::CreateAllParameterAPriori(Set ModelDefinition, Set FixedAPriori)
     3427}}}
     3428  * Descripción:
     3429{{{
     3430
     3431}}}
     3432  * Lenguaje:TOL
     3433  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3434
     3435 == Función '''StdLib::CreateInput''' ==
     3436  * Declaración:
     3437{{{
     3438Set StdLib::CreateInput(Text name, Text expression, Polyn omega, Polyn delta, Date initDate, Date lastDate)
     3439}}}
     3440  * Descripción:
     3441{{{
     3442
     3443}}}
     3444  * Lenguaje:TOL
     3445  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3446
     3447 == Función '''StdLib::CreateParameterAPrioriInf''' ==
     3448  * Declaración:
     3449{{{
     3450Set StdLib::CreateParameterAPrioriInf(Text name, Polyn p)
     3451}}}
     3452  * Descripción:
     3453{{{
     3454
     3455}}}
     3456  * Lenguaje:TOL
     3457  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3458
     3459 == Función '''StdLib::DatChSet''' ==
     3460  * Declaración:
     3461{{{
     3462Set StdLib::DatChSet(Set setOfSerie, TimeSet dating, Code stat)
     3463}}}
     3464  * Descripción:
     3465{{{
     3466Aplica el cambio de fechado dado a un conjunto de series y
     3467las renombra con el nuevo fechado y el estadístico
     3468}}}
     3469  * Lenguaje:TOL
     3470  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_serie.tol stdlib/tol/general/grammars/_serie.tol]
     3471
     3472 == Función '''StdLib::DatChSetCommonTmsNotOmit''' ==
     3473  * Declaración:
     3474{{{
     3475Set StdLib::DatChSetCommonTmsNotOmit(Set sSer, Code fun)
     3476}}}
     3477  * Descripción:
     3478{{{
     3479Aplica a un conjunto de series el cambio de fechado al
     3480fechado comun en el que las series no tienen omitidos, y las renombra con el
     3481nuevo fechado y el estadístico
     3482}}}
     3483  * Lenguaje:TOL
     3484  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_serie.tol stdlib/tol/general/grammars/_serie.tol]
     3485
     3486 == Función '''StdLib::DateIndexTimeSet''' ==
     3487  * Declaración:
     3488{{{
     3489Set StdLib::DateIndexTimeSet(TimeSet ctInd, Date ini, Date fin)
     3490}}}
     3491  * Descripción:
     3492{{{
     3493
     3494Devuelve las fechas indicadoras de inicio y fin de un TimeSet entre dos
     3495fechas.
     3496}}}
     3497  * Lenguaje:TOL
     3498  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3499
     3500 == Función '''StdLib::DatesInd''' ==
     3501  * Declaración:
     3502{{{
     3503Set StdLib::DatesInd(Serie ind)
     3504}}}
     3505  * Descripción:
     3506{{{
     3507
     3508}}}
     3509  * Lenguaje:TOL
     3510  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3511
     3512 == Función '''StdLib::DatesNotEqual''' ==
     3513  * Declaración:
     3514{{{
     3515Set StdLib::DatesNotEqual(Serie ser, Real num, TimeSet fdo)
     3516}}}
     3517  * Descripción:
     3518{{{
     3519
     3520}}}
     3521  * Lenguaje:TOL
     3522  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3523
     3524 == Función '''StdLib::Diagnostics::BinaryModel::CutValRng''' ==
     3525  * Declaración:
     3526{{{
     3527Set StdLib::Diagnostics::BinaryModel::CutValRng(Matrix Yp, Real iniTol)
     3528}}}
     3529  * Descripción:
     3530{{{
     3531Calculates a reasonable range of cutting values for a given probability vector Yp to be passed to method Diagnostics::BinaryModel::SuccessTableParameter iniTol gives initial tolerance of quantiles of Yp.Afterwords, just different quantiles will be taken as cutting values in order to get a set of evaluations along a complete and balanced cutting values.
     3532}}}
     3533  * Lenguaje:TOL
     3534  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/diagnostics/_binaryModel.tol stdlib/tol/math/stat/diagnostics/_binaryModel.tol]
     3535
     3536 == Función '''StdLib::Diagnostics::BinaryModel::SuccessTable''' ==
     3537  * Declaración:
     3538{{{
     3539Set StdLib::Diagnostics::BinaryModel::SuccessTable(Set cutRange, Matrix Y, Matrix Yp)
     3540}}}
     3541  * Descripción:
     3542{{{
     3543Evaluates quality of a binary model for a set of cutting values.For each one is estimated a vector of decisions giving True when model probablity is great than or equal to cutting value.This function is usefull when no cost function is avalaible for decision making. Decisor can use it to select its preferred environments from a set of various options directly. When you have a large list of hand-made selections you can fit parameters of a reasonible cost function family.
     3544}}}
     3545  * Lenguaje:TOL
     3546  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/diagnostics/_binaryModel.tol stdlib/tol/math/stat/diagnostics/_binaryModel.tol]
     3547
     3548 == Función '''StdLib::DimMat''' ==
     3549  * Declaración:
     3550{{{
     3551Set StdLib::DimMat(Matrix mat)
     3552}}}
     3553  * Descripción:
     3554{{{
     3555Set DimMat (Matrix mat):
     3556Devuelve el conjunto formado por las filas y las columnas de la matriz <mat>.
     3557}}}
     3558  * Lenguaje:TOL
     3559  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3560
     3561 == Función '''StdLib::DoTest''' ==
     3562  * Declaración:
     3563{{{
     3564Set StdLib::DoTest(Date beginTime, Text baseDir, Text parameters, Real iter, Real maxIter)
     3565}}}
     3566  * Descripción:
     3567{{{
     3568
     3569}}}
     3570  * Lenguaje:TOL
     3571  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     3572
     3573 == Función '''StdLib::EstimateBTSARIMA''' ==
     3574  * Declaración:
     3575{{{
     3576Set StdLib::EstimateBTSARIMA(Set modelSet, Set hierSet, Real calls, Real burning, Text fileSample)
     3577}}}
     3578  * Descripción:
     3579{{{
     3580
     3581}}}
     3582  * Lenguaje:TOL
     3583  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3584
     3585 == Función '''StdLib::EstimateBTSARIMAC''' ==
     3586  * Declaración:
     3587{{{
     3588Set StdLib::EstimateBTSARIMAC(Set modelSet, Set hierSet, Set linConSet, Set constSet, Real calls, Real burning, Text fileSample)
     3589}}}
     3590  * Descripción:
     3591{{{
     3592
     3593}}}
     3594  * Lenguaje:TOL
     3595  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3596
     3597 == Función '''StdLib::EstimateBTSARIMACRec''' ==
     3598  * Declaración:
     3599{{{
     3600Set StdLib::EstimateBTSARIMACRec(Set modelSet, Set hierSet, Set linConSet, Set constSet, Set callSet, Real burning, Text fileSample, Real callRec)
     3601}}}
     3602  * Descripción:
     3603{{{
     3604
     3605}}}
     3606  * Lenguaje:TOL
     3607  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3608
     3609 == Función '''StdLib::EstimateBTSARIMAC_Redux''' ==
     3610  * Declaración:
     3611{{{
     3612Set StdLib::EstimateBTSARIMAC_Redux(Set modelSet, Set hierSet, Set linConSet, Set constSet, Real calls, Real burning, Text fileSample)
     3613}}}
     3614  * Descripción:
     3615{{{
     3616
     3617}}}
     3618  * Lenguaje:TOL
     3619  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3620
     3621 == Función '''StdLib::EstimateBTSARIMAConLin''' ==
     3622  * Declaración:
     3623{{{
     3624Set StdLib::EstimateBTSARIMAConLin(Set modelSet, Set hierSet, Set linConSet, Real calls, Real burning, Text fileSample)
     3625}}}
     3626  * Descripción:
     3627{{{
     3628
     3629}}}
     3630  * Lenguaje:TOL
     3631  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3632
     3633 == Función '''StdLib::EstimateBTSARIMARec''' ==
     3634  * Declaración:
     3635{{{
     3636Set StdLib::EstimateBTSARIMARec(Set modelSet, Set hierSet, Set callSet, Real burning, Text fileSample, Real callRec)
     3637}}}
     3638  * Descripción:
     3639{{{
     3640
     3641}}}
     3642  * Lenguaje:TOL
     3643  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3644
     3645 == Función '''StdLib::EvalARIMA''' ==
     3646  * Declaración:
     3647{{{
     3648Set StdLib::EvalARIMA(Set ARIMA, Serie Noise)
     3649}}}
     3650  * Descripción:
     3651{{{
     3652
     3653}}}
     3654  * Lenguaje:TOL
     3655  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     3656
     3657 == Función '''StdLib::EvalText''' ==
     3658  * Declaración:
     3659{{{
     3660Set StdLib::EvalText(Set set, Code code)
     3661}}}
     3662  * Descripción:
     3663{{{
     3664
     3665}}}
     3666  * Lenguaje:TOL
     3667  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3668
     3669 == Función '''StdLib::EvaluateModel''' ==
     3670  * Declaración:
     3671{{{
     3672Set StdLib::EvaluateModel(Set X)
     3673}}}
     3674  * Descripción:
     3675{{{
     3676
     3677}}}
     3678  * Lenguaje:TOL
     3679  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3680
     3681 == Función '''StdLib::ExpandSetSer''' ==
     3682  * Declaración:
     3683{{{
     3684Set StdLib::ExpandSetSer(Set setSer)
     3685}}}
     3686  * Descripción:
     3687{{{
     3688Set ExpandSetSer(Set setSer):
     3689Retorna el conjunto de series ajustadas al mayor de los finales y al menor
     3690de los inicios del conjunto de series <setSer>.
     3691}}}
     3692  * Lenguaje:TOL
     3693  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3694
     3695 == Función '''StdLib::ExtractField''' ==
     3696  * Declaración:
     3697{{{
     3698Set StdLib::ExtractField(Set set, Text field)
     3699}}}
     3700  * Descripción:
     3701{{{
     3702Retorna los elementos del campo argumento del conjunto set.
     3703}}}
     3704  * Lenguaje:TOL
     3705  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3706
     3707 == Función '''StdLib::ExtractRowsAbsGE''' ==
     3708  * Declaración:
     3709{{{
     3710Set StdLib::ExtractRowsAbsGE(Matrix M, Real min)
     3711}}}
     3712  * Descripción:
     3713{{{
     3714
     3715}}}
     3716  * Lenguaje:TOL
     3717  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_matrix.tol stdlib/tol/general/grammars/_matrix.tol]
     3718
     3719 == Función '''StdLib::ExtractSetField''' ==
     3720  * Declaración:
     3721{{{
     3722Set StdLib::ExtractSetField(Set set, Set setField)
     3723}}}
     3724  * Descripción:
     3725{{{
     3726Retorna los elementos de los campos argumento especificados en setField del
     3727conjunto set.
     3728}}}
     3729  * Lenguaje:TOL
     3730  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3731
     3732 == Función '''StdLib::FactPolyn''' ==
     3733  * Declaración:
     3734{{{
     3735Set StdLib::FactPolyn(Polyn pol, Real tolerance)
     3736}}}
     3737  * Descripción:
     3738{{{
     3739
     3740}}}
     3741  * Lenguaje:TOL
     3742  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_factpolyn.tol stdlib/tol/math/optim/_factpolyn.tol]
     3743
     3744 == Función '''StdLib::FactorizePolyn''' ==
     3745  * Declaración:
     3746{{{
     3747Set StdLib::FactorizePolyn(Polyn pol, Real tolerance)
     3748}}}
     3749  * Descripción:
     3750{{{
     3751
     3752}}}
     3753  * Lenguaje:TOL
     3754  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_factpolyn.tol stdlib/tol/math/optim/_factpolyn.tol]
     3755
     3756 == Función '''StdLib::ForCluster''' ==
     3757  * Declaración:
     3758{{{
     3759Set StdLib::ForCluster(Set set, Real num)
     3760}}}
     3761  * Descripción:
     3762{{{
     3763Clusterizacion del conjunto set por num. El conjunto resultante tiene a lo
     3764sumo num subconjuntos.
     3765}}}
     3766  * Lenguaje:TOL
     3767  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3768
     3769 == Función '''StdLib::FullPermutations''' ==
     3770  * Declaración:
     3771{{{
     3772Set StdLib::FullPermutations(Set Objects)
     3773}}}
     3774  * Descripción:
     3775{{{
     3776Genera todas las permutaciones para un conjunto de objetos, y
     3777retorna dichas permutaciones en un conjunto en que cada elemento es una
     3778permutación. Esta función es recursiva y puede causar stack overflow en
     3779conjuntos muy grandes. Debe usarse siempre bajo esta consideración.
     3780
     3781}}}
     3782  * Lenguaje:TOL
     3783  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3784
     3785 == Función '''StdLib::GenerateDifference''' ==
     3786  * Declaración:
     3787{{{
     3788Set StdLib::GenerateDifference(Set adr)
     3789}}}
     3790  * Descripción:
     3791{{{
     3792
     3793}}}
     3794  * Lenguaje:TOL
     3795  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3796
     3797 == Función '''StdLib::GenerateDifferenceSet''' ==
     3798  * Declaración:
     3799{{{
     3800Set StdLib::GenerateDifferenceSet(Set statTable)
     3801}}}
     3802  * Descripción:
     3803{{{
     3804
     3805}}}
     3806  * Lenguaje:TOL
     3807  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3808
     3809 == Función '''StdLib::GetARIMADegreeStruct''' ==
     3810  * Declaración:
     3811{{{
     3812Set StdLib::GetARIMADegreeStruct(Set arima)
     3813}}}
     3814  * Descripción:
     3815{{{
     3816
     3817}}}
     3818  * Lenguaje:TOL
     3819  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3820
     3821 == Función '''StdLib::GetARIMADegreeTable''' ==
     3822  * Declaración:
     3823{{{
     3824Set StdLib::GetARIMADegreeTable(Set arimaTable)
     3825}}}
     3826  * Descripción:
     3827{{{
     3828
     3829}}}
     3830  * Lenguaje:TOL
     3831  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3832
     3833 == Función '''StdLib::GetARMADegree''' ==
     3834  * Declaración:
     3835{{{
     3836Set StdLib::GetARMADegree(Set arimaDeg)
     3837}}}
     3838  * Descripción:
     3839{{{
     3840
     3841}}}
     3842  * Lenguaje:TOL
     3843  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3844
     3845 == Función '''StdLib::GetARMADegreeRange''' ==
     3846  * Declaración:
     3847{{{
     3848Set StdLib::GetARMADegreeRange(Set arimaDegRange)
     3849}}}
     3850  * Descripción:
     3851{{{
     3852
     3853}}}
     3854  * Lenguaje:TOL
     3855  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3856
     3857 == Función '''StdLib::GetARMADegreeRangeTable''' ==
     3858  * Declaración:
     3859{{{
     3860Set StdLib::GetARMADegreeRangeTable(Set arimaDegRangeTable)
     3861}}}
     3862  * Descripción:
     3863{{{
     3864
     3865}}}
     3866  * Lenguaje:TOL
     3867  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3868
     3869 == Función '''StdLib::GetARMADegreeTable''' ==
     3870  * Declaración:
     3871{{{
     3872Set StdLib::GetARMADegreeTable(Set arimaDegTable)
     3873}}}
     3874  * Descripción:
     3875{{{
     3876
     3877}}}
     3878  * Lenguaje:TOL
     3879  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3880
     3881 == Función '''StdLib::GetARMAStruct''' ==
     3882  * Declaración:
     3883{{{
     3884Set StdLib::GetARMAStruct(Set arima)
     3885}}}
     3886  * Descripción:
     3887{{{
     3888
     3889}}}
     3890  * Lenguaje:TOL
     3891  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3892
     3893 == Función '''StdLib::GetARMATable''' ==
     3894  * Declaración:
     3895{{{
     3896Set StdLib::GetARMATable(Set arimaTable)
     3897}}}
     3898  * Descripción:
     3899{{{
     3900
     3901}}}
     3902  * Lenguaje:TOL
     3903  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3904
     3905 == Función '''StdLib::GetArimaFromLabel''' ==
     3906  * Declaración:
     3907{{{
     3908Set StdLib::GetArimaFromLabel(Text label)
     3909}}}
     3910  * Descripción:
     3911{{{
     3912A partir de un conjunto tabular con estructura ARIMAStruct retorna una mascara de texto con el formato de etiqueta utilizado en la función GetArimaFromLabel.
     3913Por el momento no se usará nunca el abreviador <..> pues no está nada clara cuál es la sintaxis del mismo cuando la estacionalidad no es 1. Esta notación puede ser útil cuando se forma la etiqueta a mano pero aquí es indiferente.
     3914}}}
     3915  * Lenguaje:TOL
     3916  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     3917
     3918 == Función '''StdLib::GetBlockLimits''' ==
     3919  * Declaración:
     3920{{{
     3921Set StdLib::GetBlockLimits(Set s)
     3922}}}
     3923  * Descripción:
     3924{{{
     3925
     3926}}}
     3927  * Lenguaje:TOL
     3928  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_functions.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_functions.tol]
     3929
     3930 == Función '''StdLib::GetBoxCoxEC''' ==
     3931  * Declaración:
     3932{{{
     3933Set StdLib::GetBoxCoxEC(Real exponent, Real constant)
     3934}}}
     3935  * Descripción:
     3936{{{
     3937
     3938}}}
     3939  * Lenguaje:TOL
     3940  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_transformation.tol stdlib/tol/math/stat/models/mle/arima/_fun_transformation.tol]
     3941
     3942 == Función '''StdLib::GetBoxCoxTrans''' ==
     3943  * Declaración:
     3944{{{
     3945Set StdLib::GetBoxCoxTrans(Set boxcox)
     3946}}}
     3947  * Descripción:
     3948{{{
     3949
     3950}}}
     3951  * Lenguaje:TOL
     3952  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_transformation.tol stdlib/tol/math/stat/models/mle/arima/_fun_transformation.tol]
     3953
     3954 == Función '''StdLib::GetCoefNotNull''' ==
     3955  * Declaración:
     3956{{{
     3957Set StdLib::GetCoefNotNull(Polyn pol)
     3958}}}
     3959  * Descripción:
     3960{{{
     3961
     3962}}}
     3963  * Lenguaje:TOL
     3964  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_functions.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_functions.tol]
     3965
     3966 == Función '''StdLib::GetLagSeries''' ==
     3967  * Declaración:
     3968{{{
     3969Set StdLib::GetLagSeries(Serie ser, Polyn pol)
     3970}}}
     3971  * Descripción:
     3972{{{
     3973
     3974}}}
     3975  * Lenguaje:TOL
     3976  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/arima/_bmtsarima.tol stdlib/tol/math/stat/models/bayesian/arima/_bmtsarima.tol]
     3977
     3978 == Función '''StdLib::GetPolynDegrees''' ==
     3979  * Declaración:
     3980{{{
     3981Set StdLib::GetPolynDegrees(Polyn pol)
     3982}}}
     3983  * Descripción:
     3984{{{
     3985Retorna el conjunto de los grados de un polinomio de los monomios no
     3986   nulos.
     3987}}}
     3988  * Lenguaje:TOL
     3989  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     3990
     3991 == Función '''StdLib::GetPolynRoots''' ==
     3992  * Declaración:
     3993{{{
     3994Set StdLib::GetPolynRoots(Polyn pol, Real tolerance)
     3995}}}
     3996  * Descripción:
     3997{{{
     3998
     3999}}}
     4000  * Lenguaje:TOL
     4001  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_factpolyn.tol stdlib/tol/math/optim/_factpolyn.tol]
     4002
     4003 == Función '''StdLib::GroupFactARIMA''' ==
     4004  * Declaración:
     4005{{{
     4006Set StdLib::GroupFactARIMA(Set arimaTable)
     4007}}}
     4008  * Descripción:
     4009{{{
     4010
     4011}}}
     4012  * Lenguaje:TOL
     4013  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     4014
     4015 == Función '''StdLib::GuiConcatSetCol''' ==
     4016  * Declaración:
     4017{{{
     4018Set StdLib::GuiConcatSetCol(Set s)
     4019}}}
     4020  * Descripción:
     4021{{{
     4022Concatena los conjuntos seleccionados por columnas
     4023}}}
     4024  * Lenguaje:TOL
     4025  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4026
     4027 == Función '''StdLib::GuiConcatSetRow''' ==
     4028  * Declaración:
     4029{{{
     4030Set StdLib::GuiConcatSetRow(Set s)
     4031}}}
     4032  * Descripción:
     4033{{{
     4034Concatena los conjuntos seleccionados por filas
     4035}}}
     4036  * Lenguaje:TOL
     4037  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4038
     4039 == Función '''StdLib::GuiSerToBDT''' ==
     4040  * Declaración:
     4041{{{
     4042Set StdLib::GuiSerToBDT(Set setSer, Text dir, Text file)
     4043}}}
     4044  * Descripción:
     4045{{{
     4046
     4047}}}
     4048  * Lenguaje:TOL
     4049  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/tcl/_guifunction.tol stdlib/tol/gui/tcl/_guifunction.tol]
     4050
     4051 == Función '''StdLib::IncludeBDTChName''' ==
     4052  * Declaración:
     4053{{{
     4054Set StdLib::IncludeBDTChName(Text path, Text suf)
     4055}}}
     4056  * Descripción:
     4057{{{
     4058
     4059}}}
     4060  * Lenguaje:TOL
     4061  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4062
     4063 == Función '''StdLib::IncludeBDTChNameIf''' ==
     4064  * Declaración:
     4065{{{
     4066Set StdLib::IncludeBDTChNameIf(Text path, Text suf)
     4067}}}
     4068  * Descripción:
     4069{{{
     4070
     4071}}}
     4072  * Lenguaje:TOL
     4073  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4074
     4075 == Función '''StdLib::IncludeBlind''' ==
     4076  * Declaración:
     4077{{{
     4078Set StdLib::IncludeBlind(Text path)
     4079}}}
     4080  * Descripción:
     4081{{{
     4082
     4083}}}
     4084  * Lenguaje:TOL
     4085  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4086
     4087 == Función '''StdLib::IncludeIf''' ==
     4088  * Declaración:
     4089{{{
     4090Set StdLib::IncludeIf(Text path)
     4091}}}
     4092  * Descripción:
     4093{{{
     4094Incluye un fichero si existe y no es vacio.
     4095}}}
     4096  * Lenguaje:TOL
     4097  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4098
     4099 == Función '''StdLib::IncludeLocalTol''' ==
     4100  * Declaración:
     4101{{{
     4102Set StdLib::IncludeLocalTol(Text fileName)
     4103}}}
     4104  * Descripción:
     4105{{{
     4106Incluye un fichero tol de forma local sin que sus elementos sean visibles desde el ámbito de la llamada.
     4107}}}
     4108  * Lenguaje:TOL
     4109  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4110
     4111 == Función '''StdLib::InnerJoin''' ==
     4112  * Declaración:
     4113{{{
     4114Set StdLib::InnerJoin(Set tabla01, Set tabla02, Anything paramOmit)
     4115}}}
     4116  * Descripción:
     4117{{{
     4118Concatena dos columnas de dos conjuntos-tabla con una columna
     4119índice común (no necesariamente ambos conjuntos deben tener el mismo número
     4120de registros), rellenando con el valor paramOmit que le pasamos como parámetro
     4121los omitidos de cada conjunto en alguno de los registros del conjunto resultante.
     4122
     4123}}}
     4124  * Lenguaje:TOL
     4125  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4126
     4127 == Función '''StdLib::InpDefPulse''' ==
     4128  * Declaración:
     4129{{{
     4130Set StdLib::InpDefPulse(Serie indicador)
     4131}}}
     4132  * Descripción:
     4133{{{
     4134Devuelve un conjunto InputDef con Omega 0.1 y Serie Pulse para
     4135cada fecha con valor no nulo de la serie que recibe
     4136}}}
     4137  * Lenguaje:TOL
     4138  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4139
     4140 == Función '''StdLib::InpDefPulseName''' ==
     4141  * Declaración:
     4142{{{
     4143Set StdLib::InpDefPulseName(Serie indicador, Text label)
     4144}}}
     4145  * Descripción:
     4146{{{
     4147Devuelve un conjunto InputDef con Omega 0.1 y Serie Pulse para
     4148cada fecha con valor no nulo de la serie que recibe
     4149}}}
     4150  * Lenguaje:TOL
     4151  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4152
     4153 == Función '''StdLib::MHGetInfoFromInputDef''' ==
     4154  * Declaración:
     4155{{{
     4156Set StdLib::MHGetInfoFromInputDef(Text key, Set inputDef, Set parameterInf)
     4157}}}
     4158  * Descripción:
     4159{{{
     4160
     4161}}}
     4162  * Lenguaje:TOL
     4163  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_functions.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_functions.tol]
     4164
     4165 == Función '''StdLib::MHGetParameterInfo''' ==
     4166  * Declaración:
     4167{{{
     4168Set StdLib::MHGetParameterInfo(Text key, Set parmeterInf)
     4169}}}
     4170  * Descripción:
     4171{{{
     4172
     4173}}}
     4174  * Lenguaje:TOL
     4175  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_functions.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_functions.tol]
     4176
     4177 == Función '''StdLib::MHResult''' ==
     4178  * Declaración:
     4179{{{
     4180Set StdLib::MHResult(Matrix param, Set names, Set inputDef)
     4181}}}
     4182  * Descripción:
     4183{{{
     4184
     4185}}}
     4186  * Lenguaje:TOL
     4187  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/linear/_blr_functions.tol stdlib/tol/math/stat/models/bayesian/linear/_blr_functions.tol]
     4188
     4189 == Función '''StdLib::MLH_ARIMA_LinRel''' ==
     4190  * Declaración:
     4191{{{
     4192Set StdLib::MLH_ARIMA_LinRel(Set forSet, Set maSet, Set ariSet, Set traSet, Set invTraSet, Matrix covMat, Set setLinRel, Real show)
     4193}}}
     4194  * Descripción:
     4195{{{
     4196Devuelve la combinacion de previsiones maximo verosimil para un conjunto de
     4197modelos ARIMA con restriccion lineal dada por lintrans con Az1+a = z2. z1 son
     4198las primeras Columns(A) series y z2 las ultimas Rows(A) series.
     4199}}}
     4200  * Lenguaje:TOL
     4201  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_combination.tol stdlib/tol/math/stat/models/mle/arima/_fun_combination.tol]
     4202
     4203 == Función '''StdLib::MLH_ARIMA_Rel''' ==
     4204  * Declaración:
     4205{{{
     4206Set StdLib::MLH_ARIMA_Rel(Set forSet, Set maSet, Set ariSet, Set traSet, Set invTraSet, Matrix covMat, Set setRel, Real show)
     4207}}}
     4208  * Descripción:
     4209{{{
     4210Devuelve la combinacion de previsiones maximo verosimil para un conjunto de
     4211modelos ARIMA con la relacion rel(z1, paramSet)=z2.
     4212}}}
     4213  * Lenguaje:TOL
     4214  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_combination.tol stdlib/tol/math/stat/models/mle/arima/_fun_combination.tol]
     4215
     4216 == Función '''StdLib::MLH_AgMLHConstrainWithFixed''' ==
     4217  * Declaración:
     4218{{{
     4219Set StdLib::MLH_AgMLHConstrainWithFixed(Matrix z, Set constrain, Set zFix, Real i)
     4220}}}
     4221  * Descripción:
     4222{{{
     4223
     4224}}}
     4225  * Lenguaje:TOL
     4226  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_combination.tol stdlib/tol/math/stat/models/mle/arima/_fun_combination.tol]
     4227
     4228 == Función '''StdLib::MLH_ForComb_AgRelWithFixed''' ==
     4229  * Declaración:
     4230{{{
     4231Set StdLib::MLH_ForComb_AgRelWithFixed(Set info, Set constrain, Set forSetFix, Real show)
     4232}}}
     4233  * Descripción:
     4234{{{
     4235Retorna la combinación de prevision maximo verosimil con restrecciones
     4236lineales.
     4237}}}
     4238  * Lenguaje:TOL
     4239  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_combination.tol stdlib/tol/math/stat/models/mle/arima/_fun_combination.tol]
     4240
     4241 == Función '''StdLib::MLH_ForComb_LinRel''' ==
     4242  * Declaración:
     4243{{{
     4244Set StdLib::MLH_ForComb_LinRel(Set info, Set setLinTrans, Text tms, Real show)
     4245}}}
     4246  * Descripción:
     4247{{{
     4248Retorna la combinación de prevision maximo verosimil con restrecciones
     4249lineales.
     4250}}}
     4251  * Lenguaje:TOL
     4252  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_combination.tol stdlib/tol/math/stat/models/mle/arima/_fun_combination.tol]
     4253
     4254 == Función '''StdLib::MLH_ForComb_Rel''' ==
     4255  * Declaración:
     4256{{{
     4257Set StdLib::MLH_ForComb_Rel(Set info, Set setRel, Text tms, Real show)
     4258}}}
     4259  * Descripción:
     4260{{{
     4261Retorna la combinación de prevision maximo verosimil con una relacion
     4262cualquiera entre las variables.
     4263}}}
     4264  * Lenguaje:TOL
     4265  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_combination.tol stdlib/tol/math/stat/models/mle/arima/_fun_combination.tol]
     4266
     4267 == Función '''StdLib::MainComponents''' ==
     4268  * Declaración:
     4269{{{
     4270Set StdLib::MainComponents(Set series)
     4271}}}
     4272  * Descripción:
     4273{{{
     4274
     4275}}}
     4276  * Lenguaje:TOL
     4277  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4278
     4279 == Función '''StdLib::MatrixTable''' ==
     4280  * Declaración:
     4281{{{
     4282Set StdLib::MatrixTable(Matrix mat, Set xNames, Set yNames, Text name)
     4283}}}
     4284  * Descripción:
     4285{{{
     4286
     4287}}}
     4288  * Lenguaje:TOL
     4289  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4290
     4291 == Función '''StdLib::MemoryStatus''' ==
     4292  * Declaración:
     4293{{{
     4294Set StdLib::MemoryStatus(Real nousado)
     4295}}}
     4296  * Descripción:
     4297{{{
     4298Returns Operative System information about current memory status including this values:
     4299  dwMemoryLoad:
     4300    Number between 0 and 100 that specifies the approximate percentage of physical memory that is in use (0 indicates no memory use and 100 indicates full memory use).
     4301  TotalPhys:
     4302    Total size of physical memory, in bytes.
     4303  AvailPhys:
     4304    Size of physical memory available, in bytes.
     4305  TotalPageFile:
     4306    Size of the committed memory limit, in bytes. This is physical memory plus the size of the page file, minus a small overhead.
     4307  AvailPageFile:
     4308    Size of available memory to commit, in bytes. The limit is ullTotalPageFile.
     4309  TotalVirtual:
     4310    Total size of the user mode portion of the virtual address space of the calling process, in bytes.
     4311  AvailVirtual:
     4312    Size of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process, in bytes.
     4313This is the specification about this MICROSOFT WINDOWS (c) feature obtained from http://msdn.microsoft.com
     4314}}}
     4315  * Lenguaje:C++
     4316  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     4317
     4318 == Función '''StdLib::NCartProd''' ==
     4319  * Declaración:
     4320{{{
     4321Set StdLib::NCartProd(Set s, Real n)
     4322}}}
     4323  * Descripción:
     4324{{{
     4325Construye el producto cartesiano de un conjunto s
     4326consigo mismo n veces.
     4327}}}
     4328  * Lenguaje:TOL
     4329  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4330
     4331 == Función '''StdLib::NextGraefeIter''' ==
     4332  * Declaración:
     4333{{{
     4334Set StdLib::NextGraefeIter(Set s)
     4335}}}
     4336  * Descripción:
     4337{{{
     4338
     4339}}}
     4340  * Lenguaje:TOL
     4341  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_factpolyn.tol stdlib/tol/math/optim/_factpolyn.tol]
     4342
     4343 == Función '''StdLib::ParamJMarquardt''' ==
     4344  * Declaración:
     4345{{{
     4346Set StdLib::ParamJMarquardt(Code fun, Code jacobian, Set initParam)
     4347}}}
     4348  * Descripción:
     4349{{{
     4350
     4351}}}
     4352  * Lenguaje:TOL
     4353  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_marquardt.tol stdlib/tol/math/optim/_marquardt.tol]
     4354
     4355 == Función '''StdLib::ParamMarquardt''' ==
     4356  * Declaración:
     4357{{{
     4358Set StdLib::ParamMarquardt(Code fun, Set initParam)
     4359}}}
     4360  * Descripción:
     4361{{{
     4362
     4363}}}
     4364  * Lenguaje:TOL
     4365  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_marquardt.tol stdlib/tol/math/optim/_marquardt.tol]
     4366
     4367 == Función '''StdLib::ParamToARIMA''' ==
     4368  * Declaración:
     4369{{{
     4370Set StdLib::ParamToARIMA(Set arima, Set param)
     4371}}}
     4372  * Descripción:
     4373{{{
     4374
     4375}}}
     4376  * Lenguaje:TOL
     4377  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4378
     4379 == Función '''StdLib::PlainNamedObjects''' ==
     4380  * Declaración:
     4381{{{
     4382Set StdLib::PlainNamedObjects(Set set)
     4383}}}
     4384  * Descripción:
     4385{{{
     4386Devuelve un conjunto plano con todos los elementos con nombre TOL v???lido bajo un onjunto y sus subconjuntos.
     4387}}}
     4388  * Lenguaje:C++
     4389 
     4390
     4391 == Función '''StdLib::Plot''' ==
     4392  * Declaración:
     4393{{{
     4394Set StdLib::Plot(Code f, Real from, Real until, Real points)
     4395}}}
     4396  * Descripción:
     4397{{{
     4398
     4399}}}
     4400  * Lenguaje:TOL
     4401  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4402
     4403 == Función '''StdLib::PlotMatSet''' ==
     4404  * Declaración:
     4405{{{
     4406Set StdLib::PlotMatSet(Set s)
     4407}}}
     4408  * Descripción:
     4409{{{
     4410
     4411}}}
     4412  * Lenguaje:TOL
     4413  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4414
     4415 == Función '''StdLib::PlotMatrix''' ==
     4416  * Declaración:
     4417{{{
     4418Set StdLib::PlotMatrix(Matrix Mat)
     4419}}}
     4420  * Descripción:
     4421{{{
     4422
     4423}}}
     4424  * Lenguaje:TOL
     4425  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4426
     4427 == Función '''StdLib::PlotPolyn''' ==
     4428  * Declaración:
     4429{{{
     4430Set StdLib::PlotPolyn(Polyn pol, Real x0, Real x1, Real N)
     4431}}}
     4432  * Descripción:
     4433{{{
     4434
     4435}}}
     4436  * Lenguaje:TOL
     4437  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4438
     4439 == Función '''StdLib::PlotRation''' ==
     4440  * Declaración:
     4441{{{
     4442Set StdLib::PlotRation(Ratio Rat, Real x0, Real x1, Real N)
     4443}}}
     4444  * Descripción:
     4445{{{
     4446
     4447}}}
     4448  * Lenguaje:TOL
     4449  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4450
     4451 == Función '''StdLib::PlotSet''' ==
     4452  * Declaración:
     4453{{{
     4454Set StdLib::PlotSet(Set sf, Real from, Real until, Real points)
     4455}}}
     4456  * Descripción:
     4457{{{
     4458
     4459}}}
     4460  * Lenguaje:TOL
     4461  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4462
     4463 == Función '''StdLib::PlotXMatSet''' ==
     4464  * Declaración:
     4465{{{
     4466Set StdLib::PlotXMatSet(Set s, Real x0, Real x1)
     4467}}}
     4468  * Descripción:
     4469{{{
     4470
     4471}}}
     4472  * Lenguaje:TOL
     4473  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4474
     4475 == Función '''StdLib::PlotXMatrix''' ==
     4476  * Declaración:
     4477{{{
     4478Set StdLib::PlotXMatrix(Matrix Mat, Real x0, Real x1)
     4479}}}
     4480  * Descripción:
     4481{{{
     4482
     4483}}}
     4484  * Lenguaje:TOL
     4485  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     4486
     4487 == Función '''StdLib::PolToInfoSet''' ==
     4488  * Declaración:
     4489{{{
     4490Set StdLib::PolToInfoSet(Polyn uPol, Real period, Real unit, Text name, Text factor)
     4491}}}
     4492  * Descripción:
     4493{{{
     4494
     4495}}}
     4496  * Lenguaje:TOL
     4497  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     4498
     4499 == Función '''StdLib::PolToSet''' ==
     4500  * Declaración:
     4501{{{
     4502Set StdLib::PolToSet(Polyn p)
     4503}}}
     4504  * Descripción:
     4505{{{
     4506
     4507}}}
     4508  * Lenguaje:TOL
     4509  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_polyn.tol stdlib/tol/general/grammars/_polyn.tol]
     4510
     4511 == Función '''StdLib::PriorMeanDev''' ==
     4512  * Declaración:
     4513{{{
     4514Set StdLib::PriorMeanDev(Serie a, Serie b, Real minFirst, Real minInc)
     4515}}}
     4516  * Descripción:
     4517{{{
     4518
     4519}}}
     4520  * Lenguaje:TOL
     4521  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_serie.tol stdlib/tol/general/grammars/_serie.tol]
     4522
     4523 == Función '''StdLib::PulseInd''' ==
     4524  * Declaración:
     4525{{{
     4526Set StdLib::PulseInd(Serie ind, Text label)
     4527}}}
     4528  * Descripción:
     4529{{{
     4530
     4531}}}
     4532  * Lenguaje:TOL
     4533  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4534
     4535 == Función '''StdLib::RCODA::summary''' ==
     4536  * Declaración:
     4537{{{
     4538Set StdLib::RCODA::summary(Anything data, Set optArgs)
     4539}}}
     4540  * Descripción:
     4541{{{
     4542Function RCODA::summary is a TOL port to R function summary sometimes called summary.mcmc {coda}
     4543
     4544URL: http://cran.r-project.org/doc/packages/coda.pdf
     4545
     4546Description
     4547summary.mcmc produces two sets of summary statistics for each variable: varstats: Mean, standard deviation, naive standard error of the mean (ignoring autocorrelation of the chain) and time-series standard error based on an estimate of the spectral density at 0.
     4548varquant: Quantiles of the sample distribution using the quantiles argument.
     4549
     4550Usage examples
     4551
     4552  Set RCODA::summary(data, {[[
     4553    Real verbose=FALSE,
     4554    Real varByCol=TRUE,
     4555    Set quantiles=[[0.02,0.04,0.06,0.08] ]]})
     4556
     4557  Matrix RCODA::summary(data,Empty)
     4558
     4559Arguments
     4560  data: an mcmc object that could be a Matrix variable or a Text one with the path to a BBM file
     4561  optArgs: supplies optional arguments as these:
     4562    Real verbose: If TRUE some traces will be send to standard output    Real varByCol: If TRUE then each column contains the Markov Chain of a variable and each row has a simulation. In other case each row is a variable and each column is a simulationDefault value is TRUE
     4563    Set quantiles: a vector of quantiles to evaluate for each variable is [[0.025, 0.25, 0.5, 0.75, 0.975]]
     4564
     4565Returns a set with two matrices containing in each row the information about each variable
     4566
     4567Acknowledgements:
     4568Martyn Plummer, Nicky Best, Kate Cowles and Karen Vines (2006). coda:Output analysis and diagnostics for MCMC. R package version 0.10-7.
     4569URL http://www-fis.iarc.fr/coda/
     4570
     4571}}}
     4572  * Lenguaje:TOL
     4573  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/bayesian/diagnosis/_rcoda.tol stdlib/tol/math/stat/models/bayesian/diagnosis/_rcoda.tol]
     4574
     4575 == Función '''StdLib::RandARIMA''' ==
     4576  * Declaración:
     4577{{{
     4578Set StdLib::RandARIMA(Set deg)
     4579}}}
     4580  * Descripción:
     4581{{{
     4582
     4583}}}
     4584  * Lenguaje:TOL
     4585  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4586
     4587 == Función '''StdLib::RandARIMADegree''' ==
     4588  * Declaración:
     4589{{{
     4590Set StdLib::RandARIMADegree(Set degRange)
     4591}}}
     4592  * Descripción:
     4593{{{
     4594
     4595}}}
     4596  * Lenguaje:TOL
     4597  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4598
     4599 == Función '''StdLib::RandARIMAStruct''' ==
     4600  * Declaración:
     4601{{{
     4602Set StdLib::RandARIMAStruct(Real period, Real maxDifDeg, Real maxARDeg, Real maxMADeg)
     4603}}}
     4604  * Descripción:
     4605{{{
     4606
     4607}}}
     4608  * Lenguaje:TOL
     4609  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4610
     4611 == Función '''StdLib::RandARIMATransferStruct''' ==
     4612  * Declaración:
     4613{{{
     4614Set StdLib::RandARIMATransferStruct(Set model)
     4615}}}
     4616  * Descripción:
     4617{{{
     4618
     4619}}}
     4620  * Lenguaje:TOL
     4621  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     4622
     4623 == Función '''StdLib::RandArimaModel''' ==
     4624  * Declaración:
     4625{{{
     4626Set StdLib::RandArimaModel(TimeSet dating, Date first, Date last, Real per, Real sigma, Real maxAR, Real maxMA, Real maxDIF)
     4627}}}
     4628  * Descripción:
     4629{{{
     4630
     4631}}}
     4632  * Lenguaje:TOL
     4633  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4634
     4635 == Función '''StdLib::RandCopyARIMA''' ==
     4636  * Declaración:
     4637{{{
     4638Set StdLib::RandCopyARIMA(Set ARIMA)
     4639}}}
     4640  * Descripción:
     4641{{{
     4642
     4643}}}
     4644  * Lenguaje:TOL
     4645  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4646
     4647 == Función '''StdLib::RandExtract''' ==
     4648  * Declaración:
     4649{{{
     4650Set StdLib::RandExtract(Set set)
     4651}}}
     4652  * Descripción:
     4653{{{
     4654Realiza una extraccion aleatoria de los elementos de un conjunto,
     4655   devolviendo el conjunto compuesto por dicha extraccion.
     4656}}}
     4657  * Lenguaje:TOL
     4658  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4659
     4660 == Función '''StdLib::RandFactARIMA''' ==
     4661  * Declaración:
     4662{{{
     4663Set StdLib::RandFactARIMA(Set degTable)
     4664}}}
     4665  * Descripción:
     4666{{{
     4667
     4668}}}
     4669  * Lenguaje:TOL
     4670  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4671
     4672 == Función '''StdLib::RandFactARIMADegree''' ==
     4673  * Declaración:
     4674{{{
     4675Set StdLib::RandFactARIMADegree(Set degRangeTable)
     4676}}}
     4677  * Descripción:
     4678{{{
     4679
     4680}}}
     4681  * Lenguaje:TOL
     4682  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4683
     4684 == Función '''StdLib::RandRangeArimaModel''' ==
     4685  * Declaración:
     4686{{{
     4687Set StdLib::RandRangeArimaModel(TimeSet dating, Serie initValues, Date first, Date last, Real per, Real sigma, Set R1, Set R6)
     4688}}}
     4689  * Descripción:
     4690{{{
     4691
     4692}}}
     4693  * Lenguaje:TOL
     4694  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_simulate.tol stdlib/tol/math/stat/models/mle/arima/_fun_simulate.tol]
     4695
     4696 == Función '''StdLib::RandSet''' ==
     4697  * Declaración:
     4698{{{
     4699Set StdLib::RandSet(Real rea)
     4700}}}
     4701  * Descripción:
     4702{{{
     4703Construye un conjunto de k elementos a través de la extracción uniforme
     4704   de k elementos desde 1 hasta k.
     4705}}}
     4706  * Lenguaje:TOL
     4707  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4708
     4709 == Función '''StdLib::Rapi::RunRScript''' ==
     4710  * Declaración:
     4711{{{
     4712Set StdLib::Rapi::RunRScript(Text script, Set args.bbm, Text argsList, Set result.names, Real verbose)
     4713}}}
     4714  * Descripción:
     4715{{{
     4716Preliminary description, should be improved and better formated:
     4717
     4718Evaluate an R script.
     4719
     4720Arguments:
     4721
     4722script: the R code to evaluate. The script may contains the pattern %S which is substituted by the value of a unique indentifier
     4723
     4724args.bbm: a Set of pairs (Sets) [[ mat, file.bbm ]], where mat is a Matrix and file.bbm is the path where mat will be stored before executing the script. The Text file.bbm may contains the pattern %S which is substituted by the value of a unique indentifier
     4725
     4726argsList: Is an R list expression which is written in a file with name returned by Rapi::GetTmpArgs(0). The contents of this Text may contains the pattern %S which is substituted by the value of a unique indentifier
     4727result.names: a Set of BBM file names. Each file name may contains the pattern %S which is substituted by the value of a unique indentifier
     4728verbose:
     4729
     4730Result value:
     4731
     4732When the R excution has finished, for each file name in result.names one Matrix is read. The result is a Set containing all matrices read.
     4733}}}
     4734  * Lenguaje:TOL
     4735  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/R/Rapi.tol stdlib/tol/math/R/Rapi.tol]
     4736
     4737 == Función '''StdLib::ReadTable''' ==
     4738  * Declaración:
     4739{{{
     4740Set StdLib::ReadTable(Text path)
     4741}}}
     4742  * Descripción:
     4743{{{
     4744
     4745}}}
     4746  * Lenguaje:TOL
     4747  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4748
     4749 == Función '''StdLib::RecDir.Count.Char''' ==
     4750  * Declaración:
     4751{{{
     4752Set StdLib::RecDir.Count.Char(Text root, Text match, Real caseSens, Real recursive, Real verbose)
     4753}}}
     4754  * Descripción:
     4755{{{
     4756Cuenta recursivamente los caracteres de los archivos especificados por el argumento <match> bajo un directorio raíz.
     4757Ver RecDir.DoWithTree para saber qué son el resto de parámetros.
     4758Devuelve dos tablas, una con el resultado de RecDir.DoWithTree y otra con estructura RecDir.TextFound.Reg con los ficheros que han dado positivo.
     4759}}}
     4760  * Lenguaje:TOL
     4761  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/recursive_dir/_functions.tol stdlib/tol/general/system/recursive_dir/_functions.tol]
     4762
     4763 == Función '''StdLib::RecDir.Count.Line''' ==
     4764  * Declaración:
     4765{{{
     4766Set StdLib::RecDir.Count.Line(Text root, Text match, Real caseSens, Real recursive, Real verbose)
     4767}}}
     4768  * Descripción:
     4769{{{
     4770Cuenta recursivamente las líneas de los archivos especificados por el argumento <match> bajo un directorio raíz.
     4771Ver RecDir.DoWithTree para saber qué son el resto de parámetros.
     4772Devuelve dos tablas, una con el resultado de RecDir.DoWithTree y otra con estructura RecDir.TextFound.Reg con los ficheros que han dado positivo.
     4773}}}
     4774  * Lenguaje:TOL
     4775  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/recursive_dir/_functions.tol stdlib/tol/general/system/recursive_dir/_functions.tol]
     4776
     4777 == Función '''StdLib::RecDir.DoWithTree''' ==
     4778  * Declaración:
     4779{{{
     4780Set StdLib::RecDir.DoWithTree(Code fun, Text root, Text match, Real caseSens, Real processFile, Real processDir, Real recursive, Real verbose)
     4781}}}
     4782  * Descripción:
     4783{{{
     4784Ejecuta la función fun de tipo
     4785 Anything(Text path, Real isFile)
     4786 para todos los ficheros y/o directorios del directorio root que respondan al modelo wildcards dado por el argumento match.
     4787 Ver la función TextMatch para saber más acerca de los wildcards.
     4788Si caseSens no es 0 match distingue entre mayúsculas y minúsculas.
     4789Si processFile no es 0 procesa los archivos (isFile=true).
     4790Si processDir no es 0 procesa los directorios (isFile=false).
     4791Si recursive no es 0 entra recursivamente en los subdirectorios.
     4792Cuando no es cero, el valor se estos tres parámatros indica el orden en que se procesan los resultados de cada tipo.
     4793Si verbose>0 muestra una traza de los archivos procesados.
     4794Devuelve un conjunto de pares con estructura RecDir.DoWithTree.Reg en el que el primer elemento es cada uno de los caminos completos de los ficheros y directorios procesados, y el segundo es el resultado del proceso.
     4795}}}
     4796  * Lenguaje:TOL
     4797  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/recursive_dir/_functions.tol stdlib/tol/general/system/recursive_dir/_functions.tol]
     4798
     4799 == Función '''StdLib::RecDir.FindNotStandardAscii''' ==
     4800  * Declaración:
     4801{{{
     4802Set StdLib::RecDir.FindNotStandardAscii(Text nonStdButAllowed, Text root, Text match, Real caseSens, Real recursive, Real verbose)
     4803}}}
     4804  * Descripción:
     4805{{{
     4806Busca mediante la función RecDir.DoWithTree, archivos que contengan caracteres ASCII por encima del 127, salvo los contenidos en el argumento nonStdButAllowed.
     4807Ver RecDir.DoWithTree para saber qué son el resto de parámetros.
     4808Devuelve dos tablas, una con el resultado de RecDir.DoWithTree y otra con estructura RecDir.TextFound.Reg con los ficheros que han dado positivo.
     4809}}}
     4810  * Lenguaje:TOL
     4811  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/recursive_dir/_functions.tol stdlib/tol/general/system/recursive_dir/_functions.tol]
     4812
     4813 == Función '''StdLib::RecDir.Grep''' ==
     4814  * Declaración:
     4815{{{
     4816Set StdLib::RecDir.Grep(Text searched, Text root, Text match, Real caseSens, Real recursive, Real verbose)
     4817}}}
     4818  * Descripción:
     4819{{{
     4820Busca mediante la función RecDir.DoWithTree, archivos que contengan el texto dado por el argumento searched.
     4821Ver RecDir.DoWithTree para saber qué son el resto de parámetros.
     4822Devuelve dos tablas, una con el resultado de RecDir.DoWithTree y otra con estructura RecDir.TextFound.Reg con los ficheros que han dado positivo.
     4823}}}
     4824  * Lenguaje:TOL
     4825  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/recursive_dir/_functions.tol stdlib/tol/general/system/recursive_dir/_functions.tol]
     4826
     4827 == Función '''StdLib::ReportAllBatteries''' ==
     4828  * Declaración:
     4829{{{
     4830Set StdLib::ReportAllBatteries(Set TestConfigTable)
     4831}}}
     4832  * Descripción:
     4833{{{
     4834
     4835}}}
     4836  * Lenguaje:TOL
     4837  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     4838
     4839 == Función '''StdLib::ReportTester''' ==
     4840  * Declaración:
     4841{{{
     4842Set StdLib::ReportTester(Set config, Date beginTime)
     4843}}}
     4844  * Descripción:
     4845{{{
     4846
     4847}}}
     4848  * Lenguaje:TOL
     4849  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     4850
     4851 == Función '''StdLib::ReverseSet''' ==
     4852  * Declaración:
     4853{{{
     4854Set StdLib::ReverseSet(Set set)
     4855}}}
     4856  * Descripción:
     4857{{{
     4858Retorna el conjunto en orden inverso.
     4859}}}
     4860  * Lenguaje:TOL
     4861  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     4862
     4863 == Función '''StdLib::Rglpk::solveLP''' ==
     4864  * Declaración:
     4865{{{
     4866Set StdLib::Rglpk::solveLP(Matrix C, Matrix A, Matrix RHS, Set optArgs)
     4867}}}
     4868  * Descripción:
     4869{{{
     4870Rglpk::solveLP is a function to interface with the R function Rglpk_solve_LP
     4871
     4872URL http://www.R-project.org.
     4873
     4874Description
     4875solveLP is High level interface to the GNU Linear Programming Kit for solving linear as well as mixed integer linear programming problems (MILPs)
     4876
     4877Arguments:
     4878
     4879   C: a vector with the objective coefficients.
     4880
     4881   A: a matrix of the constraint coefficients.
     4882
     4883   RHS: the right hand side of the constraints.
     4884
     4885with the following extra args given in the Set optArgs:
     4886
     4887   dir: a character Set with the directions of the constraints.
     4888        Each element must be one of "<", "<=", ">", ">=", or
     4889        "==". Default is "<" for all constraints.
     4890
     4891   idxInt: a vector with indices representing which objective
     4892           coefficients should be of type integer. Default is Empty.
     4893
     4894   max: a boolean value giving the direction of the optimization. 'TRUE'
     4895        means that the objective is to maximize the objective
     4896        function, 'FALSE' (default) means to minimize it.
     4897
     4898bounds: Empty (default) or a Set with elements 'upper' and 'lower'
     4899        containing the indices and corresponding bounds of the
     4900        objective variables.  The default for each variable is a
     4901        bound between 0 and 'Inf'.
     4902
     4903
     4904verbose: a boolean value for turning on/off additional solver output:
     4905           Default: 'FALSE'.
     4906
     4907Return Value:
     4908
     4909     A list containing the optimal solution, with the following
     4910     components:
     4911
     4912status: an integer with status information about the solution
     4913        returned: 0 if the optimal solution was found, a non-zero
     4914        value otherwise.
     4915
     4916objval: the value of the objective function at the optimum.
     4917
     4918solution: the vector of optimal coefficients.
     4919
     4920Examples:
     4921
     4922/*
     4923  Simple linear program.
     4924  maximize:   2 x_1 + 4 x_2 + 3 x_3
     4925  subject to: 3 x_1 + 4 x_2 + 2 x_3 <= 60
     4926              2 x_1 +   x_2 +   x_3 <= 40
     4927                x_1 + 3 x_2 + 2 x_3 <= 80
     4928                x_1, x_2, x_3 are non-negative real numbers
     4929*/
     4930
     4931Set sol1 = {
     4932  Matrix obj = ((2,4,3));
     4933  Matrix mat = ((3,4,2),
     4934                (2,1,2),
     4935                (1,3,2));
     4936  Matrix rhs = ((60,40,80));
     4937
     4938  Set sol=Rglpk::solveLP(obj, mat, rhs,
     4939                         {[[Real verbose=TRUE, Real max=TRUE]]})
     4940};
     4941
     4942/*
     4943  Simple mixed integer linear program.
     4944  maximize:    3 x_1 + 1 x_2 + 3 x_3
     4945  subject to: -1 x_1 + 2 x_2 +   x_3 <= 4
     4946                       4 x_2 - 3 x_3 <= 2
     4947                 x_1 - 3 x_2 + 2 x_3 <= 3
     4948                 x_1, x_3 are non-negative integers
     4949                 x_2 is a non-negative real number
     4950*/
     4951
     4952Set sol2 = {
     4953  Matrix obj = ((2,1,3));
     4954  Matrix mat = ((-1,2,1),
     4955                (0,4,-3),
     4956                (1,-3,2));
     4957  Matrix rhs = ((4,2,3));
     4958
     4959  Set idxInt = [[1,3]];
     4960
     4961  Set sol=Rglpk::solveLP(obj, mat, rhs,
     4962                         {[[Set idxInt, Real verbose=TRUE, Real max=TRUE]]})
     4963};
     4964
     4965}}}
     4966  * Lenguaje:TOL
     4967  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/LP/Rglpk.tol stdlib/tol/math/optim/LP/Rglpk.tol]
     4968
     4969 == Función '''StdLib::Rquadprog::solveQP''' ==
     4970  * Declaración:
     4971{{{
     4972Set StdLib::Rquadprog::solveQP(Matrix D, Matrix d, Matrix A, Matrix b0, Set optArgs)
     4973}}}
     4974  * Descripción:
     4975{{{
     4976Rquadprog::solveQP is a function to interface with the R function Rquadprog_solve_LP
     4977
     4978URL http://cran.r-project.org/web/packages/quadprog/quadprog.pdf
     4979Description
     4980This routine implements the dual method of Goldfarb and Idnani (1982, 1983) for solving quadratic programming problems of the form min(- d' b + 1/2 b' D b) with the constraints A' b >= b0
     4981
     4982Arguments
     4983  D: matrix appearing in the quadratic function to be minimized.
     4984  d: vector appearing in the quadratic function to be minimized.
     4985  A: matrix defining the constraints under which we want to minimize the quadratic function.
     4986  b0: vector holding the values of constraint independent terms (defaults to zero).
     4987  optArgs: supplies optional arguments:
     4988    Real meq: the first meq constraints are treated as equality constraints, all further as inequality constraints (defaults to 0).
     4989    Real factorized: logical flag: if TRUE, then we are passing R?1 (where D = RT R) instead of  the matrix D in the argument D
     4990    Real verbose: If TRUE some traces will be send to standard output};
     4991
     4992}}}
     4993  * Lenguaje:TOL
     4994  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/QP/Rquadprog.tol stdlib/tol/math/optim/QP/Rquadprog.tol]
     4995
     4996 == Función '''StdLib::RunTests''' ==
     4997  * Declaración:
     4998{{{
     4999Set StdLib::RunTests(Date beginTime, Text baseDir, Text parameters, Real iter, Real maxIter)
     5000}}}
     5001  * Descripción:
     5002{{{
     5003
     5004}}}
     5005  * Lenguaje:TOL
     5006  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     5007
     5008 == Función '''StdLib::RunToltclTest''' ==
     5009  * Declaración:
     5010{{{
     5011Set StdLib::RunToltclTest(Real dummy)
     5012}}}
     5013  * Descripción:
     5014{{{
     5015
     5016}}}
     5017  * Lenguaje:TOL
     5018  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/tol_tests/_testFunc.tol stdlib/tol/general/tol_tests/_testFunc.tol]
     5019
     5020 == Función '''StdLib::SerIdePer''' ==
     5021  * Declaración:
     5022{{{
     5023Set StdLib::SerIdePer(Serie ser01, Serie ser02)
     5024}}}
     5025  * Descripción:
     5026{{{
     5027Devuelve las dos series que se pasan como argumentos en el periodo comun, es
     5028decir entre el maximo de sus fechas iniciales y el minimo de sus fechas
     5029finales.
     5030}}}
     5031  * Lenguaje:TOL
     5032  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5033
     5034 == Función '''StdLib::SerSet''' ==
     5035  * Declaración:
     5036{{{
     5037Set StdLib::SerSet(Serie ser)
     5038}}}
     5039  * Descripción:
     5040{{{
     5041
     5042}}}
     5043  * Lenguaje:TOL
     5044  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5045
     5046 == Función '''StdLib::SerSetTable''' ==
     5047  * Declaración:
     5048{{{
     5049Set StdLib::SerSetTable(Set s)
     5050}}}
     5051  * Descripción:
     5052{{{
     5053
     5054}}}
     5055  * Lenguaje:TOL
     5056  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5057
     5058 == Función '''StdLib::SeriePorTramos''' ==
     5059  * Declaración:
     5060{{{
     5061Set StdLib::SeriePorTramos(Serie ser, TimeSet tms)
     5062}}}
     5063  * Descripción:
     5064{{{
     5065
     5066}}}
     5067  * Lenguaje:TOL
     5068  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_serie.tol stdlib/tol/general/grammars/_serie.tol]
     5069
     5070 == Función '''StdLib::SetClassify''' ==
     5071  * Declaración:
     5072{{{
     5073Set StdLib::SetClassify(Set set, Code fun)
     5074}}}
     5075  * Descripción:
     5076{{{
     5077Retorna la clasificacion de un conjunto set de forma identica a la funcion
     5078Set Classify(Set set, Real funCla(Anything a, Anything b) ) donde funCla se
     5079define como Real funCla(Anything a, Anything b) { Compare(fun(a),fun(b) }
     5080siendo fun el codigo de entrada a esta funcion SetConCat(set, fun).
     5081Como Sort(keyUni, Real(Anything a, Anything b) { Compare(a,b) }); no funciona
     5082la funcion fun ha de retornar: Text, Real o Date.
     5083La extraccion final puede realizarse con un EvalSet() o con un For() y un
     5084Eval() que sirve para denominar a las clases Class1, Class2, ... como lo hace
     5085la funcion Classify().
     5086Esta funcion es el triple de lenta que el Classify(), pero frente a conjuntos
     5087grandes (por ejemplo 20000) es mas robusta.
     5088}}}
     5089  * Lenguaje:TOL
     5090  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5091
     5092 == Función '''StdLib::SetConcat''' ==
     5093  * Declaración:
     5094{{{
     5095Set StdLib::SetConcat(Set set)
     5096}}}
     5097  * Descripción:
     5098{{{
     5099
     5100Lee un fichero con estructura de tabla separados los campos por <;>. Todos los
     5101Campos los devuelve tipo Text.
     5102}}}
     5103  * Lenguaje:TOL
     5104  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5105
     5106 == Función '''StdLib::SetDist''' ==
     5107  * Declaración:
     5108{{{
     5109Set StdLib::SetDist(Set values, Real isSort)
     5110}}}
     5111  * Descripción:
     5112{{{
     5113
     5114}}}
     5115  * Lenguaje:TOL
     5116  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5117
     5118 == Función '''StdLib::SetHistConMult''' ==
     5119  * Declaración:
     5120{{{
     5121Set StdLib::SetHistConMult(Set dataSet, Set colS, Real partes)
     5122}}}
     5123  * Descripción:
     5124{{{
     5125Dado un conjunto de conjuntos de reales [dataSet] y dado un conjunto
     5126de indices [colS] te devuelve el histograma conjunto
     5127Set  dataSet = For(1,1000,  Set ( Real k)
     5128{
     5129Real x1 = DistNormalInv(Rand(0,1),1,1);
     5130Real x2 = DistNormalInv(Rand(0,1),2,1);
     5131Real x3 = DistNormalInv(Rand(0,1),3,1);
     5132[[ x1 ,x2,x3  ]]
     5133});
     5134
     5135Set histMult_1 = SetHistConMult ( dataSet, [[1,2]], 20 );
     5136Set histMult_2 = SetHistConMult ( dataSet, [[2,3]], 20 );
     5137
     5138}}}
     5139  * Lenguaje:TOL
     5140  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_plotter.tol stdlib/tol/general/various/_plotter.tol]
     5141
     5142 == Función '''StdLib::SetMode''' ==
     5143  * Declaración:
     5144{{{
     5145Set StdLib::SetMode(Set sample)
     5146}}}
     5147  * Descripción:
     5148{{{
     5149Devuelve la moda de un conjunto de datos, es decir, el conjunto de los valores más repetidos de la muestra.
     5150En primer lugar se clasifican los elementos de la muestra por su frecuencia y luego se toman los elementos de máxima frecuencia que puede ser uno solo o varios que se repitan el mismo número de veces.
     5151El resultado sólo puede ser vacío si la muestra es vacía.
     5152Si todos los elementos de la muestra son distintos la moda es el propio conjunto de la muestra.En el caso de haber varias modas los valores se devuelven ordenados de nemor a mayor.
     5153Ejemplos :
     5154   SetMode([[8,8,8,8,9,9,9,6,6,7]]) = [[8]]   
     5155   SetMode([[9,6,7,8,8,9,9,6,6,7]]) = [[6,9]]
     5156
     5157}}}
     5158  * Lenguaje:TOL
     5159  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/descriptive_stats/_init_descriptive_stats.tol stdlib/tol/math/stat/descriptive_stats/_init_descriptive_stats.tol]
     5160
     5161 == Función '''StdLib::SetSerCorr''' ==
     5162  * Declaración:
     5163{{{
     5164Set StdLib::SetSerCorr(Set s)
     5165}}}
     5166  * Descripción:
     5167{{{
     5168
     5169}}}
     5170  * Lenguaje:TOL
     5171  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_serie.tol stdlib/tol/general/grammars/_serie.tol]
     5172
     5173 == Función '''StdLib::SetSerWD''' ==
     5174  * Declaración:
     5175{{{
     5176Set StdLib::SetSerWD(Anything setSerOrSerDia)
     5177}}}
     5178  * Descripción:
     5179{{{
     5180Construye una Serie para cada dia de la semana. El fechado de
     5181la Serie proporcionada ha de estar en base Diaria. Las Series resultado estan
     5182en fechado Semanal
     5183}}}
     5184  * Lenguaje:TOL
     5185  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5186
     5187 == Función '''StdLib::Seting''' ==
     5188  * Declaración:
     5189{{{
     5190Set StdLib::Seting(Anything any)
     5191}}}
     5192  * Descripción:
     5193{{{
     5194
     5195Convierte lo que recibe en un conjunto
     5196}}}
     5197  * Lenguaje:TOL
     5198  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5199
     5200 == Función '''StdLib::Share''' ==
     5201  * Declaración:
     5202{{{
     5203Set StdLib::Share(Set setSer)
     5204}}}
     5205  * Descripción:
     5206{{{
     5207A partir de un conjunto de series devuelve las series-cuota
     5208de cada una de ellas respecto a la suma de todas.
     5209}}}
     5210  * Lenguaje:TOL
     5211  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5212
     5213 == Función '''StdLib::ShareAcum''' ==
     5214  * Declaración:
     5215{{{
     5216Set StdLib::ShareAcum(Set setSer)
     5217}}}
     5218  * Descripción:
     5219{{{
     5220A partir de un conjunto de series devuelve las series-cuota
     5221acumuladas de cada una de ellas respecto a la suma de todas.
     5222}}}
     5223  * Lenguaje:TOL
     5224  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5225
     5226 == Función '''StdLib::SortAndSelect''' ==
     5227  * Declaración:
     5228{{{
     5229Set StdLib::SortAndSelect(Set table, Real MinSig)
     5230}}}
     5231  * Descripción:
     5232{{{
     5233
     5234}}}
     5235  * Lenguaje:TOL
     5236  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/various/_sortselect.tol stdlib/tol/general/various/_sortselect.tol]
     5237
     5238 == Función '''StdLib::SplitInput''' ==
     5239  * Declaración:
     5240{{{
     5241Set StdLib::SplitInput(Set input, Date iniEstim, Date endEstim)
     5242}}}
     5243  * Descripción:
     5244{{{
     5245Desagrupa un conjunto de input de forma monomica.
     5246}}}
     5247  * Lenguaje:TOL
     5248  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5249
     5250 == Función '''StdLib::SplitSet''' ==
     5251  * Declaración:
     5252{{{
     5253Set StdLib::SplitSet(Set set, Real num)
     5254}}}
     5255  * Descripción:
     5256{{{
     5257
     5258}}}
     5259  * Lenguaje:TOL
     5260  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     5261
     5262 == Función '''StdLib::SqlEngine::SqlAplFunDepTab''' ==
     5263  * Declaración:
     5264{{{
     5265Set StdLib::SqlEngine::SqlAplFunDepTab(Text table, Set setCol, Real levMax, Set filter, Code funPre, Code funPos, Real gestor)
     5266}}}
     5267  * Descripción:
     5268{{{
     5269
     5270
     5271}}}
     5272  * Lenguaje:TOL
     5273  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5274
     5275 == Función '''StdLib::SqlEngine::SqlAplFunDepTabRec''' ==
     5276  * Declaración:
     5277{{{
     5278Set StdLib::SqlEngine::SqlAplFunDepTabRec(Text table, Set setCol, Real levAct, Real levMax, Set filter, Code funPre, Code funPos, Real gestor)
     5279}}}
     5280  * Descripción:
     5281{{{
     5282Función recursiva que dada una tabla, aplica una función
     5283que se pasa como argumento sobre la misma (funPre), busca las tablas que
     5284tienen una FK a dicha tabla, y se llama recursivamente para cada una de esas
     5285tablas. A la vuelta de las llamadas recursivas aplica para cada una de ellas
     5286otra función que se pasa como argumento (funPos).
     5287Se puede aplicar un filtro sobre la tabla inicial que va transformándose a un
     5288filtro sobre la tabla relacionada, para aplicar opciones de forma restrictiva.
     5289Ejemplos de utilidad de esta función son: borrado en cascada, conteo de
     5290registros relacionados, exportación de datos, etc.
     5291}}}
     5292  * Lenguaje:TOL
     5293  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5294
     5295 == Función '''StdLib::SqlEngine::SqlDBSeries''' ==
     5296  * Declaración:
     5297{{{
     5298Set StdLib::SqlEngine::SqlDBSeries(Text query, Anything tmsAn, Set names, Set descriptions, Real defectValue)
     5299}}}
     5300  * Descripción:
     5301{{{
     5302
     5303Llama a la funcion DBSeries.
     5304}}}
     5305  * Lenguaje:TOL
     5306  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5307
     5308 == Función '''StdLib::SqlEngine::SqlDBSeriesColumn''' ==
     5309  * Declaración:
     5310{{{
     5311Set StdLib::SqlEngine::SqlDBSeriesColumn(Text query, Anything tmsAn, Real defectValue)
     5312}}}
     5313  * Descripción:
     5314{{{
     5315
     5316Llama a la funcion DBSeriesColumn.
     5317}}}
     5318  * Lenguaje:TOL
     5319  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5320
     5321 == Función '''StdLib::SqlEngine::SqlDBSeriesTable''' ==
     5322  * Declaración:
     5323{{{
     5324Set StdLib::SqlEngine::SqlDBSeriesTable(Text query, Anything tmsAn, Set names, Set descriptions, Real defectValue)
     5325}}}
     5326  * Descripción:
     5327{{{
     5328
     5329Llama a la funcion DBSeriesTable.
     5330}}}
     5331  * Lenguaje:TOL
     5332  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5333
     5334 == Función '''StdLib::SqlEngine::SqlDBTable''' ==
     5335  * Declaración:
     5336{{{
     5337Set StdLib::SqlEngine::SqlDBTable(Text query, Text nameStruct)
     5338}}}
     5339  * Descripción:
     5340{{{
     5341
     5342Llama a la funcion DBTable . Si no se quiere dar estrutura a la tabla se
     5343pasa como argumento la cadena vacia.
     5344}}}
     5345  * Lenguaje:TOL
     5346  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5347
     5348 == Función '''StdLib::SqlEngine::SqlDBTableColumn''' ==
     5349  * Declaración:
     5350{{{
     5351Set StdLib::SqlEngine::SqlDBTableColumn(Text query, Real indexNumber, Real prefixNumber, Real invertName, Text pad, Real defaultValue)
     5352}}}
     5353  * Descripción:
     5354{{{
     5355
     5356Llama a la funcion DBTableColumn.
     5357}}}
     5358  * Lenguaje:TOL
     5359  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5360
     5361 == Función '''StdLib::SqlEngine::SqlGetNewFilter''' ==
     5362  * Declaración:
     5363{{{
     5364Set StdLib::SqlEngine::SqlGetNewFilter(Set filter, Text tableRef, Text tableAct, Real gestor)
     5365}}}
     5366  * Descripción:
     5367{{{
     5368A partir de un filtro con estructura StSqlFilter sobre una
     5369tabla A, transforma el filtro a un filtro sobre una tabla B, siempre y cuando
     5370está tenga una FK a la primera.
     5371}}}
     5372  * Lenguaje:TOL
     5373  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5374
     5375 == Función '''StdLib::SqlEngine::SqlGetTableParent''' ==
     5376  * Declaración:
     5377{{{
     5378Set StdLib::SqlEngine::SqlGetTableParent(Text table, Text field, Real gestor)
     5379}}}
     5380  * Descripción:
     5381{{{
     5382Dado un par, tabla y campo, devuelve la tabla y el nombre del
     5383campo, donde se definine por primera vez.
     5384}}}
     5385  * Lenguaje:TOL
     5386  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5387
     5388 == Función '''StdLib::SqlEngine::SqlGetTblFie''' ==
     5389  * Declaración:
     5390{{{
     5391Set StdLib::SqlEngine::SqlGetTblFie(Set setTblRel)
     5392}}}
     5393  * Descripción:
     5394{{{
     5395Convierte un conjunto de conjuntos con estructura
     5396StSqlInfoForeing, del tipo:
     5397 Table      Index     Column    ForeignTable   ForeignIndex    ForeignColumn
     5398 table1      ...      t1fieldl  ...            ...             ...
     5399 table1      ...      t1field2  ...            ...             ...
     5400 table1      ...      t1field3  ...            ...             ...
     5401 table2      ...      t2fieldl  ...            ...             ...
     5402 table2      ...      t2field2  ...            ...             ...
     5403 table2      ...      t2field3  ...            ...             ...
     5404en un conjunto con estructura StSqlInfoForeingRed, del tipo:
     5405 Table       SetCol
     5406 table1      SetOfText(t1fieldl,t1field2,t1field3)
     5407 table2      SetOfText(t2fieldl,t2field2,t2field3)
     5408
     5409}}}
     5410  * Lenguaje:TOL
     5411  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5412
     5413 == Función '''StdLib::SqlEngine::SqlGetTblRelFie''' ==
     5414  * Declaración:
     5415{{{
     5416Set StdLib::SqlEngine::SqlGetTblRelFie(Set setTblRel)
     5417}}}
     5418  * Descripción:
     5419{{{
     5420Convierte un conjunto de conjuntos con estructura
     5421StSqlInfoForeing, del tipo:
     5422 Table      Index     Column    ForeignTable   ForeignIndex    ForeignColumn
     5423 table1      ...      t1fieldl  ...            ...             ...
     5424 table1      ...      t1field2  ...            ...             ...
     5425 table1      ...      t1field3  ...            ...             ...
     5426 table2      ...      t2fieldl  ...            ...             ...
     5427 table2      ...      t2field2  ...            ...             ...
     5428 table2      ...      t2field3  ...            ...             ...
     5429en un conjunto con estructura StSqlInfoForeingRed, del tipo:
     5430 Table       SetCol
     5431 table1      SetOfText(t1fieldl,t1field2,t1field3)
     5432 table2      SetOfText(t2fieldl,t2field2,t2field3)
     5433
     5434}}}
     5435  * Lenguaje:TOL
     5436  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5437
     5438 == Función '''StdLib::SqlEngine::SqlInfo''' ==
     5439  * Declaración:
     5440{{{
     5441Set StdLib::SqlEngine::SqlInfo(Anything var, Real gestor, Text format_)
     5442}}}
     5443  * Descripción:
     5444{{{
     5445Informacion de objetos de la Base de Datos.
     5446}}}
     5447  * Lenguaje:TOL
     5448  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5449
     5450 == Función '''StdLib::SqlEngine::SqlInfoColumns''' ==
     5451  * Declaración:
     5452{{{
     5453Set StdLib::SqlEngine::SqlInfoColumns(Text tabla, Real gestor)
     5454}}}
     5455  * Descripción:
     5456{{{
     5457
     5458Set estructurado con información de los campos clave de una tabla.
     5459Parametros: tabla  -> nombre de la tabla
     5460            gestor -> SGBD activo
     5461Devuelve:
     5462  Text Tabla  -> Nombre de la tabla
     5463  Text Indice -> Nombre de la clave primaria
     5464  Text Campo  -> Nombre del campo
     5465
     5466}}}
     5467  * Lenguaje:TOL
     5468  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5469
     5470 == Función '''StdLib::SqlEngine::SqlInfoDependent''' ==
     5471  * Declaración:
     5472{{{
     5473Set StdLib::SqlEngine::SqlInfoDependent(Text tabla, Set columns, Real gestor)
     5474}}}
     5475  * Descripción:
     5476{{{
     5477Información de las tablas que dependen de una tabla dada. La función
     5478recibe un Text y un Set.
     5479Parámetros:
     5480  tabla    -> Text: Nombre de una tabla la Base de Datos
     5481  columns  -> Set : Conjunto de columnas de las cuales se quiere saber
     5482              qué claves externas están relacionadas a ella. Si no se da
     5483              ninguna se asume que son todas las columnas de la tabla.
     5484  gestor   -> SGBD activo
     5485Devuelve un Set de estructuras StSqlInfoForeing
     5486  (Text Table, Text Index, Text Column, Text ForeignTable,
     5487   Text ForeignIndex, Text ForeignColumn)
     5488
     5489}}}
     5490  * Lenguaje:TOL
     5491  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5492
     5493 == Función '''StdLib::SqlEngine::SqlInfoDependentAll''' ==
     5494  * Declaración:
     5495{{{
     5496Set StdLib::SqlEngine::SqlInfoDependentAll(Anything tabla, Real gestor)
     5497}}}
     5498  * Descripción:
     5499{{{
     5500Información de todas las tablas que dependen de una tabla dada. La función
     5501puede recibir un Text o un Set.
     5502Parámetros:
     5503  tabla  -> Text: Nombre de una tabla la Base de Datos
     5504            Set : Conjunto con la estructura 'StSqlInfoForeing
     5505  gestor -> SGBD activo
     5506Devuelve:
     5507  Text Tabla  -> Nombre de la tabla
     5508  Text Clave  -> Nombre de la clave ajena
     5509  Text Campo  -> Nombre del campo
     5510  Text TablaAjena -> Nombre de la tabla a la que hace referencia
     5511  Text ClaveAjena -> Nombre del indice al que hace referencia
     5512  Text CampoAjeno -> Nombre del campo de la tabla ajena al que hace referencia
     5513
     5514}}}
     5515  * Lenguaje:TOL
     5516  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5517
     5518 == Función '''StdLib::SqlEngine::SqlInfoForeign''' ==
     5519  * Declaración:
     5520{{{
     5521Set StdLib::SqlEngine::SqlInfoForeign(Text tabla, Real gestor)
     5522}}}
     5523  * Descripción:
     5524{{{
     5525
     5526Set estructurado con información de las claves ajenas de una tabla.
     5527Parametros: tabla  -> nombre de la tabla
     5528            gestor -> SGBD activo
     5529Devuelve:
     5530  Text Tabla  -> Nombre de la tabla
     5531  Text Clave  -> Nombre de la clave ajena
     5532  Text Campo  -> Nombre del campo
     5533  Text TablaAjena -> Nombre de la tabla a la que hace referencia
     5534  Text ClaveAjena -> Nombre del indice al que hace referencia
     5535  Text CampoAjeno -> Nombre del campo de la tabla ajena al que hace referencia
     5536
     5537}}}
     5538  * Lenguaje:TOL
     5539  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5540
     5541 == Función '''StdLib::SqlEngine::SqlInfoKeys''' ==
     5542  * Declaración:
     5543{{{
     5544Set StdLib::SqlEngine::SqlInfoKeys(Text tabla, Real gestor)
     5545}}}
     5546  * Descripción:
     5547{{{
     5548
     5549}}}
     5550  * Lenguaje:TOL
     5551  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5552
     5553 == Función '''StdLib::SqlEngine::SqlMicGetDependantTables''' ==
     5554  * Declaración:
     5555{{{
     5556Set StdLib::SqlEngine::SqlMicGetDependantTables(Text tabla, Set columns)
     5557}}}
     5558  * Descripción:
     5559{{{
     5560Información de las tablas que dependen de una tabla dada. La función
     5561recibe un Text y un Set.
     5562Parámetros:
     5563  tabla    -> Text: Nombre de una tabla la Base de Datos
     5564  columns  -> Set : Conjunto de columnas de las cuales se quiere saber
     5565              qué claves externas están relacionadas a ella
     5566  gestor   -> SGBD activo
     5567Devuelve un Set de estructuras StSqlInfoForeing
     5568  (Text Table, Text Index, Text Column, Text ForeignTable,
     5569   Text ForeignIndex, Text ForeignColumn)
     5570
     5571}}}
     5572  * Lenguaje:TOL
     5573  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5574
     5575 == Función '''StdLib::SqlEngine::SqlMicInfoColumns''' ==
     5576  * Declaración:
     5577{{{
     5578Set StdLib::SqlEngine::SqlMicInfoColumns(Text tabla)
     5579}}}
     5580  * Descripción:
     5581{{{
     5582Información de los campos de una tabla de Microsoft SQL Server
     5583}}}
     5584  * Lenguaje:TOL
     5585  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5586
     5587 == Función '''StdLib::SqlEngine::SqlMicInfoDependent''' ==
     5588  * Declaración:
     5589{{{
     5590Set StdLib::SqlEngine::SqlMicInfoDependent(Anything tabla)
     5591}}}
     5592  * Descripción:
     5593{{{
     5594Información de las tablas que dependen de una tabla dada en
     5595Microsoft SQL Server. La función puede recibir un Text o un Set.
     5596Parámetros:
     5597  tabla -> Text: Nombre de una tabla la Base de Datos
     5598           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5599}}}
     5600  * Lenguaje:TOL
     5601  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5602
     5603 == Función '''StdLib::SqlEngine::SqlMicInfoDependentAll''' ==
     5604  * Declaración:
     5605{{{
     5606Set StdLib::SqlEngine::SqlMicInfoDependentAll(Anything tabla)
     5607}}}
     5608  * Descripción:
     5609{{{
     5610
     5611Información de todas las tablas que dependen de una tabla dada en
     5612Microsoft SQL Server. La función puede recibir un Text o un Set.
     5613Parámetros:
     5614  tabla -> Text: Nombre de una tabla la Base de Datos
     5615           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5616
     5617}}}
     5618  * Lenguaje:TOL
     5619  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5620
     5621 == Función '''StdLib::SqlEngine::SqlMicInfoForeign''' ==
     5622  * Declaración:
     5623{{{
     5624Set StdLib::SqlEngine::SqlMicInfoForeign(Text tabla)
     5625}}}
     5626  * Descripción:
     5627{{{
     5628Información de las relacciones externas de una tabla de Oracle
     5629}}}
     5630  * Lenguaje:TOL
     5631  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5632
     5633 == Función '''StdLib::SqlEngine::SqlMicInfoKeys''' ==
     5634  * Declaración:
     5635{{{
     5636Set StdLib::SqlEngine::SqlMicInfoKeys(Text tabla)
     5637}}}
     5638  * Descripción:
     5639{{{
     5640Información de los campos clave de una tabla de Microsoft SQL Server
     5641}}}
     5642  * Lenguaje:TOL
     5643  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5644
     5645 == Función '''StdLib::SqlEngine::SqlMysInfoColumns''' ==
     5646  * Declaración:
     5647{{{
     5648Set StdLib::SqlEngine::SqlMysInfoColumns(Text tabla)
     5649}}}
     5650  * Descripción:
     5651{{{
     5652Información de los campos de una tabla de MySql
     5653}}}
     5654  * Lenguaje:TOL
     5655  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5656
     5657 == Función '''StdLib::SqlEngine::SqlMysInfoDependent''' ==
     5658  * Declaración:
     5659{{{
     5660Set StdLib::SqlEngine::SqlMysInfoDependent(Anything tabla)
     5661}}}
     5662  * Descripción:
     5663{{{
     5664Información de las tablas que dependen de una tabla dada en Oracle.
     5665La función puede recibir un Text o un Set.
     5666Parámetros:
     5667  tabla -> Text: Nombre de una tabla la Base de Datos
     5668           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5669}}}
     5670  * Lenguaje:TOL
     5671  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5672
     5673 == Función '''StdLib::SqlEngine::SqlMysInfoDependentAll''' ==
     5674  * Declaración:
     5675{{{
     5676Set StdLib::SqlEngine::SqlMysInfoDependentAll(Anything tabla)
     5677}}}
     5678  * Descripción:
     5679{{{
     5680
     5681Información de todas las tablas que dependen de una tabla dada en Oracle.
     5682La función puede recibir un Text o un Set.
     5683Parámetros:
     5684  tabla -> Text: Nombre de una tabla la Base de Datos
     5685           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5686
     5687}}}
     5688  * Lenguaje:TOL
     5689  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5690
     5691 == Función '''StdLib::SqlEngine::SqlMysInfoForeign''' ==
     5692  * Declaración:
     5693{{{
     5694Set StdLib::SqlEngine::SqlMysInfoForeign(Text tabla)
     5695}}}
     5696  * Descripción:
     5697{{{
     5698Información de las relacciones externas de una tabla de MySql
     5699}}}
     5700  * Lenguaje:TOL
     5701  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5702
     5703 == Función '''StdLib::SqlEngine::SqlMysInfoKeys''' ==
     5704  * Declaración:
     5705{{{
     5706Set StdLib::SqlEngine::SqlMysInfoKeys(Text tabla)
     5707}}}
     5708  * Descripción:
     5709{{{
     5710Información de los campos clave de una tabla de MySql
     5711}}}
     5712  * Lenguaje:TOL
     5713  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5714
     5715 == Función '''StdLib::SqlEngine::SqlOraGetDependantTables''' ==
     5716  * Declaración:
     5717{{{
     5718Set StdLib::SqlEngine::SqlOraGetDependantTables(Text tabla, Set columns)
     5719}}}
     5720  * Descripción:
     5721{{{
     5722Información de las tablas que dependen de una tabla dada. La función
     5723recibe un Text y un Set.
     5724Parámetros:
     5725  tabla    -> Text: Nombre de una tabla la Base de Datos
     5726  columns  -> Set : Conjunto de columnas de las cuales se quiere saber
     5727              qué claves externas están relacionadas a ella
     5728  gestor   -> SGBD activo
     5729Devuelve un Set de estructuras StSqlInfoForeing
     5730  (Text Table, Text Index, Text Column, Text ForeignTable,
     5731   Text ForeignIndex, Text ForeignColumn)
     5732
     5733}}}
     5734  * Lenguaje:TOL
     5735  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5736
     5737 == Función '''StdLib::SqlEngine::SqlOraInfoColumns''' ==
     5738  * Declaración:
     5739{{{
     5740Set StdLib::SqlEngine::SqlOraInfoColumns(Text tabla)
     5741}}}
     5742  * Descripción:
     5743{{{
     5744Información de los campos de una tabla de Oracle
     5745}}}
     5746  * Lenguaje:TOL
     5747  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5748
     5749 == Función '''StdLib::SqlEngine::SqlOraInfoDependent''' ==
     5750  * Declaración:
     5751{{{
     5752Set StdLib::SqlEngine::SqlOraInfoDependent(Anything tabla)
     5753}}}
     5754  * Descripción:
     5755{{{
     5756Información de las tablas que dependen de una tabla dada en Oracle.
     5757La función puede recibir un Text o un Set.
     5758Parámetros:
     5759  tabla -> Text: Nombre de una tabla la Base de Datos
     5760           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5761}}}
     5762  * Lenguaje:TOL
     5763  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5764
     5765 == Función '''StdLib::SqlEngine::SqlOraInfoDependentAll''' ==
     5766  * Declaración:
     5767{{{
     5768Set StdLib::SqlEngine::SqlOraInfoDependentAll(Anything tabla)
     5769}}}
     5770  * Descripción:
     5771{{{
     5772
     5773Información de todas las tablas que dependen de una tabla dada en Oracle.
     5774La función puede recibir un Text o un Set.
     5775Parámetros:
     5776  tabla -> Text: Nombre de una tabla la Base de Datos
     5777           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5778
     5779}}}
     5780  * Lenguaje:TOL
     5781  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5782
     5783 == Función '''StdLib::SqlEngine::SqlOraInfoForeign''' ==
     5784  * Declaración:
     5785{{{
     5786Set StdLib::SqlEngine::SqlOraInfoForeign(Text tabla)
     5787}}}
     5788  * Descripción:
     5789{{{
     5790Información de las relacciones externas de una tabla de Oracle
     5791}}}
     5792  * Lenguaje:TOL
     5793  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5794
     5795 == Función '''StdLib::SqlEngine::SqlOraInfoKeys''' ==
     5796  * Declaración:
     5797{{{
     5798Set StdLib::SqlEngine::SqlOraInfoKeys(Text tabla)
     5799}}}
     5800  * Descripción:
     5801{{{
     5802Información de los campos clave de una tabla de Oracle
     5803}}}
     5804  * Lenguaje:TOL
     5805  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5806
     5807 == Función '''StdLib::SqlEngine::SqlPosGetDependantTables''' ==
     5808  * Declaración:
     5809{{{
     5810Set StdLib::SqlEngine::SqlPosGetDependantTables(Text tabla, Set columns)
     5811}}}
     5812  * Descripción:
     5813{{{
     5814Información de las tablas que dependen de una tabla dada. La función
     5815recibe un Text y un Set.
     5816Parámetros:
     5817  tabla    -> Text: Nombre de una tabla la Base de Datos
     5818  columns  -> Set : Conjunto de columnas de las cuales se quiere saber
     5819              qué claves externas están relacionadas a ella
     5820  gestor   -> SGBD activo
     5821Devuelve un Set de estructuras StSqlInfoForeing
     5822  (Text Table, Text Index, Text Column, Text ForeignTable,
     5823   Text ForeignIndex, Text ForeignColumn)
     5824
     5825}}}
     5826  * Lenguaje:TOL
     5827  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5828
     5829 == Función '''StdLib::SqlEngine::SqlPosInfoColumns''' ==
     5830  * Declaración:
     5831{{{
     5832Set StdLib::SqlEngine::SqlPosInfoColumns(Text tabla)
     5833}}}
     5834  * Descripción:
     5835{{{
     5836Información de los campos de una tabla de Poscle
     5837}}}
     5838  * Lenguaje:TOL
     5839  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5840
     5841 == Función '''StdLib::SqlEngine::SqlPosInfoDependent''' ==
     5842  * Declaración:
     5843{{{
     5844Set StdLib::SqlEngine::SqlPosInfoDependent(Anything tabla)
     5845}}}
     5846  * Descripción:
     5847{{{
     5848Información de las tablas que dependen de una tabla dada en Poscle.
     5849La función puede recibir un Text o un Set.
     5850Parámetros:
     5851  tabla -> Text: Nombre de una tabla la Base de Datos
     5852           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5853}}}
     5854  * Lenguaje:TOL
     5855  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5856
     5857 == Función '''StdLib::SqlEngine::SqlPosInfoDependentAll''' ==
     5858  * Declaración:
     5859{{{
     5860Set StdLib::SqlEngine::SqlPosInfoDependentAll(Anything tabla)
     5861}}}
     5862  * Descripción:
     5863{{{
     5864
     5865Información de todas las tablas que dependen de una tabla dada en Poscle.
     5866La función puede recibir un Text o un Set.
     5867Parámetros:
     5868  tabla -> Text: Nombre de una tabla la Base de Datos
     5869           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5870
     5871}}}
     5872  * Lenguaje:TOL
     5873  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5874
     5875 == Función '''StdLib::SqlEngine::SqlPosInfoForeign''' ==
     5876  * Declaración:
     5877{{{
     5878Set StdLib::SqlEngine::SqlPosInfoForeign(Text tabla)
     5879}}}
     5880  * Descripción:
     5881{{{
     5882Información de las relacciones externas de una tabla de Poscle
     5883}}}
     5884  * Lenguaje:TOL
     5885  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5886
     5887 == Función '''StdLib::SqlEngine::SqlPosInfoKeys''' ==
     5888  * Declaración:
     5889{{{
     5890Set StdLib::SqlEngine::SqlPosInfoKeys(Text tabla)
     5891}}}
     5892  * Descripción:
     5893{{{
     5894Información de los campos clave de una tabla de Poscle
     5895}}}
     5896  * Lenguaje:TOL
     5897  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5898
     5899 == Función '''StdLib::SqlEngine::SqlTableGet''' ==
     5900  * Declaración:
     5901{{{
     5902Set StdLib::SqlEngine::SqlTableGet(Text idTable, Set datWhe)
     5903}}}
     5904  * Descripción:
     5905{{{
     5906Obtiene de la tabla <idTable> el registro asociado a la clave primaria
     5907<datWhe>
     5908}}}
     5909  * Lenguaje:TOL
     5910  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5911
     5912 == Función '''StdLib::SqlEngine::SqlTerGetDependantTables''' ==
     5913  * Declaración:
     5914{{{
     5915Set StdLib::SqlEngine::SqlTerGetDependantTables(Text tabla, Set columns)
     5916}}}
     5917  * Descripción:
     5918{{{
     5919Información de las tablas que dependen de una tabla dada. La función
     5920recibe un Text y un Set.
     5921Parámetros:
     5922  tabla    -> Text: Nombre de una tabla la Base de Datos
     5923  columns  -> Set : Conjunto de columnas de las cuales se quiere saber
     5924              qué claves externas están relacionadas a ella
     5925  gestor   -> SGBD activo
     5926Devuelve un Set de estructuras StSqlInfoForeing
     5927  (Text Table, Text Index, Text Column, Text ForeignTable,
     5928   Text ForeignIndex, Text ForeignColumn)
     5929
     5930}}}
     5931  * Lenguaje:TOL
     5932  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5933
     5934 == Función '''StdLib::SqlEngine::SqlTerInfoColumns''' ==
     5935  * Declaración:
     5936{{{
     5937Set StdLib::SqlEngine::SqlTerInfoColumns(Text tabla)
     5938}}}
     5939  * Descripción:
     5940{{{
     5941Información de los campos de una tabla de Poscle
     5942}}}
     5943  * Lenguaje:TOL
     5944  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5945
     5946 == Función '''StdLib::SqlEngine::SqlTerInfoDependent''' ==
     5947  * Declaración:
     5948{{{
     5949Set StdLib::SqlEngine::SqlTerInfoDependent(Anything tabla)
     5950}}}
     5951  * Descripción:
     5952{{{
     5953Información de las tablas que dependen de una tabla dada en Poscle.
     5954La función puede recibir un Text o un Set.
     5955Parámetros:
     5956  tabla -> Text: Nombre de una tabla la Base de Datos
     5957           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5958}}}
     5959  * Lenguaje:TOL
     5960  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5961
     5962 == Función '''StdLib::SqlEngine::SqlTerInfoDependentAll''' ==
     5963  * Declaración:
     5964{{{
     5965Set StdLib::SqlEngine::SqlTerInfoDependentAll(Anything tabla)
     5966}}}
     5967  * Descripción:
     5968{{{
     5969
     5970Información de todas las tablas que dependen de una tabla dada en Poscle.
     5971La función puede recibir un Text o un Set.
     5972Parámetros:
     5973  tabla -> Text: Nombre de una tabla la Base de Datos
     5974           Set : Conjunto con la estructura 'StSqlInfoForeing'
     5975
     5976}}}
     5977  * Lenguaje:TOL
     5978  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5979
     5980 == Función '''StdLib::SqlEngine::SqlTerInfoForeign''' ==
     5981  * Declaración:
     5982{{{
     5983Set StdLib::SqlEngine::SqlTerInfoForeign(Text tabla)
     5984}}}
     5985  * Descripción:
     5986{{{
     5987Información de las relacciones externas de una tabla de Poscle
     5988}}}
     5989  * Lenguaje:TOL
     5990  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     5991
     5992 == Función '''StdLib::SqlEngine::SqlTerInfoKeys''' ==
     5993  * Declaración:
     5994{{{
     5995Set StdLib::SqlEngine::SqlTerInfoKeys(Text tabla)
     5996}}}
     5997  * Descripción:
     5998{{{
     5999Información de los campos clave de una tabla de Poscle
     6000}}}
     6001  * Lenguaje:TOL
     6002  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/data/db/engine/_ini_engine.tol stdlib/tol/data/db/engine/_ini_engine.tol]
     6003
     6004 == Función '''StdLib::TJMarquardt''' ==
     6005  * Declaración:
     6006{{{
     6007Set StdLib::TJMarquardt(Code fun, Code jacobian, Set initParam, Real tolerance)
     6008}}}
     6009  * Descripción:
     6010{{{
     6011
     6012}}}
     6013  * Lenguaje:TOL
     6014  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_marquardt.tol stdlib/tol/math/optim/_marquardt.tol]
     6015
     6016 == Función '''StdLib::TMarquardt''' ==
     6017  * Declaración:
     6018{{{
     6019Set StdLib::TMarquardt(Code fun, Set initParam, Real tolerance)
     6020}}}
     6021  * Descripción:
     6022{{{
     6023
     6024}}}
     6025  * Lenguaje:TOL
     6026  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/optim/_marquardt.tol stdlib/tol/math/optim/_marquardt.tol]
     6027
     6028 == Función '''StdLib::TableColumns''' ==
     6029  * Declaración:
     6030{{{
     6031Set StdLib::TableColumns(Anything qry_OR_cto)
     6032}}}
     6033  * Descripción:
     6034{{{
     6035
     6036Dada una consulta que devuelve tres campos y sólo tres, crea un conjunto-tabla
     6037donde las columnas serán el primer campo (prefijo), y las filas serán el segundo
     6038(índice).
     6039
     6040La primera fila del Set resultante serán los nombres de los prefijos.
     6041La primera columna del Set resultante serán los nombres de los índices.
     6042¡¡¡ TODO lo que se devuelve dentro del conjunto es de tipo Text !!!, por lo tanto, el
     6043orden que se sigue tanto en los prefijos como en los índices es el lexicográfico;
     6044las máscaras utilizadas en FormatReal() y en FormatDate son las que usa Tol por
     6045defecto.
     6046
     6047}}}
     6048  * Lenguaje:TOL
     6049  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     6050
     6051 == Función '''StdLib::TclLst2TolSet''' ==
     6052  * Declaración:
     6053{{{
     6054Set StdLib::TclLst2TolSet(Text lst, Real level)
     6055}}}
     6056  * Descripción:
     6057{{{
     6058A partir del codigo TCL correspondiente a la definicion de una
     6059lista devuelve el conjunto TOL correspondiente a esa lista.
     6060}}}
     6061  * Lenguaje:TOL
     6062  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/tcl/_tclutils.tol stdlib/tol/gui/tcl/_tclutils.tol]
     6063
     6064 == Función '''StdLib::TclLst2TolSetFull''' ==
     6065  * Declaración:
     6066{{{
     6067Set StdLib::TclLst2TolSetFull(Text lst, Real level, Text grammar, Text struct)
     6068}}}
     6069  * Descripción:
     6070{{{
     6071A partir del codigo TCL correspondiente a la definicion de una
     6072lista devuelve el conjunto TOL correspondiente a esa lista. Utiliza todos
     6073los parámetros definidos en TCL.
     6074}}}
     6075  * Lenguaje:TOL
     6076  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/tcl/_tclutils.tol stdlib/tol/gui/tcl/_tclutils.tol]
     6077
     6078 == Función '''StdLib::TclMixArg''' ==
     6079  * Declaración:
     6080{{{
     6081Set StdLib::TclMixArg(Set defArg, Set valArg)
     6082}}}
     6083  * Descripción:
     6084{{{
     6085Mecla los argumentos por defecto con los argumentos que se van
     6086a pasar a una funcion TOL/TCL
     6087}}}
     6088  * Lenguaje:TOL
     6089  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/tcl/_tclutils.tol stdlib/tol/gui/tcl/_tclutils.tol]
     6090
     6091 == Función '''StdLib::TextFilterNullInternal''' ==
     6092  * Declaración:
     6093{{{
     6094Set StdLib::TextFilterNullInternal(Set setTxt, Real i)
     6095}}}
     6096  * Descripción:
     6097{{{
     6098
     6099}}}
     6100  * Lenguaje:TOL
     6101  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_text.tol stdlib/tol/general/grammars/_text.tol]
     6102
     6103 == Función '''StdLib::TokenizerAll''' ==
     6104  * Declaración:
     6105{{{
     6106Set StdLib::TokenizerAll(Text txt)
     6107}}}
     6108  * Descripción:
     6109{{{
     6110Tokeniza un texto con una tabla prefijada de tokens
     6111}}}
     6112  * Lenguaje:TOL
     6113  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     6114
     6115 == Función '''StdLib::Tpa::doForAssignedTasks''' ==
     6116  * Declaración:
     6117{{{
     6118Set StdLib::Tpa::doForAssignedTasks(Set assign, Code funcCommand)
     6119}}}
     6120  * Descripción:
     6121{{{
     6122Corre en paralelo un comando funcional dado por la funci?n
     6123  Text funcCommand(Real serverNumber, Set tasks)
     6124cuya expresi?n Tol resultante se evaluar? para el servidor serverNumber-?simo de Tpa::_.serverList si el conjunto tasks no es vac?o
     6125}}}
     6126  * Lenguaje:TOL
     6127  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_cycle.tol stdlib/tol/general/system/tpa/_cycle.tol]
     6128
     6129 == Función '''StdLib::Tpa::doForEachServer''' ==
     6130  * Declaración:
     6131{{{
     6132Set StdLib::Tpa::doForEachServer(Code funcCommand)
     6133}}}
     6134  * Descripción:
     6135{{{
     6136Corre en paralelo un comando funcional dado por la funci?n
     6137  Text funcCommand(Real serverNumber)
     6138cuya expresi?n Tol resultante se evaluar? para cada servidor de Tpa::_.serverList
     6139}}}
     6140  * Lenguaje:TOL
     6141  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_cycle.tol stdlib/tol/general/system/tpa/_cycle.tol]
     6142
     6143 == Función '''StdLib::Tpa::doForEachTask''' ==
     6144  * Declaración:
     6145{{{
     6146Set StdLib::Tpa::doForEachTask(Set command)
     6147}}}
     6148  * Descripción:
     6149{{{
     6150Corre en paralelo un conjunto de comandos, es decir, un conjunto de textos con expresiones de TOL, cada una en la misma forma que espera la funci?n Eval. Antes de usar este m?tod hay que configurar Tpa::_.serverList, la lista de servidores, por ejemplo usando el m?todo Tpa::launchServers. Si no hay bastantes servidores para correr todos los comandos a la vez se har?n en varias etapas.
     6151}}}
     6152  * Lenguaje:TOL
     6153  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_cycle.tol stdlib/tol/general/system/tpa/_cycle.tol]
     6154
     6155 == Función '''StdLib::Tpa::initCluster''' ==
     6156  * Declaración:
     6157{{{
     6158Set StdLib::Tpa::initCluster(Text sharedRoot, Real numServ)
     6159}}}
     6160  * Descripción:
     6161{{{
     6162Lanza el numero especificado de servidores distribuidos de forma balanceada entre la lista de maquinas indicada. Primero prueba la velocidad conjunta de conexion y CPU de cada maquina y luego asigna los servidores de forma proporcional a dicha velocidad por el numero de CPU's de cada una
     6163}}}
     6164  * Lenguaje:TOL
     6165  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_server.tol stdlib/tol/general/system/tpa/_server.tol]
     6166
     6167 == Función '''StdLib::Tpa::killServerList''' ==
     6168  * Declaración:
     6169{{{
     6170Set StdLib::Tpa::killServerList(Real unused)
     6171}}}
     6172  * Descripción:
     6173{{{
     6174Termina los servidores remotos de tolsh de _.serverList
     6175}}}
     6176  * Lenguaje:TOL
     6177  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_server.tol stdlib/tol/general/system/tpa/_server.tol]
     6178
     6179 == Función '''StdLib::Tpa::launchServer''' ==
     6180  * Declaración:
     6181{{{
     6182Set StdLib::Tpa::launchServer(Text host, Real port, Real speed)
     6183}}}
     6184  * Descripción:
     6185{{{
     6186Lanza un servidor remoto en la maquina y puerto especificados, como un proceso hijo del correspondiente despachador remoto de tolsh
     6187}}}
     6188  * Lenguaje:TOL
     6189  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_server.tol stdlib/tol/general/system/tpa/_server.tol]
     6190
     6191 == Función '''StdLib::Tpa::loadLastHosts''' ==
     6192  * Declaración:
     6193{{{
     6194Set StdLib::Tpa::loadLastHosts(Real unused)
     6195}}}
     6196  * Descripción:
     6197{{{
     6198
     6199}}}
     6200  * Lenguaje:TOL
     6201  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_server.tol stdlib/tol/general/system/tpa/_server.tol]
     6202
     6203 == Función '''StdLib::Tpa::loadLastServers''' ==
     6204  * Declaración:
     6205{{{
     6206Set StdLib::Tpa::loadLastServers(Real unused)
     6207}}}
     6208  * Descripción:
     6209{{{
     6210
     6211}}}
     6212  * Lenguaje:TOL
     6213  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/system/tpa/_server.tol stdlib/tol/general/system/tpa/_server.tol]
     6214
     6215 == Función '''StdLib::TransferSerSet''' ==
     6216  * Declaración:
     6217{{{
     6218Set StdLib::TransferSerSet(Set transferSet)
     6219}}}
     6220  * Descripción:
     6221{{{
     6222
     6223}}}
     6224  * Lenguaje:TOL
     6225  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/math/stat/models/mle/arima/_fun_general.tol stdlib/tol/math/stat/models/mle/arima/_fun_general.tol]
     6226
     6227 == Función '''StdLib::TransformMet''' ==
     6228  * Declaración:
     6229{{{
     6230Set StdLib::TransformMet(Real type)
     6231}}}
     6232  * Descripción:
     6233{{{
     6234
     6235}}}
     6236  * Lenguaje:TOL
     6237  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/gui/html/_htmlmethods.tol stdlib/tol/gui/html/_htmlmethods.tol]
     6238
     6239 == Función '''StdLib::TrasladaMaxOrigen''' ==
     6240  * Declaración:
     6241{{{
     6242Set StdLib::TrasladaMaxOrigen(Set setSer)
     6243}}}
     6244  * Descripción:
     6245{{{
     6246
     6247}}}
     6248  * Lenguaje:TOL
     6249  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     6250
     6251 == Función '''StdLib::TrasladaMinOrigen''' ==
     6252  * Declaración:
     6253{{{
     6254Set StdLib::TrasladaMinOrigen(Set setSer)
     6255}}}
     6256  * Descripción:
     6257{{{
     6258
     6259}}}
     6260  * Lenguaje:TOL
     6261  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/stdlib/general/grammars/_set.tol stdlib/tol/general/grammars/_set.tol]
     6262
     6263 == Función '''Structure''' ==
     6264  * Declaración:
     6265{{{
     6266Set Structure(Text nombre, Anything campo1 [, Anything campo2, ...])
     6267}}}
     6268  * Descripción:
     6269{{{
     6270Crea un conjunto con una estructura dada y una lista de objetos con el tipo y el orden indicado por dicha estructura. También se puede utilizar directamente el nombre de la estructura como función.
     6271
     6272Ejemplo:
     6273
     6274Struct DatosPersonales
     6275(
     6276        Text Nombre,
     6277        Date Nacimiento,
     6278        Text Procedencia,
     6279        Real Estatura,
     6280        Real Peso
     6281);
     6282
     6283Set s = Structure
     6284(
     6285        "DatosPersonales",
     6286        "Juan Pérez",
     6287        y1953m1d12,
     6288        "Madrid",
     6289        1.78,
     6290        87.6
     6291);
     6292
     6293,o bien ,
     6294
     6295Set s = DatosPersonales
     6296(
     6297        "Juan Pérez",
     6298        y1953m1d12,
     6299        "Madrid",
     6300        1.78,
     6301        87.6
     6302);
     6303
     6304}}}
     6305  * Lenguaje:C++
     6306  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6307
     6308 == Función '''Tcl_Eval''' ==
     6309  * Declaración:
     6310{{{
     6311Set Tcl_Eval(Text script)
     6312}}}
     6313  * Descripción:
     6314{{{
     6315Evalua un script Tcl. El valor de retorno es un Real con dos elementos
     6316    status : un Real indicando éxito (1) or fallo (0)
     6317    result : un Text con el resultado de la evaluación
     6318Ejemplo:
     6319
     6320    Set tcl_res = Tcl_Eval("set tcl_platform(platform)");
     6321    If (tcl_res["status"], WriteLn("Ejecutando en plataforma "+tcl_res["result"]), WriteLn("Error en Tcl_Eval"))
     6322}}}
     6323  * Lenguaje:C++
     6324  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6325
     6326 == Función '''Tcl_EvalEx''' ==
     6327  * Declaración:
     6328{{{
     6329Set Tcl_EvalEx(Set Args)
     6330}}}
     6331  * Descripción:
     6332{{{
     6333Evalua un script Tcl. El valor de retorno es un Real con dos elementos
     6334    status : un Real indicando éxito (1) or fallo (0)
     6335    result : un Text con el resultado de la evaluación
     6336
     6337The script es especificado mediante un Set con el siguiente significado:
     6338    cmd arg1 arg2 ... argn
     6339
     6340Ejemplo:
     6341
     6342    Set tcl_res = Tcl_EvalEx([["set", "tcl_platform(platform)"]]);
     6343    If (tcl_res["status"], WriteLn("Ejecutando en plataforma "+tcl_res["result"]), WriteLn("Error en Tcl_Eval"))
     6344}}}
     6345  * Lenguaje:C++
     6346  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6347
     6348 == Función '''Tokenizer''' ==
     6349  * Declaración:
     6350{{{
     6351Set Tokenizer(Text cadena, Text separador)
     6352}}}
     6353  * Descripción:
     6354{{{
     6355Divide un texto en cada una de las partes separadas por el caracter de separacion dado.
     6356}}}
     6357  * Lenguaje:C++
     6358  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/text_type/txtgra.cpp tol/btol/text_type/txtgra.cpp]
     6359
     6360 == Función '''TransPrev''' ==
     6361  * Declaración:
     6362{{{
     6363Set TransPrev(Set modelo, Date desde, Date hasta, Real numeroPrevisiones)
     6364}}}
     6365  * Descripción:
     6366{{{
     6367Devuelve la serie de previsiones y su matriz de covarianzas de un modelo a partir de una fecha y con una longitud determinada.
     6368}}}
     6369  * Lenguaje:C++
     6370  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/modprev.cpp tol/btol/bmodel/modprev.cpp]
     6371
     6372 == Función '''Traspose''' ==
     6373  * Declaración:
     6374{{{
     6375Set Traspose(Set cto)
     6376}}}
     6377  * Descripción:
     6378{{{
     6379Traspone las filas y columnas de un conjunto-tabla.
     6380}}}
     6381  * Lenguaje:C++
     6382  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6383
     6384 == Función '''TridiagSEPDivideAndConquer''' ==
     6385  * Declaración:
     6386{{{
     6387Set TridiagSEPDivideAndConquer(Matrix M)
     6388}}}
     6389  * Descripción:
     6390{{{
     6391Resuelve el problema de los autovalores para una matriz tridiagonal simetrica usando el metodo 'Divide and Conquer'.
     6392}}}
     6393  * Lenguaje:C++
     6394  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/matrix_type/matgra.cpp tol/btol/matrix_type/matgra.cpp]
     6395
     6396 == Función '''Unique''' ==
     6397  * Declaración:
     6398{{{
     6399Set Unique(Set cto)
     6400}}}
     6401  * Descripción:
     6402{{{
     6403Devuelve el conjunto de los elementos no repetidos de un conjunto dado.
     6404}}}
     6405  * Lenguaje:C++
     6406  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6407
     6408 == Función '''YuleWalkerDurbin''' ==
     6409  * Declaración:
     6410{{{
     6411Set YuleWalkerDurbin(Matrix r)
     6412}}}
     6413  * Descripción:
     6414{{{
     6415Solves the Yule-Walker equations
     6416
     6417         T*y = -R
     6418
     6419where
     6420        r' = (r(0), r(1) ... r(n))
     6421
     6422        R' = (r(1) ... r(n))
     6423
     6424and T is the nxn symmetric toeplitz matrix generated by r
     6425
     6426        T(i,j) = r(|i-j|) i,j=1..n
     6427
     6428This function uses the Durbin algorithm.(Matrix Computation G.H. Golub & C.F. Van Loan, página 196)
     6429}}}
     6430  * Lenguaje:C++
     6431  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/bmodel/estim.cpp tol/btol/bmodel/estim.cpp]
     6432
     6433 == Función '''^''' ==
     6434  * Declaración:
     6435{{{
     6436Set cto^exponente  {Set cto, Real exponente}
     6437}}}
     6438  * Descripción:
     6439{{{
     6440Devuelve la enésima potencia de un conjunto, es decir, el enésimo producto cartesiano de ese conjunto por sí mismo.También se puede utilizar el operador ** o la función Pow.
     6441}}}
     6442  * Lenguaje:C++
     6443  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6444
     6445 == Función '''|''' ==
     6446  * Declaración:
     6447{{{
     6448Set cto1 | cto2  {Set cto1, Set cto2}
     6449}}}
     6450  * Descripción:
     6451{{{
     6452Concatena dos conjuntos-tabla por columnas.
     6453}}}
     6454  * Lenguaje:C++
     6455  * Fuente : [https://www.tol-project.org/browser/tolp/trunk/tol/btol/set_type/setgra.cpp tol/btol/set_type/setgra.cpp]
     6456