matrices/quickref.tex
author anand
Thu, 11 Nov 2010 00:24:11 +0530
changeset 474 f137f3e036d9
parent 398 36295bb91766
permissions -rw-r--r--
checklist OK for `gettin started with for loops` 1;2305;0c

Matrix Multiplication:\\
{\ex \lstinline|    c = dot(a,b)|}

Transpose of a matrix:\\
{\ex \lstinline|    m.T|}

Inverse of a matrix:\\
{\ex \lstinline|    im = inv(m)|}

Frobenius norm of matrix:\\
{\ex \lstinline|    norm(m)|}

Inverse norm of matrix:\\
{\ex \lstinline|    norm(m, ord=inf)|}

Determinant of matrix:\\
{\ex \lstinline|    det(m)|}

Eigen values of matrix:\\
{\ex \lstinline|    eigvals(m)|}

Eigen vectors of matrix:\\
{\ex \lstinline|    eig(m)[1]|}

Singular Value Decomposition on matrix m:\\
{\ex \lstinline|    svd(m)|}