What is new in Tol 1.1.7
The main contributions of Tol 1.1.7 are
- consolidation of NameBlock
- new data type VMatrix and
- new package for Bayesian Sparse Regression (BSR)
Kernel
- Calling ShowCallStack when errors are displayed
- Enhancement of BFSMEM memory assignation checking to avoid some invalid accesses
- New feature TolOprProfiler to get performance profiling of called TOL functions
- New BCore::MemAssignInfo to have a simpler way to detect and avoid some memory leakks by using BFSMEM system
- Adding explicit field BGrammar precedence_ to select the lesser one in case of ambiguity
- Priorized optional types for arguments of built-in functions
- Forcing no lazy behaviour in constructor of special series
- Fixes the function description field for DBClose.
- Bringing "Tol Extensions Loader" back to live.
- New StdLib::CMsg: Controlled Messages is a system to handling with any type of messages to end user in a controlled way
System tools
- New function OSFilCat that concats a set of files in a new one
- New built-in function FileCat
- Adding NameBlock Tpa (Tol Parallel Api) to handle with tolsh servers
- New functions RecDir.Count.Line and RecDir.Count.Char to count recursively number of lines and characters of specified files under a directory
- Fixed bug in ReportAllBatteries that avoids uptol to work fine with some paths
- New Input/Output built-in TOL functions (enhancement bug 555) See examples of use test_001 and test_002
- SysErrNum: Returns the system error code corresponding to the last happened error
- SysErrMsg: Returns the system error message corresponding to a specified code.
- FOpen: Opens a file using C function fopen and returns an integer value, which is used to refer to the file
- FGetText: Reads a string from a file until the character delim is readed, maxSize characters are reached or file ends
- FPutText: Writes a string in a open file
- FEof: Tests the end-of-file indicator for the stream pointed to by stream, returning non-zero EOF value if it is set
- FFlush: The function FFlush forces a write of all user-space buffered data for the given output or update stream via the stream's underlying write function
- FClose: Closes the file associated with handle that was the result of calling FOpen. The function returns 0 if successful, EOF to indicate an error
OIS
- Ois.DefRoot can be defined as Operative System environment variable Ois.DefRoot or Ois_DefRoot to allow use it at linux.
- Fixing bug 520 by using an optional parameter Real oisHasPriorityOnConflict in Ois.Load.
- If oisHasPriorityOnConflict is false then, when a referenceable object exist already with the same name of an object inside an OIS image, the older object will be used instead of OIS one. This option could be usefull, for example, to recover old OIS images with damaged objects, as a dating that has been bounded between default dates at building time. If oisHasPriorityOnConflict is true, that's default behaviour, OIS object will be used to reproduce exactly as was built.
Polyn
- Fixed bug in IsStationary that failed when the polynomial has zero coefficients
NameBlock
- Adding Text _.autodoc.member.<member_name> to a NameBlock force that this member has this text as description
- NameBlock members must treated as global or system variables when are used as the dating of a time serie
- Global functions must set !NameBlock::current_ to NULL to avoid invalid access to members
Set
- New built-in function HasIndexByName to ask if a Set is indexed by name
- New method StdLib::getOptArg to work with sets of optional arguments
- A new extended API for Classify
- New built-in function FindIndexByName to get the position in a indexed by name set of an element knowing its name.
- Best comparing of sets
Text
- New function StdLib::RegReplace in order to do substitutions with regular expressions
Time Algebra
- New robust and fast (log-lineal) implementation of SuccSuccessor and SuccPredecessor
- Adding TimeSet Decanual and TenYearly
- New built-in variable Real CpuClock that returns the CPU usage elapsed in seconds from session started
- Now Real Time returns the time elapsed in seconds from session started.
Matrix algebra
- Allowing dense-sparse operations with CholeskiSolve
- New built-in function Sort
- New thinnig parameter for BinReadRows
- New built-in function MatReadDimensions
- New VMatrix functions DifEq and BackDifEq with or without specific initial values
- Allowing convertion between VMatrix Blas.R.Dense and Cholmod.R.Sparse and viceverse
- Fixed bug in default argument Y0 for DifEq and BackDifEq
- Fixed bug in PreProdDiag
- Applying faster matrix cycling methos to some functions
- Forzing LLt transformation and other MatLab lchol options
- Adding methods related to difference equations
- New methods IsFinite nd InUnknown
- New built-in functions Pol2VMat, SubBand
- Forzing Structure Alignement to 8 for cholmod.h
- Checking dimensions on MatProd
- New internal method replicateTriang
- Fixed bug in dpotri that was returned as triangular instead of symmetric
- Fixed bug inBDBClassify
- New TOL data type VMatrix to handle with sparse and dense matrices all together. This type is
not completely developped and is a feature in testing state. Please, handle with care!
- Current matrix subtypes are CHOLMOD sparse, factor and triplet and BLAS column major dense.
- System has been designed to be easily upgraded with new subtypes as Toeplitz, Hankel, Vandermonde, ...
- There are all kind of matrix related operations, not all developed already, that has been implemented to be the more efficient and the more transparent for the end user. System can convert internally, if needed, from dense to sparse, sparse to triplet, etc.; to make an operation be posible or faster between differently stored matrices
- arithmetic: sum, rest, product, ...
- linear algebra: Choleski decomposition and system solving, ...
- access and building: cell, band and block access, concatenation, ...
- input/output: (including OIS storement) etc)
- API of TOL for using BLAS and LAPACK functions
- Using BLAS dgemm in generic matrix products
- Using BLAS dsyrk in MtMSqr
- Using BLAS dtrmm in triangular matrix products
- Using BLAS dtrsm in TrSolve, LTSolve and LTInverse
- Using LAPACK dpotrf in choleski method
- Using LAPACK dpotrf and dpotri in CholeskiInverse
- Using BLAS-LAPACK methods in LinearRegression and LinReg
- Using open source ATLAS as default implementation of BLAS and LAPACK
- Adding new method InnerPoint to get a point matching a system of linear inequations
- Fixing bug 522. Ensuring access to valid cells in Matrix Sub.
- Added warning message of invalid access at MatDat and PutMatDat
Statistics
- New Matrix Quantile API to get a set of quantiles saving time
- New built-in function ARIMAAlmagroEval for evaluation of logarithm of likelihood of ARIMA models
- Avoiding white noise model in ARMAAutoCovarianzeVector
- Using faster LevinsonARMA instead of standard Levinson
- Fixed bug calculating logLH in ARIMALevinsonEval. The error did not change the maximum of likelihood.
- ARIMA MLE method Estimate is internally evaluated in local scope to avoid export unexpected symbols
- BLR:New strategy simulation that offers a much better efficiency without any loss of accuracy or numerical strength stdlib/math/stat/models/bayesian/linear/_blrc_kernel.tol
- NameBlok's to call R
- Rapi: TOL API for R stdlib/math/R
- Rglpk: an interface to the GNU Linear Programing Kit for solving large-scale linear programming (LP), mixed integer linear programming (MILP) and other related problems stdlib/math/optim/LP
- Rquadprog: Functions to solve Quadratic Programming Problems (stdlib/math/optim/QP)
- RCoda: output analysis and diagnostics for MonteCarlo Markov Chains (MCMC) (stdlib/math/stat/models/bayesian/diagnosis)
- New StdLib::Rkde: API between TOL and R KDE (Kernel Density Estimation)
- New StdLib::BysMcmc: Generic Bayesian MonteCarlo Markov Chain Methods and applications
- New StdLib::BysMcmc:BSR (Bayesian Sparse Regression)
- Estimates a sparse linear, constrained or not, regression by MCMC Gibbs method
- Can use Boost Spirit to parse a human-like-formated description of the model
- Stores data as sparse CHOLMOD matrix and implements all steps
- The system is designed to be easily upgraded to handle with non linearities (missing data, ARIMA, decaying transfer functions, heterocedasticity, ...)
- BSR new blocks: Input and output missing, ARIMA
- Handling with vectorial or time series data in a transparent way
- Non linear filters of output and input
- Handling with normal prior information about parameters of non linear filters. Prior information is given as a log density additive function
- Avoiding to store all nodes to save memory
- Enhanced SQL scripting
- Storing failed factorization matrix
- Allowing fixed sigma in observational nodes
- User can specify the number of simulations to be resumed (do.resume>0) or las simulations to be skiped (do.resume<0)
- Adding SLICE scalar sampler
- New API OneNode to define simple BSR models with just one observational node and optional prior information and order relations
- New non linear filter for probit models
- Ensuring input matrix has changed. Else it will reuse old factorization
- Allowing Inverse-Gamma prior over of BSR segments
- Using faster method LogDens.Almagro.Z_cond_U in draw.ARMS
- New BSR specialization DynHlm for Dynamic Hierarchical Linear Model
- New general API for importing model definition
- New methods BysMcmc::Bsr::Gibbs::Estim and Bsr::Gibbs::Instance(...)::eval
- Adding optional time info assigned to each segment of noise
- Adding and grouping documental information
- New option
Text bsr.arimaFilter = BysMcmc::Options::Arima.Filter::FastCholSea;
to speed up simulation of ARMA with large period - New option
Real bsr.arimaSkipIter
to skeep iteratios of ARMA block
- New AlgLib Hypothesis testing:
- AlgLib.JarqueBeraTest
- AlgLib.StudentTtest1
- AlgLib.StudentTtest2
- AlgLib.UnequalVarianceTTest
- AlgLib.OneSampleSignTest
- AlgLib.WilcoxonSignedRankTest
- AlgLib.MannWhitneyUtest
- AlgLib.VarianceChiSquareTest
- AlgLib.VarianceFTest
- AlgLib.PearsonCorrelationSignificance
- AlgLib.SpearmanRankCorrelationSignificance
- AlgLib.Mann.Whitney.U.test
TCL
- Tcl_EvalEx, accept a Set as a Tcl command
- Supporting NameBlock's
Last modified 16 years ago
Last modified on Mar 11, 2009, 6:46:08 PM