I agree that complex would be a better name.
It would be also be nice if it the 1-arg version could be idempotent (i.e.
returns an existing complex number unchanged). The downside is that this
would mean a slight performance hit because it would prevent the use of
primitive arguments. Maybe we
I think the right strategy is to make a separate complex array
implementation library (core.matrix.complex?). In terms of dependencies,
it would only need to depend depend upon core.matrix and complex.
The array representation could simply be a deftype which uses two
underlying arrays for the
OK, here's a basic version that I think has most of the key elements in
place.
A lot more protocols still need implementing, but it should be a reasonable
basis to build upon:
https://github.com/mikera/core.matrix.complex
On Tuesday, 2 June 2015 16:35:25 UTC+1, Christopher Small wrote:
Thanks Matt! I've just release Vectorz 0.45.0 including your changes.
A lot of sparse operations are much faster now!
On Monday, 29 December 2014 21:56:30 UTC+8, Matt Revelle wrote:
Yes, will do.
On Dec 28, 2014, at 9:58 PM, Mike Anderson mike.r.anderson...@gmail.com
wrote:
Looks like
On Tuesday, 6 January 2015 04:27:55 UTC+8, Christian Weilbach wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05.01.2015 03:34, Mike Anderson wrote:
Very cool stuff!
Like yours! I wish nurokit was EPLed, then I could have had a look at
it and try to include it there. Have
Very cool stuff!
I notice that you are specialising the RBM to a specific matrix
implementation (Clatrix / JBlas) in the file jblas.clj. Are you sure you
need to do that? Part of the beauty of core.matrix is that you should be
able to write your algorithms in an implementation-independent
!
On Saturday, December 27, 2014 4:56:55 AM UTC-5, Mike Anderson wrote:
Here is a little belated Christmas present for Clojure data aficionados:
;; setup
(use 'clojure.core.matrix)
(set-current-implementation :vectorz)
;; create a big sparse matrix with a trillion elements (initially zero
2014 09:43:54 UTC+8, Matt Revelle wrote:
On Dec 28, 2014, at 7:28 PM, Mike Anderson mike.r.anderson...@gmail.com
wrote:
Interesting idea. The challenge is that I'm not sure how to add
representation specification in an implementation independent way. It's a
quirk of vectorz that it has
Here is a little belated Christmas present for Clojure data aficionados:
;; setup
(use 'clojure.core.matrix)
(set-current-implementation :vectorz)
;; create a big sparse matrix with a trillion elements (initially zero)
(def A (new-sparse-array [100 100]))
;; we are hopefully smart
Lucas,
Thanks for kicking off the discussion - great to see your proposal on this.
I think it will be really valuable if we can converge on a standard way of
representing this kind of data in Clojure/ClojureScript. Copying the
Incanter and main Clojure groups as well because I think there will
Hi All,
I've made a repository for an upcoming core.matrix coding dojo that I'm
organising. I think it might be a useful resource for others in the Clojure
community, so I'm sharing the link here:
https://github.com/clojure-numerics/core.matrix.dojo
This is a basic project setup for a
New version of core.matrix now available.
This release brings quite a lot of changes including:
- Many performance optimisations: this should be noticeably faster than
previous releases for many operations
- The shape of a scalar is now defined to be nil. This seems to work better
for people
Hi all,
New version of core.matrix now available on Clojars:
https://clojars.org/net.mikera/core.matrix/versions/0.11.0
Key items of note:
- Dmitry's GSoC NDArray project is now the default core.matrix
implementation - this is a big milestone, congrats Dmitry!
- Everything is now AOT-compiled.
Understood. vectorz-clj is going to stay JVM-only for the foreseeable
future, so it won't fit if you need ClojureScript.
On the other hand, core.matrix is pure Clojure and totally protocol-based,
so it should (I think!) be pretty easy to port to ClojureScript, and it's
easy to extend the
On 27 August 2013 20:45, Timothy Baldridge tbaldri...@gmail.com wrote:
The reason for not allowing nils isn't a complex one, and basically boils
down to the following:
a) to avoid race conditions, we need a single value to signal the channel
is closed. As mentioned, nil is the obvious choice
value.
It's these Rx style programming methods that make people think they need
this feature.
Timothy
On Tue, Aug 27, 2013 at 8:51 AM, Mike Anderson
mike.r.anderson...@gmail.com wrote:
On 27 August 2013 20:45, Timothy Baldridge tbaldri...@gmail.com wrote:
The reason for not allowing
On 28 August 2013 11:50, Alan Busby thebu...@gmail.com wrote:
On Wed, Aug 28, 2013 at 12:18 PM, guns s...@sungpae.com wrote:
Oh, I was confused; I was thinking about sentinel values in user code.
Yes, I imagine a single private (Object.) would work just fine, with
very little overhead.
Pleased to announce the latest 0.10.0 release of vectorz-clj, a
matrix/vector maths library for Clojure
vectorz-clj is designed so that you don't have to compromise: offering both
high performance (about as fast as you can get on the JVM) and an idiomatic
high-level Clojure API.
New and
On Oct 21, 9:04 pm, Meikel Brandmeyer (kotarak) m...@kotka.de
wrote:
Hi,
may I question the transitivity of state information?
Maybe the world's state is that player Trantor is at position [15 34]. Now
Trantor eats an appel. The appel is removed from his inventory and his
health is raised
I'm a big believer in Clojure / Rich Hickey's principles regarding the
separation of Identity and State (http://www.infoq.com/presentations/
Are-We-There-Yet-Rich-Hickey) and how this is generally a good idea.
However I've recently been running into what seems to be a slight
conceptual challenge
On Oct 21, 4:25 pm, Ulises ulises.cerv...@gmail.com wrote:
c) Put actor identities inside the world state - nasty! now the world
state is mutable
Not necessarily (and I'd be interested in the replies)?
I mean, here's how I view it. If actors are part of the world, then
they are
Hi Santosh,
I was in your position a little over a year ago. Some recommendations
that may help:
- If you're coming from a Java environment, you may find it easiest to
move to Clojure by using a Clojure plugin for your favourite Java IDE.
I use the Counterclockwise plugin for Eclipse which is
I'm using Clojure for some reasonably heavy computational code. It's a
great fit for the problem domain.
Some specific things I really like:
- I use Incanter to get quick plots of outputs to test that
algorithms are working, very handy for interactive development at the
REPL
- I can plug in
On Nov 10, 4:42 am, lprefonta...@softaddicts.ca wrote:
Gosu - standard athlete on performance enhancing drugs (EPO, steroids, ...)
Clojure - genetically modified athlete
Presumably the genetically modified athlete was also born on
Krypton :-)
--
You received this message because you are
Hi all,
I was testing some code under Clojure 1.3 alpha 3 that works correctly
in Clojure 1.2 and got the following error:
CompilerException java.lang.IllegalArgumentException: Only long and
double primitives are supported
For some reason I don't get a full stack trace saying where the error
On Aug 13, 7:06 pm, Brian Carper briancar...@gmail.com wrote:
Looks great. Thanks for sharing your experiences.
Do you plan to share the source code? Any reason you went with Swing
instead of OpenGL?
Main reason I went with Swing was wanting to get something up and
running quickly (this
On Aug 14, 6:37 am, Wilson MacGyver wmacgy...@gmail.com wrote:
I realize that. I was pondering why I don't run into the the 2nd problem.
In your code, how many files/name spaces are you creating?
And how many lines of code are in each file? I'm curious how you
organize your code.
Sure - I'll
On Aug 13, 7:16 pm, Nicolas Oury nicolas.o...@gmail.com wrote:
On Fri, Aug 13, 2010 at 2:51 PM, Mike Anderson
mike.r.anderson...@gmail.com wrote:
2. It would be great to reduce the amount of memory allocations. Yes,
I know memory is plentiful and GC is very cheap, but it's still
On Aug 13, 5:33 pm, Alan a...@malloys.org wrote:
Funny you should mention this - I was about to post a question about
my own game when I saw your article. My issue is, I assume someone has
written minimax and/or alpha-beta pruning in Clojure (or a java
library that's easy to interop with). My
Hello all,
I've recently been working on a game development project in Clojure
which is now starting to bear fruit. I thought people here might be
interested, and that it would be worthwhile to share some experiences
and perspectives.
The project is a steampunk-themed strategy game, and a
Hi Martin,
Not sure how it fits with the rest of your environment but I've had
good success with just the following:
- Eclipse Helios (3.6)
- CounterClockwise plugin
CounterClockwise integrates well with the Eclipse build system, so
I've been able to do most of the stuff I need (e.g. exporting
On Jun 30, 6:45 pm, Greg g...@kinostudios.com wrote:
It seems like a lot of n00b (and non-n00b) related problems have to do with
the location of clojure.jar and clojure-contrib.jar. People generally don't
like having to keep track of all the clojure.jars, and it would be nice if it
was easy
I agree that duplicate keys in literals are probably a coder error but
IMO this deserves some kind of compiler warning rather than an error.
You're going to get into lots of sticky situations otherwise that only
confuse people if the semantics are different between literals and
other usage.
On Jun 22, 1:27 pm, David Nolen dnolen.li...@gmail.com wrote:
On Tue, Jun 22, 2010 at 6:04 AM, Heinz N. Gies he...@licenser.net wrote:
Yes. With Rich's primitive work we can get to *1 billion arithmetic
operations* in 2/3 of a second on commodity hardware.
Which is absolutely great
On Jun 8, 1:34 pm, Krukow karl.kru...@gmail.com wrote:
I would like to hear the groups opinion before (and if) I release this
to the general public.
http://github.com/krukow/clj-ds
I really like this approach.
Not sure if it's any use, but I created a data structure library of my
own in Java
35 matches
Mail list logo