matrices/quickref.tex
author bhanu
Mon, 15 Nov 2010 15:00:34 +0530
changeset 503 a858141ad884
parent 398 36295bb91766
permissions -rw-r--r--
Language check done for `I/O`
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
398
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     1
Matrix Multiplication:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     2
{\ex \lstinline|    c = dot(a,b)|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     3
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     4
Transpose of a matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     5
{\ex \lstinline|    m.T|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     6
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     7
Inverse of a matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     8
{\ex \lstinline|    im = inv(m)|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     9
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    10
Frobenius norm of matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    11
{\ex \lstinline|    norm(m)|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    12
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    13
Inverse norm of matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    14
{\ex \lstinline|    norm(m, ord=inf)|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    15
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    16
Determinant of matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    17
{\ex \lstinline|    det(m)|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    18
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    19
Eigen values of matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    20
{\ex \lstinline|    eigvals(m)|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    21
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    22
Eigen vectors of matrix:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    23
{\ex \lstinline|    eig(m)[1]|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    24
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    25
Singular Value Decomposition on matrix m:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
    26
{\ex \lstinline|    svd(m)|}