summaryrefslogtreecommitdiff
path: root/matrices/script.rst
diff options
context:
space:
mode:
Diffstat (limited to 'matrices/script.rst')
-rw-r--r--matrices/script.rst22
1 files changed, 14 insertions, 8 deletions
diff --git a/matrices/script.rst b/matrices/script.rst
index 4bc3a3f..9b305d5 100644
--- a/matrices/script.rst
+++ b/matrices/script.rst
@@ -22,8 +22,10 @@ Welcome to the spoken tutorial on Matrices.
{{{ switch to next slide, outline slide }}}
-In this tutorial we will learn about matrices, creating matrices and
-matrix operations.
+In this tutorial we will learn about matrices, creating matrices using
+direct data, by converting a list, matrix operations. Finding inverse
+of a matrix, determinant of a matrix, eigen values and eigen vectors
+of a matrix, norm and singular value decomposition of matrices.
{{{ creating a matrix }}}
@@ -88,6 +90,8 @@ function ``multiply()``
multiply(m3,m2)
+{{{ switch to next slide, Matrix multiplication (cont'd) }}}
+
Now let us see an example for matrix multiplication. For doing matrix
multiplication we need to have two matrices of the order n by m and m
by r and the resulting matrix will be of the order n by r. Thus let us
@@ -108,11 +112,15 @@ in matrix object.
{{{ switch to next slide, recall from arrays }}}
-As we already saw in arrays, the functions ``identity()``,
-``zeros()``, ``zeros_like()``, ``ones()``, ``ones_like()`` may also be
-used with matrices.
+As we already saw in arrays, the functions ``identity()`` which
+creates an identity matrix of the order n by n, ``zeros()`` which
+creates a matrix of the order m by n with all zeros, ``zeros_like()``
+which creates a matrix with zeros with the shape of the matrix passed,
+``ones()`` which creates a matrix of order m by n with all ones,
+``ones_like()`` which creates a matrix with ones with the shape of the
+matrix passed. These functions can also be used with matrices.
-{{{ switch to next slide, matrix operations }}}
+{{{ switch to next slide, more matrix operations }}}
To find out the transpose of a matrix we can do,
::
@@ -178,8 +186,6 @@ we do,
norm(im5)
-Euclidean norm is also called Frobenius norm.
-
And to find out the Infinity norm of the matrix im5, we do,
::