This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-11
Channels
- # asami (19)
- # babashka (41)
- # beginners (115)
- # biff (7)
- # calva (78)
- # clj-kondo (29)
- # cljs-dev (9)
- # clojure (39)
- # clojure-europe (17)
- # clojure-gamedev (29)
- # clojure-nl (1)
- # clojure-norway (9)
- # clojure-spec (2)
- # clojure-uk (3)
- # clojurescript (7)
- # core-async (26)
- # cursive (16)
- # datomic (13)
- # emacs (1)
- # events (5)
- # fulcro (2)
- # funcool (4)
- # gratitude (1)
- # helix (1)
- # holy-lambda (1)
- # humbleui (1)
- # introduce-yourself (4)
- # java (1)
- # jobs (2)
- # jobs-discuss (9)
- # lsp (28)
- # matcher-combinators (2)
- # mathematics (1)
- # membrane (1)
- # nbb (12)
- # off-topic (10)
- # pathom (52)
- # polylith (38)
- # portal (32)
- # re-frame (4)
- # reagent (16)
- # reitit (2)
- # remote-jobs (1)
- # reveal (1)
- # rewrite-clj (10)
- # sci (67)
- # shadow-cljs (45)
- # squint (1)
- # tools-build (13)
- # tools-deps (16)
Hello friends. I've been off the clojure train a while but I am now seriously considering an application. (Yes it seems like I'm asking almost the same question as the previous one, but since it is almost year old(!) I may as well start a new thread. I also need a little bit more help than "you could solve it with core.matrix", if you feel up for it. 🙏) I'd like a function that will solve a linear equation. Something like: I pass it an expression "A = (B+2) x C + 3 x D - E" (that can be EDN encoded somehow - I don't need a string parser), and I pass it a map that provides values for any N-1 of the variables. The function figures out which is the unknown variable, and solves for it. If the input is over-constrained or under-constrained it will report something useful about that. It's a bonus if it can do multiple equations / multiple unknowns, but at this time I don't think I need it. Any tips you might have? 🙏