Changeset cd6eddb in tol
- Timestamp:
- Oct 28, 2009, 2:01:15 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 6660b96
- Parents:
- 309f0d5
- File:
-
- 1 edited
-
tol/btol/real_type/datgrav.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/real_type/datgrav.cpp
r309f0d5 rcd6eddb 1482 1482 } 1483 1483 1484 static BText _comment_diffDist_ = BText("\n")+ 1485 I2("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 1490 static BText _comment_tolerance_ = BText("\n")+ 1491 I2("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 1497 static BText _comment_maxIter_ = BText("\n")+ 1498 I2("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"); 1484 1502 1485 1503 //-------------------------------------------------------------------- … … 1490 1508 I2("Returns the first derivative of a function in x." 1491 1509 "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_, 1493 1512 BOperClassify::NumericalAnalysis_); 1494 1513 void BDatNFirstDer::CalcContens() … … 1511 1530 "(Code f, Real x)"), 1512 1531 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_, 1514 1534 BOperClassify::NumericalAnalysis_); 1515 1535 void BDatNSecondDer::CalcContens() … … 1518 1538 BCode& code = Code(Arg(1)); 1519 1539 BDat x = Dat (Arg(2)); 1520 BDat t = BDat::Tolerance();1521 if(Arg(3)) { t = Dat (Arg(3)); }1522 1540 BRRCode f(code); 1523 1541 contens_ = f.SecondDerivative(x); … … 1601 1619 DefExtOpr(1, BDatNewtonSolve, "NewtonSolve", 2, 3, "Code Real Real", 1602 1620 "(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_, 1606 1630 BOperClassify::NumericalAnalysis_); 1607 1631 void BDatNewtonSolve::CalcContens() … … 1616 1640 1617 1641 1618 1619 1642 //-------------------------------------------------------------------- 1620 1643 DeclareContensClass(BDat, BDatTemporary, BDatNewtonMaxMin); … … 1622 1645 I2("(Code f, Real x)", 1623 1646 "(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_, 1626 1656 BOperClassify::NumericalAnalysis_); 1627 1657 void BDatNewtonMaxMin::CalcContens()
Note: See TracChangeset
for help on using the changeset viewer.
