[Python-es] Una funcion en python puede retornar un array
Jose Caballero
jcaballero.hep en gmail.com
Mar Abr 26 04:08:31 CEST 2011
El 25 de abril de 2011 16:52, Abraham Zamudio
<abraham.zamudio en gmail.com>escribió:
> Quisiera saber como puedo hacer una función en python que me devuelva un
> array de arrays ,
>
> La sintaxis de esta función seria como sigue :
>
>
> [Matriz_A,Matriz_B,Vector_C] = my_python_function(Matriz1,Vector1)
>
> --
>
def my_python_function(Matriz1, Vector1):
#
# calculos
#
return [MatrizA, Matriz_B, Vector_C]
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://mail.python.org/pipermail/python-es/attachments/20110425/b084a6a8/attachment.html>
Más información sobre la lista de distribución Python-es