Warning: Declaration of action_plugin_tablewidth::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /s/bach/b/class/cs545/public_html/fall16/lib/plugins/tablewidth/action.php on line 93
python_getting_started [CS545 fall 2016]

User Tools

Site Tools


python_getting_started

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python_getting_started [2013/08/14 11:34]
asa
python_getting_started [2016/08/09 10:25] (current)
Line 254: Line 254:
  
 Elements and sub-matrices are easily extracted: Elements and sub-matrices are easily extracted:
-<​code>​+<​code ​python>
 In [25]: b In [25]: b
 Out[25]: ​ Out[25]: ​
Line 274: Line 274:
  
 Let's multiply the first row of a $a$ by the second column of $b$. Let's multiply the first row of a $a$ by the second column of $b$.
-<​code>​+<​code ​python>
 In [29]: np.dot(a[0],​ b[:,1]) In [29]: np.dot(a[0],​ b[:,1])
 Out[29]: 30.0 Out[29]: 30.0
python_getting_started.txt ยท Last modified: 2016/08/09 10:25 (external edit)