Personal tools

Comandos útiles de Python y BASH

From hpcwiki

Revision as of 17:27, 15 April 2014 by Gvillalobos (Talk | contribs)

Jump to: navigation, search

Python

Es posible introducir un arreglo en numpy usando la sintaxis the matlab:

A = np.matrix("1.,2;3,4;5,6")

utilizando la clase np.matrix:

A = np.matrix([1,2],[2,3],[3,4]] .