Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

#(listlist-multiply m1 m2) listlist-multiply multiplies two matrices (list of lists).

Parameter Description
m1 The first matrix (list of lists)
m2 The second matrix (list of lists)

Example

Example 1: Multiply two matrices

> (listlist-multiply '((1 2 3) (4 5 6)) '((7 8) (9 10) (11 12)))
((58 64) (139 154))
Clone this wiki locally