Sam Ritchie

Results 355 issues of Sam Ritchie

We currently have real, complex, and Quaternions as of #461. It would be lovely to "complete" the story here by implementing a Hypercomplex type wrapping a vector of length 2^n....

type
researchy

This currently forever-hangs: ```clj (sicmutils.rational-function/from-points '[[x1 y1] [x2 y2] [x3 y3]]) ``` due to an infinite loop in `sicmutils.polynomial/pseudo-remainder`. The task is to get to the bottom of this and...

bug
researchy

For example, here is a version of `sicmutils.algebra.fold/kbk-n` that generates summation functions that are 3-4x faster than using the fold. We COULD generate both... ```clj (defn- klein-term "Takes symbolic variables...

numerical-methods

This is used by a function in the quaternion implementation, but maybe not needed right away. Once we get all of that merged, use it in `rotation-matrix->quaternion`, possibly, instead of...

For example, splicing in `(up '?a '?b)` should create a pattern matcher that checks for `up` status and interprets the entries, when the structure is turned into a `seq`, as...

Pattern Matching

It would be lovely if Nextjournal and friends had some `sicmutils-version` variable inside `env` that they could query to figure out what is actually running! I'm not sure of the...

enhancement

Thanks @qobi for the reference. This is the solution to the problem of an exponential number of derivatives being calculated for `(((expt D n) f) 'x)` == the size of...

Automatic Differentiation
researchy

This would be a clever way to exploit symmetry... The question is, how much performance can we gain (by measuring, say, [Einstein's Field Equations](https://github.com/sicmutils/sicmutils/blob/c05f21aca265acd34b67b13d9337ce389d160961/test/sicmutils/fdg/einstein_test.cljc)) by making the `f/memoize` call here...

easy

Right now we have generics implemented via protocols sometimes and multimethods sometimes. I think these base definitions should all live in generic.cljc; it is not clear now why there are...

build

If possible it would be nice to slim down these two versions. Timbre was giving me issues where I had to exclude certain namespaces from self-hosted cljs: https://github.com/sritchie/maria/pull/1/files#diff-e6192e887bd6bafe16972759084f3bf6a3da1ee32b27160ac57d9f73b9f9f2bbR31 I think...

build