-
NameBlock
- Función SetToNameBlock
- Función StdLib::ARMAProcess::Eval.Almagro
- Función StdLib::ARMAProcess::FastCholeskiCovFactor
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Lat.Homog
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Data.Info
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Input
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Output
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Serie.Info
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.TransFun
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Vector.Info
- Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Pri.Homog
- Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::CreateSeriesHandler
- Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadLatNode
- Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadModelDef
- Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadNodeConstraints
- Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadObsNode
- Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadPriNode
- Función …
- Función …
- Función StdLib::BysMcmc::Bsr::Gibbs::ArimaBlock
- Función StdLib::BysMcmc::Bsr::Gibbs::BasicMaster
- Función StdLib::BysMcmc::Bsr::Gibbs::BsrAsBlock
- Función StdLib::BysMcmc::Bsr::Gibbs::DeltaTransfer
- Función StdLib::BysMcmc::Bsr::Gibbs::InputMissingBlock
- Función StdLib::BysMcmc::Bsr::Gibbs::NoNotifier
- Función StdLib::BysMcmc::Bsr::Gibbs::NonLinBlock
- Función StdLib::BysMcmc::Bsr::Gibbs::NonLinMaster
- Función StdLib::BysMcmc::Bsr::Gibbs::OutputMissingBlock
- Función StdLib::BysMcmc::Bsr::Gibbs::ProbitFilter
- Función StdLib::BysMcmc::Bsr::Gibbs::SigmaBlock
- Función StdLib::BysMcmc::Bsr::Gibbs::StdLinearBlock
- Función StdLib::BysMcmc::Bsr::Import::Constraints
- Función StdLib::BysMcmc::Bsr::Import::Explicit.Constraints
- Función StdLib::BysMcmc::Bsr::Import::Generic.Constraints
- Función StdLib::BysMcmc::Bsr::Import::Order.Relations
- Función StdLib::BysMcmc::Bsr::Import::Unconstrained
- Función StdLib::BysMcmc::Bsr::OneNode::EstimProbit
- Función StdLib::BysMcmc::BuildCycler
- Función StdLib::BysMcmc::BuildFullConfig
- Función StdLib::BysMcmc::DefineBlock
- Función StdLib::BysMcmc::Get.Recover
- Función StdLib::DBConnect::Create
- Función StdLib::SolvePrecondSym
- Función StdLib::SolvePrecondUnsym
- Función StdLib::Timer::Start
NameBlock
Funciones que devuelven NameBlock
Función SetToNameBlock
- Declaración:
NameBlock SetToNameBlock(Set set)
- Descripción:
Convierte un Set en un NameBlock
- Lenguaje:C++
- Fuente : tol/btol/bgrammar/nameblock.cpp
Función StdLib::ARMAProcess::Eval.Almagro
- Declaración:
NameBlock StdLib::ARMAProcess::Eval.Almagro(Polyn ar, Polyn ma, VMatrix z_, Real sigma)
- Descripción:
Given an ARMA process ar(B)*z[t] = ma(B)*a[t] builds these methods: Draw.U_cond_Z: generate random initial values conditioned to noise LogLH.Z_cond_U: conditional likelihood of noise conditioned to given initial values .
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/arima/_arma_process.tol
Función StdLib::ARMAProcess::FastCholeskiCovFactor
- Declaración:
NameBlock StdLib::ARMAProcess::FastCholeskiCovFactor(Polyn ar_, Polyn ma_, Real m_)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/arima/_arma_process.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Lat.Homog
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Lat.Homog(Text name, Real initValue, Real sigma, Real lowerBound, Real upperBound, Set lowLevelParam, NameBlock constraints)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.lat.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs(NameBlock output, Set input, Set transFun, Set input.missing.labels, NameBlock constraints, Real forceZeroInputCoef)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Data.Info
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Data.Info(Text id_node, Text name, Anything serie, Real numIniVal, Date first, Date last, Text missing.label, Real missing.sigmaFactor, Real missing.lowerBound, Real missing.upperBound)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Input
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Input(Text id_parameter, NameBlock serie.info, Real initValue, Real param.lowerBound, Real param.upperBound)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Output
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Output(NameBlock serie.info, Real sigma, Real sigmaPriorWeight, Set arima)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Serie.Info
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Serie.Info(Text id_node, Text name, Serie serie, Real numIniVal, Date first, Date last, Text missing.label, Real missing.sigmaFactor, Real missing.lowerBound, Real missing.upperBound)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.TransFun
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.TransFun(Text id_node, Text id_transferFunction, Text te_omega, Text te_delta, NameBlock serie.info, Real initValue, Real param.lowerBound, Real param.upperBound)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Vector.Info
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Obs.Vector.Info(Text id_node, Text name, Matrix serie, Text missing.label, Real missing.sigmaFactor, Real missing.lowerBound, Real missing.upperBound)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.obs.tol
Función StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Pri.Homog
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::BuildNode::Pri.Homog(Text name, Real average, Real sigma, Set lowLevelParam)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_build.node.pri.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::CreateSeriesHandler
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::CreateSeriesHandler(Set obs.node.handlers)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadLatNode
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadLatNode(Text dbName, Text model, Text session, Text id_node)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadModelDef
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadModelDef(Text dbName, Text model, Text session, Text resultRootPath, NameBlock modelHandler)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadNodeConstraints
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadNodeConstraints(Text dbName, Text model, Text session, Text id_node)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadObsNode
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadObsNode(Text dbName, Text model, Text session, Text id_node, NameBlock modelHandler, Set input.missing.labels)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadPriNode
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::LoadPriNode(Text dbName, Text model, Text session, Text id_node)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.load.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::ModSes.Lat.Child.Param.Def
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::ModSes.Lat.Child.Param.Def(Text id_node, Text id_parameter, Real sigma_factor)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.modses.lat.tol
Función StdLib::BysMcmc::Bsr::DynHlm::DBApi::ModSes.Lat.Father.Param.Def
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::DynHlm::DBApi::ModSes.Lat.Father.Param.Def(Text id_parameter, Real init_value, Real min, Real max)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.modses.lat.tol
Función StdLib::BysMcmc::Bsr::Gibbs::ArimaBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::ArimaBlock(Text name, Set NoiseDistrib, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_arimaBlock.tol
Función StdLib::BysMcmc::Bsr::Gibbs::BasicMaster
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::BasicMaster(Set modelDef, NameBlock config)
- Descripción:
Builds a NameBlock that can draw a Gibbs sample of a Bayesian Sparse Regression model by passing it to method BysMcmc::BuildCycler
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_basicMaster.tol
Función StdLib::BysMcmc::Bsr::Gibbs::BsrAsBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::BsrAsBlock(NameBlock bsrInstance, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_bsrAsBlock.tol
Función StdLib::BysMcmc::Bsr::Gibbs::DeltaTransfer
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::DeltaTransfer(Text segmentName, Text inputName, Set linBlkNames, Polyn omega, Polyn delta, Matrix x0, Matrix x)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_deltaTransfer.tol
Función StdLib::BysMcmc::Bsr::Gibbs::InputMissingBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::InputMissingBlock(Text name, Set inputMissingBlock, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_inputMissingBlock.tol
Función StdLib::BysMcmc::Bsr::Gibbs::NoNotifier
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::NoNotifier(Real 0)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_estim.tol
Función StdLib::BysMcmc::Bsr::Gibbs::NonLinBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::NonLinBlock(NameBlock filterEval, NameBlock bsr, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_nonLinBlock.tol
Función StdLib::BysMcmc::Bsr::Gibbs::NonLinMaster
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::NonLinMaster(Set modelDef, Set nonLinFilter, NameBlock config)
- Descripción:
Builds a NameBlock that can draw a Gibbs sample of a Bayesian Sparse Regression model with non linear blocks by passing it to method BysMcmc::BuildCycler
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_nonLinMaster.tol
Función StdLib::BysMcmc::Bsr::Gibbs::OutputMissingBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::OutputMissingBlock(Text name, Set outputMissingBlock, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_outputMissingBlock.tol
Función StdLib::BysMcmc::Bsr::Gibbs::ProbitFilter
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::ProbitFilter(Real enabled, Text segmentName, Anything origOutput, Date firstDate, Date lastDate)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_probitFilter.tol
Función StdLib::BysMcmc::Bsr::Gibbs::SigmaBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::SigmaBlock(Text name, Set NoiseDistrib, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_sigmaBlock.tol
Función StdLib::BysMcmc::Bsr::Gibbs::StdLinearBlock
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Gibbs::StdLinearBlock(Text name, Set colNames, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/gibbs/_stdLinearBlock.tol
Función StdLib::BysMcmc::Bsr::Import::Constraints
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Import::Constraints(Set order.relations, Set generic.constraints, Set explicit.constraints)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_import.tol
Función StdLib::BysMcmc::Bsr::Import::Explicit.Constraints
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Import::Explicit.Constraints(Set explicit.constraints)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_import.tol
Función StdLib::BysMcmc::Bsr::Import::Generic.Constraints
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Import::Generic.Constraints(Set generic.constraints)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_import.tol
Función StdLib::BysMcmc::Bsr::Import::Order.Relations
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Import::Order.Relations(Set order.relations)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_import.tol
Función StdLib::BysMcmc::Bsr::Import::Unconstrained
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::Import::Unconstrained(Real unused)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_import.tol
Función StdLib::BysMcmc::Bsr::OneNode::EstimProbit
- Declaración:
NameBlock StdLib::BysMcmc::Bsr::OneNode::EstimProbit(NameBlock data, NameBlock config_)
- Descripción:
Estimates a probit model with just one node, usually observational and dense.Model is defined as a BSR basic and an non linear ProbitFilter.BSR will be built from simplified data argument matching the same API used by BysMcmc::Bsr::Gibbs::EstimOneNode, fixing _.sigma to 1NameBlock data = [[ //Mandatory members Set _.docInfo //BSR.DocInfo Text _.segmentName; //Node name Set _.linearParamInfo; //Set of Bsr.OneNode.LinearParamInfo Anything _.Y; //Output data (Matrix or VMatrix) Anything _.X; //Input data (Matrix or VMatrix) Real _.sigma = 1; //Sigma value or ? to simulate it //Optional members Set _.orderRelation; //Set of Bsr.OrderRelation.Info Set _.arima; //Set of ARIMAStruct Set _.timeInfo; //Set of BSR.NoiseTimeInfo ]];
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/bsr/_oneNode.tol
Función StdLib::BysMcmc::BuildCycler
- Declaración:
NameBlock StdLib::BysMcmc::BuildCycler(NameBlock modelSampler, NameBlock config, NameBlock notifier)
- Descripción:
Builds a NameBlock that is able to generate a Markov Chain of a model by cycling calls of a given individual drawer and gives a set of tools to make Bayesian Inference about it. NameBlock modelSampler is a handler of the model to be simulated and must have at least these public methods: Text get.name (Real unused); //Model name Text get.session (Real unused); //Session tag name Text get.path (Real unused); //Path to store Markov Chain as BBM Set get.colNames (Real unused); //Names of Markov Chain variables Matrix draw (Real numSim); //Draws a simulation of Markov Chain
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/_build.tol
Función StdLib::BysMcmc::BuildFullConfig
- Declaración:
NameBlock StdLib::BysMcmc::BuildFullConfig(NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/_bysMcmc.tol
Función StdLib::BysMcmc::DefineBlock
- Declaración:
NameBlock StdLib::BysMcmc::DefineBlock(Text name, Set colNames, Real numBlock, Real firstCol, NameBlock config)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/_defineBlock.tol
Función StdLib::BysMcmc::Get.Recover
- Declaración:
NameBlock StdLib::BysMcmc::Get.Recover(Text rootPath, Text id_model, Text id_session)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/math/stat/models/bayesian/bysMcmc/_build.tol
Función StdLib::DBConnect::Create
- Declaración:
NameBlock StdLib::DBConnect::Create(Text alias, Text user, Text password, Text driver, Text defaultDataBase, Text server, Text purpose)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/data/db/_db_connect.tol
Función StdLib::SolvePrecondSym
- Declaración:
NameBlock StdLib::SolvePrecondSym(VMatrix M, Real do.normalize)
- Descripción:
Soves a symmetric linear system, that could be large, sparse and ill-conditioned, in a robust and fast way by applying diagonal additive preconditioner of previously normalized system foilowing these steps: 1. Original symmetric system M*z = y is previously normalized by non null elements of root squares of diagonal elements of M that will called D: S*u = v where S=Di*M*Di; Di=D^-1; u=D*x; v=Di*y Then Di*M*Di*D*x = Di*y <=> M*x=y 2. A digonal preconditioner (S+c*I)^-1 will be built to be (S+c*I)^-1*S close to identity and number c is found to be the lesser than S+c*I admits Choleski decomposition S+c*I = L*L'. 3. Preconditioned system is solved by Lanczos iterative method with partial reorthogonalization MinimumResidualsSolve. Preconditioner is stored as a Code operator using just sparse matrix L to avoid store ((S+c*I)^-1)*S that is not neccessary so sparse as S nor L. 4. Solution is denormalized to solve original problem. Normalization is an optional task that is specified by argument do.normalize If M is numerically definite positive (c=0) then CholeskiSolve will be used directly if argument forze.lanczos of Solve method is true. Using instructions to solve M*x=y : //Builds preconditioning handler with normalization NameBlock SPDP = SymPosDefPrecond(H, True); //Finds optimal preconditioner Real SPDP::ScaleOptimize(1.E-7); //Solves the system NameBlock solution = SPDP::Solve(y,1.E-10,True); //Takes the solution matrix VMatrix x = solution::_.x;
- Lenguaje:TOL
- Fuente : stdlib/tol/math/linalg/_solve_precond_sym.tol
Función StdLib::SolvePrecondUnsym
- Declaración:
NameBlock StdLib::SolvePrecondUnsym(VMatrix M, Real do.normalize)
- Descripción:
Soves an unsymmetric overdetermined linear system, that could be large, sparse and ill-conditioned, in a robust and fast way by applying diagonal additive preconditioner of previously normalized system foilowing these steps: 1. Original unsymmetric system M*z = y is previously normalized by non null elements of root squares of diagonal elements of M'M that will called D: H*u = y where H=M*Di; Di=D^-1; u=D*x; 2. A digonal expansion preconditioner Hc=(H<<c*I)^-1 will be built to be Hc'*Hc=(S+c*I)^-1*S; where S=H'*H close to identity and number c is found to be the lesser than H<<c*I admits Choleski decomposition S+c*I = Lc*Lc'. 3. Preconditioned system is solved by Lanczos iterative method with partial reorthogonalization MinimumResidualsSolve. Preconditioner is stored as a Code operator using just sparse matrix Lc to avoid store ((S+c*I)^-1)*S that is not neccessary so sparse as S nor L. 4. Solution is denormalized to solve original problem. Using instructions to solve M*x=y : //Builds preconditioning handler NameBlock SPDP = SymPosDefPrecond(H); //Finds optimal preconditioner Real SPDP::ScaleOptimize(1.E-7); //Solves the system NameBlock solution = SPDP::Solve(y,1.E-10); //Takes the solution matrix VMatrix x = solution::_.x;
- Lenguaje:TOL
- Fuente : stdlib/tol/math/linalg/_solve_precond_unsym.tol
Función StdLib::Timer::Start
- Declaración:
NameBlock StdLib::Timer::Start(Text msg)
- Descripción:
- Lenguaje:TOL
- Fuente : stdlib/tol/general/various/_timer.tol
Last modified 16 years ago
Last modified on Feb 27, 2009, 5:50:05 PM