diff -r f105cfcc2498 -r 1a73dddb1d05 matrices/script.rst --- a/matrices/script.rst Tue Oct 12 13:02:39 2010 +0530 +++ b/matrices/script.rst Tue Oct 12 14:30:53 2010 +0530 @@ -22,8 +22,10 @@ {{{ 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 @@ 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 @@ {{{ 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 @@ norm(im5) -Euclidean norm is also called Frobenius norm. - And to find out the Infinity norm of the matrix im5, we do, ::