no g
- Ejemplos
Al comprobar el valor de nargout, la función puede evitar la informática G cuando se llama a myfun con solo un argumento de salida (en el caso de que el algoritmo de optimización solo necesita el valor de F pero no G). | By checking the value of nargout, the function can avoid computing G when myfun is called with only one output argument (in the case where the optimization algorithm only needs the value of F but not G). |
