Liking cljdoc? Tell your friends :D
Clojure only.

org.soulspace.math.types.matrix


IMatrixcljprotocol

Protocol for matrices.

Protocol for matrices.

scalar-addclj

(scalar-add this x)

Calculates the scalar sum of 'this' matrix with the scalar 'x'.

Calculates the scalar sum of 'this' matrix with the scalar 'x'.

lower-triangularclj

(lower-triangular this)

Returns the upper triangular of 'this' matrix.

Returns the upper triangular of 'this' matrix.

matrix-productclj

(matrix-product this m2)

Calculates the matrix product of 'this' matrix with matrix 'm2'.

Calculates the matrix product of 'this' matrix with matrix 'm2'.

elementclj

(element this i j)

Returns the element of 'this' matrix at row 'i' and column 'j'.

Returns the element of 'this' matrix at row 'i' and column 'j'.

transposeclj

(transpose this)

Returns the transposed matrix of this matrix.

Returns the transposed matrix of this matrix.

matrix-addclj

(matrix-add this m2)

Calculates the sum of 'this' matrix with the matrix 'm2'.

Calculates the sum of 'this' matrix with the matrix 'm2'.

row-vectorclj

(row-vector this i)

Returns the row vector of 'this' matrix at row 'i'.

Returns the row vector of 'this' matrix at row 'i'.

solveclj

(solve this v)

Calculates the solution of the linear equations of 'this' matrix with the vector 'v'.

Calculates the solution of the linear equations of 'this' matrix with the vector 'v'.

upper-triangularclj

(upper-triangular this)

Returns the upper triangular of 'this' matrix.

Returns the upper triangular of 'this' matrix.

column-vectorclj

(column-vector this j)

Returns the column vector of 'this' matrix at column 'j'.

Returns the column vector of 'this' matrix at column 'j'.

scalar-productclj

(scalar-product this x)

Calculates the scalar product of 'this' matrix with the scalar 'x'.

Calculates the scalar product of 'this' matrix with the scalar 'x'.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close