listlist add - part-cw/lambdanative GitHub Wiki
#(listlist-add m1 m2) listlist-add adds two matrices (list of lists)
| Parameter | Description |
|---|---|
| m1 | The first matrix (list of lists) |
| m2 | The second matrix (list of lists) |
Example
Example 1: Add and subtract two matrices
> (listlist-add '((1 2) (3 4)) '((1 1) (2 2)))
((2 3) (5 6))
> (listlist-subtract '((1 2) (3 4)) '((1 1) (2 2)))
((0 1) (1 2))