User:Jarle Pahr/NumPy

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
(Commands & Functions)
(13 intermediate revisions not shown.)
Line 1: Line 1:
-
 
http://wiki.scipy.org/NumPy_for_Matlab_Users
http://wiki.scipy.org/NumPy_for_Matlab_Users
Line 5: Line 4:
https://pypi.python.org/pypi/numpy
https://pypi.python.org/pypi/numpy
 +
http://wiki.scipy.org/Tentative_NumPy_Tutorial
64-bit installers: http://www.lfd.uci.edu/~gohlke/pythonlibs/
64-bit installers: http://www.lfd.uci.edu/~gohlke/pythonlibs/
 +
 +
 +
 +
http://www.engr.ucsb.edu/~shell/che210d/numpy.pdf
 +
 +
http://physics.nmt.edu/~raymond/software/python_notes/paper003.html
 +
 +
=Matrices and arrays=
 +
 +
http://stackoverflow.com/questions/12024820/danger-of-mixing-numpy-matrix-and-array
 +
 +
http://stackoverflow.com/questions/4151128/what-are-the-differences-between-numpy-arrays-and-matrices-which-one-should-i-u
 +
 +
http://stackoverflow.com/questions/3337301/numpy-matrix-to-array
 +
 +
 +
http://www.python-course.eu/matrix_arithmetic.php
 +
 +
http://nbviewer.ipython.org/urls/raw.github.com/jrjohansson/scientific-python-lectures/master/Lecture-2-Numpy.ipynb
 +
 +
http://scienceoss.com/numpy-array-basics/
 +
 +
http://showmedo.com/videotutorials/video?name=10370040&fromSeriesID=1037
 +
 +
Matrices:
 +
*Strictly 2-dimensional
 +
*Use of * results in matrix multiplication
 +
*Element-wise multiplication achieved with multiply()
 +
 +
 +
 +
Arrays:
 +
*Use of * results in element-wise multiplication
 +
*Matrix multiplication achieved with dot()
 +
 +
Array manipulation routines: http://docs.scipy.org/doc/numpy/reference/routines.array-manipulation.html
 +
 +
=Commands & Functions=
 +
 +
Dimensions of matrix:
 +
 +
matrixname.shape
 +
 +
 +
 +
http://docs.scipy.org/doc/numpy/reference/generated/numpy.zeros.html
 +
 +
http://docs.scipy.org/doc/numpy/reference/generated/numpy.resize.html
 +
 +
http://docs.scipy.org/doc/numpy/reference/generated/numpy.concatenate.html
 +
 +
http://docs.scipy.org/doc/numpy/reference/generated/numpy.hstack.html
 +
 +
http://docs.scipy.org/doc/numpy/reference/generated/numpy.matrix.html

Revision as of 07:30, 23 August 2013

http://wiki.scipy.org/NumPy_for_Matlab_Users


https://pypi.python.org/pypi/numpy

http://wiki.scipy.org/Tentative_NumPy_Tutorial

64-bit installers: http://www.lfd.uci.edu/~gohlke/pythonlibs/


http://www.engr.ucsb.edu/~shell/che210d/numpy.pdf

http://physics.nmt.edu/~raymond/software/python_notes/paper003.html

Matrices and arrays

http://stackoverflow.com/questions/12024820/danger-of-mixing-numpy-matrix-and-array

http://stackoverflow.com/questions/4151128/what-are-the-differences-between-numpy-arrays-and-matrices-which-one-should-i-u

http://stackoverflow.com/questions/3337301/numpy-matrix-to-array


http://www.python-course.eu/matrix_arithmetic.php

http://nbviewer.ipython.org/urls/raw.github.com/jrjohansson/scientific-python-lectures/master/Lecture-2-Numpy.ipynb

http://scienceoss.com/numpy-array-basics/

http://showmedo.com/videotutorials/video?name=10370040&fromSeriesID=1037

Matrices:

  • Strictly 2-dimensional
  • Use of * results in matrix multiplication
  • Element-wise multiplication achieved with multiply()


Arrays:

  • Use of * results in element-wise multiplication
  • Matrix multiplication achieved with dot()

Array manipulation routines: http://docs.scipy.org/doc/numpy/reference/routines.array-manipulation.html

Commands & Functions

Dimensions of matrix:

matrixname.shape


http://docs.scipy.org/doc/numpy/reference/generated/numpy.zeros.html

http://docs.scipy.org/doc/numpy/reference/generated/numpy.resize.html

http://docs.scipy.org/doc/numpy/reference/generated/numpy.concatenate.html

http://docs.scipy.org/doc/numpy/reference/generated/numpy.hstack.html

http://docs.scipy.org/doc/numpy/reference/generated/numpy.matrix.html

Personal tools