Changeset cd6eddb in tol


Ignore:
Timestamp:
Oct 28, 2009, 2:01:15 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
6660b96
Parents:
309f0d5
Message:

Enhanced descriptions of some numerical methods

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1576 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/real_type/datgrav.cpp

    r309f0d5 rcd6eddb  
    14821482}
    14831483
     1484static BText _comment_diffDist_ = BText("\n")+
     1485I2("You can modify differential step used in calculations by "
     1486   "means of global variable DiffDist",
     1487   "Es posible modificar el tamaño de paso diferencial utilizado "
     1488   "para los cálculos con la variable global Real DiffDist");
     1489
     1490static BText _comment_tolerance_ = BText("\n")+
     1491I2("You can modify the minimum enhancement between consecutive "
     1492   "iterations by means of global variable Tolerance",
     1493   "Es posible especificar la mínima mejora entre iteraciones "
     1494   "consecutivas necesaria para continuar con la variable global "
     1495   "Real Tolerance");
     1496
     1497static BText _comment_maxIter_ = BText("\n")+
     1498I2("You can modify the maximum number of iterations by means of "
     1499   "global variable MaxIter",
     1500   "Es posible especificar el máximo número de iteraciones "
     1501   "con la variable global Real MaxIter");
    14841502
    14851503//--------------------------------------------------------------------
    … …  
    14901508  I2("Returns the first derivative of a function in x."
    14911509     "with a given tolerance",
    1492      "Devuelve la derivada primera numérica de una función en x."),
     1510     "Devuelve la derivada primera numérica de una función en x.")+
     1511  _comment_diffDist_,
    14931512     BOperClassify::NumericalAnalysis_);
    14941513  void BDatNFirstDer::CalcContens()
    … …  
    15111530     "(Code f, Real x)"),
    15121531  I2("Returns the numérical second derivative of a function in x.",
    1513      "Devuelve la derivada segunda numérica de una función en x."),
     1532     "Devuelve la derivada segunda numérica de una función en x.")+
     1533  _comment_diffDist_,
    15141534     BOperClassify::NumericalAnalysis_);
    15151535  void BDatNSecondDer::CalcContens()
    … …  
    15181538  BCode&  code = Code(Arg(1));
    15191539  BDat    x    = Dat (Arg(2));
    1520   BDat    t    = BDat::Tolerance();
    1521   if(Arg(3)) { t = Dat (Arg(3)); }
    15221540  BRRCode f(code);
    15231541  contens_ = f.SecondDerivative(x);
    … …  
    16011619  DefExtOpr(1, BDatNewtonSolve, "NewtonSolve", 2, 3, "Code Real Real",
    16021620  "(Code f, Real x0 [, Real y=0])",
    1603   I2("Solves the equation f(x) = y using the Newton method begining at x0.",
    1604      "Resuelve la ecuación f(x) = y usando el método de Newton con valor "
    1605      "inicial x0."),
     1621  I2("Solves the equation 'f(x)=y' using the Newton-Raphson iterative "
     1622     "method with numerical derivatives (secant method) starting at "
     1623     "initial value x0.",
     1624     "Resuelve la ecuación 'f(x)=y' usando el método iterativo de "
     1625     "Newton-Raphson con derivadas numéricas (método de la secante) y "
     1626     "comenzando con valor inicial x0.")+
     1627  _comment_diffDist_+
     1628  _comment_maxIter_+
     1629  _comment_tolerance_,
    16061630     BOperClassify::NumericalAnalysis_);
    16071631  void BDatNewtonSolve::CalcContens()
    … …  
    16161640
    16171641
    1618 
    16191642//--------------------------------------------------------------------
    16201643  DeclareContensClass(BDat, BDatTemporary, BDatNewtonMaxMin);
    … …  
    16221645  I2("(Code f, Real x)",
    16231646     "(Code f, Real x)"),
    1624   I2("Solves the equation f'(x) = 0 using the Newton method.",
    1625      "Resuelve la ecuacion f'(x) = 0 usando el método de Newton."),
     1647  I2("Solves the equation 'f(x)=y' using the Newton-Raphson iterative "
     1648     "method with numerical derivatives (secant method) starting at "
     1649     "initial value x0.",
     1650     "Resuelve la ecuacion 'f(x)=y' usando el método iterativo de "
     1651     "Newton-Raphson con derivadas numéricas (método de la secante) y "
     1652     "comenzando con valor inicial x0.")+
     1653  _comment_diffDist_+
     1654  _comment_maxIter_+
     1655  _comment_tolerance_,
    16261656     BOperClassify::NumericalAnalysis_);
    16271657  void BDatNewtonMaxMin::CalcContens()
Note: See TracChangeset for help on using the changeset viewer.