Sam Ritchie

Results 355 issues of Sam Ritchie

rcf.scm has a `compose` function that converts to, roughly, this: ```clojure ;; The following function still reads slightly mystical; this comes from rcf.scm ;; in the scmutils library. I'm sure...

I'm making a ticket about this because during my deep dive on Brent's Method for minimization, I discovered that the algorithm described on the wiki page is in fact wrong!...

numerical-methods
researchy

If we do this, and take a tip from `clojure.algo.generic`, it will be easier to write generic functions that do stuff like `replace-tag` from `sicmutils.differential`. https://github.com/clojure/algo.generic/blob/master/src/main/clojure/clojure/algo/generic/functor.clj Many types implement something...

enhancement
easy

Right now, `compile-fn` ([link](https://github.com/sicmutils/sicmutils/blob/master/src/sicmutils/expression/compile.cljc#L551)) can handle functions of different arities, and the GUTS of `compile-state-fn` can handle arguments with any structure. It would be great to unify these, so `compile-state-fn`...

enhancement

We need these to get proper comparisons working between numbers and `literal-number` and `Differential` instances. We have `sicmutils.value/compare`, so these should be simple to add and document. I think they...

easy

The current implementation of `g/partial-derivative` for `::s/structure` instances is the same implementation used by `::function`. The reason for this, I think (and the reason it works!) Is that all of...

bug
Automatic Differentiation

I've been thinking about what other renderers might make sense, in addition to "infix" and "TeX"... a couple of thoughts (cc @mk). - If there are significant differences in what...

enhancement

This is how the operation is defined in Scheme: ```scheme (define (g:gcd:n args) (cond ((null? args) :zero) ((null? (cdr args)) (car args)) (else (let lp ((as (cddr args)) (ans (g:gcd:bin...

easy

We have univariate power series. Here's some prior art on multivariate power series: https://github.com/michibo/pwrsrs

enhancement
type

I have my eyes on https://github.com/JuliaApproximation/FastGaussQuadrature.jl as a nice target to clone here. This would be an awesome addition to our evenly-spaced-points methods we have now!

Quadrature
researchy