| Author |
Comment/Response |
Lorena Segura
|
08/23/01 03:43am
Me gustaría que alguien me contestara sobre el siguiente asunto.
Estoy implementando un pequeño algoritmo, y me ha surgido el siguiente
problema:
He utilizado la función FindMinimum, para encontrar el mínimo de una
función y como sabes dicha función devuelve el resultado en el siguiente
formato
{y0, {x0->numero}}, donde x0 es el punto de abscisa donde se alcanza el
mínimo e y0 es el valor de la función en x0. Entonces mi problema es que
quiero acceder al valor del número, pero resulta que el programa
considera {x0->numero}como el elemento de una lista (como un todo) y me
es imposible acceder al valor del número.
Me gustaria que me contestara lo antes posible.
Agradezco el interés.
Gracias
Lorena Segura.
(* Moderator's Note: Here is what one of the Web based translation pages does with Lorena's post (with a couple of my own changes*)
I would like that somebody answered to me on the following subject. I am implementing a small algorithm, and the following problem has arisen me: I have used the FindMinimum function, to find the minimum of a function and as you know to this function devu elve the result in the following format { y0, { x0->numero } }, where x0 is the abscissa point where the minimum is reached and y0 is the value of the function at x0.
My problem is that I want to access the value of the number, but is that the program with sidera { x0->numero} with the element of a list (as a whole) and is impossible to me to access to the value of the number.
Gustaria me who answered to me as rapidly as possible. I thank for the interest. Graciass0
URL: , |
|