This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-24
Channels
- # announcements (1)
- # asami (10)
- # aws (1)
- # babashka (1)
- # beginners (105)
- # cider (13)
- # cljsrn (6)
- # clojure (42)
- # clojure-australia (4)
- # clojure-dev (7)
- # clojure-europe (26)
- # clojure-nl (2)
- # clojure-uk (13)
- # clojurescript (19)
- # code-reviews (3)
- # conjure (18)
- # core-async (4)
- # core-matrix (5)
- # cryogen (3)
- # datomic (27)
- # depstar (21)
- # emacs (2)
- # figwheel-main (9)
- # fulcro (18)
- # helix (7)
- # jobs (3)
- # jobs-discuss (15)
- # juxt (7)
- # kaocha (4)
- # lambdaisland (2)
- # leiningen (11)
- # luminus (1)
- # malli (6)
- # meander (9)
- # minimallist (4)
- # mount (3)
- # off-topic (3)
- # pathom (8)
- # pedestal (28)
- # rdf (13)
- # re-frame (7)
- # reagent (5)
- # shadow-cljs (3)
I wonder how to include and require core.matrix.random in my project. I wanted to try out random-gaussian. I already included core.matrix.stats, it has a separate version from core.matrix, which confuses me.
Can you share some of the code such as your project.clj/deps.edn and the place where you require them? You should just be able to require multiple namespaces and use all of them
Something like the following should work:
(ns your.namespace
(:require [core.matrix.stats :as stats]
[core.matrix :as matrix]
[core.matrix.random :as random])
(random/random-gaussian ...)
Hi Brian, my question is actually what do I need to put in project.clj to be able to use core.matrix.random.
If you already included core.matrix in your project.clj (i.e. [net.mikera/core.matrix “0.62.0”]) then you should be good to go other than requiring it in your namespace