Exun.Matrix (exun v0.4.5)

Manage symbolic matrices, simple operations as add, rest, mult and divi; and calculate eigenvalues; could be interesting for solve n-polynomies. Matrix is a List of lists; each sublist is a row because is best reflected when we inspect a list of list in its simples form. But for better process and memory usage whe will use a tuple {{:mtype,row,cols},[[],[],[]]} so the first tuple in tuple describes the nature of the matrix: {{:unity,4,4},nil} is a 4x4 matrix all zeros except de main diagonal that holds 1's. {{:polynom,5,5},[c4,c3,c2,c1,c0]} is a matrix 5x5 that reflects polinomial coefficients {{:raw,m,n},[[],[],[]]} Normal matrix, all elements in sublists.

Of course, we will support symbolic matrices, each element of the matrix is an ast

Link to this section Summary

Functions

Return quadratic (nxn) identity matrix

Link to this section Functions

Link to this function

get_elem(arg, row, col)

Return quadratic (nxn) identity matrix