schemedoc / cookbook

New Scheme Cookbook
https://cookbook.scheme.org
29 stars 3 forks source link

Matrix #36

Closed jcubic closed 2 years ago

jcubic commented 2 years ago

This is the old code I've created in 2011. I've copied it as is. It defines reduce function it can be updated using fold function.

lassik commented 2 years ago

Great!

Since you're using lists to implement the matrix, use-lists-as-2d-matrix.md for consistency with the names in #35, or some similar name?

We should probably start an Arrays category... there's at least one SRFI about arrays, even.

lassik commented 2 years ago

Looks good, merging.