(->structure m outer-orientation inner-orientation t?)
Convert m to a structure with given outer and inner orientations. Rows of M will become the inner tuples, unless t? is true, in which columns of m will form the inner tuples.
Convert m to a structure with given outer and inner orientations. Rows of M will become the inner tuples, unless t? is true, in which columns of m will form the inner tuples.
(characteristic-polynomial m x)
Compute the characteristic polynomial of the square matrix m, evaluated at x. Typically x will be a dummy variable, but if you wanted to get the value of the characteristic polynomial at some particular point, you could supply a different expression.
Compute the characteristic polynomial of the square matrix m, evaluated at x. Typically x will be a dummy variable, but if you wanted to get the value of the characteristic polynomial at some particular point, you could supply a different expression.
(cofactors m)
Computes the matrix of cofactors of the given structure with the same shape, if s is square.
Computes the matrix of cofactors of the given structure with the same shape, if s is square.
(determinant m)
Computes the determinant of m, which must be square. Generic operations are used, so this works on symbolic square matrix.
Computes the determinant of m, which must be square. Generic operations are used, so this works on symbolic square matrix.
(fmap f m)
Maps f over the elements of m, returning an object of the same type.
Maps f over the elements of m, returning an object of the same type.
(generate r c f)
Create the r by c matrix whose entries are (f i j)
Create the r by c matrix whose entries are (f i j)
(get-in m is)
Like get-in for matrices, but obeying the scmutils convention: only one index is required to get an unboxed element from a column vector. This is perhaps an unprincipled exception...
Like get-in for matrices, but obeying the scmutils convention: only one index is required to get an unboxed element from a column vector. This is perhaps an unprincipled exception...
(I n)
Return the identity matrix of order n.
Return the identity matrix of order n.
(invert m)
Computes the inverse of a square matrix.
Computes the inverse of a square matrix.
(m->s ls m rs)
Convert the matrix m into a structure S, guided by the requirement that (* ls S rs) should be a scalar
Convert the matrix m into a structure S, guided by the requirement that (* ls S rs) should be a scalar
(matrix-some f m)
True if f is true for some element of m.
True if f is true for some element of m.
(s->m ls ms rs)
Convert the structure ms, which would be a scalar if the (compatible) multiplication (* ls ms rs) were performed, to a matrix.
Convert the structure ms, which would be a scalar if the (compatible) multiplication (* ls ms rs) were performed, to a matrix.
(seq-> s)
Convert a sequence (typically, of function arguments) to an up-structure. GJS: Any matrix in the argument list wants to be converted to a row of columns
Convert a sequence (typically, of function arguments) to an up-structure. GJS: Any matrix in the argument list wants to be converted to a row of columns
(square-structure-> s k)
Converts the square structure s into a matrix, and calls the continuation with that matrix and a function which will restore a matrix to a structure with the same inner and outer orientations as s.
Converts the square structure s into a matrix, and calls the continuation with that matrix and a function which will restore a matrix to a structure with the same inner and outer orientations as s.
(square-structure-operation s f)
Applies matrix operation f to square structure s, returning a structure of the same type as that given.
Applies matrix operation f to square structure s, returning a structure of the same type as that given.
(without m i j)
The matrix formed by deleting the i'th row and j'th column of the given matrix.
The matrix formed by deleting the i'th row and j'th column of the given matrix.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close