equal
deleted
inserted
replaced
51 on arrays are valid on matrices also. A matrix may be created as, |
51 on arrays are valid on matrices also. A matrix may be created as, |
52 :: |
52 :: |
53 |
53 |
54 m1 = matrix([1,2,3,4]) |
54 m1 = matrix([1,2,3,4]) |
55 |
55 |
|
56 |
|
57 .. #[Puneeth: don't use ``matrix``. Use ``array``. The whole script will |
|
58 .. have to be fixed.] |
|
59 |
56 Using the tuple ``m1.shape`` we can find out the shape or size of the |
60 Using the tuple ``m1.shape`` we can find out the shape or size of the |
57 matrix, |
61 matrix, |
58 :: |
62 :: |
59 |
63 |
60 m1.shape |
64 m1.shape |
285 |
289 |
286 {{{ switch to next slide, thank you }}} |
290 {{{ switch to next slide, thank you }}} |
287 |
291 |
288 Thank you! |
292 Thank you! |
289 |
293 |
290 .. Author: Anoop Jacob Thomas <anoop@fossee.in> |
294 .. |
291 Reviewer 1: |
295 Local Variables: |
292 Reviewer 2: |
296 mode: rst |
293 External reviewer: |
297 indent-tabs-mode: nil |
|
298 sentence-end-double-space: nil |
|
299 fill-column: 75 |
|
300 End: |