Mikera writes:
> BTW, I started my own attempt at something similar a while ago, but
> never found the time to get it to a usable state:
>
>https://code.google.com/p/clj-multiarray/
>
> Konrad.
>
> Very interesting, thanks! I like the use of protocols to constr
On Monday, 7 January 2013 15:53:20 UTC+8, Konrad Hinsen wrote:
> Mikera writes:
>
> > Initial tests seem to suggest that supporting N-dimensional arrays
> > should be pretty easy in terms of the API itself. We could also
> > provide fast-paths for 1D and 2D arrays.
> >
> > Of course, act
There's a bunch of useful operations that games & animation systems perform
frequently that are less common in other uses of linear algebra. For
example: linear and spline interpolations.
The DirectXMath library is worth
studying:
http://msdn.microsoft.com/en-us/library/windows/desktop/hh43783
Mikera writes:
> Initial tests seem to suggest that supporting N-dimensional arrays
> should be pretty easy in terms of the API itself. We could also
> provide fast-paths for 1D and 2D arrays.
>
> Of course, actual support for N-dimensional arrays would depend on
> the underlying implementa
Yep, the idea is to be flexible enough to support many different
implementations.
The pure Clojure version should be very easy to use and flexible since it
uses regular Clojure persistent vectors. The trade-off is of less
performance compared to the Java/native implementations.
As an added bon
Initial tests seem to suggest that supporting N-dimensional arrays should
be pretty easy in terms of the API itself. We could also provide fast-paths
for 1D and 2D arrays.
Of course, actual support for N-dimensional arrays would depend on the
underlying implementation.
On Monday, 7 January 20
+1 on Konrad's comment about N-dimensional arrays for me.
I think the issue of using immutable arrays (which can be important for
performance) in Clojure is interesting to think about.
I have had some ideas about how to use arrays with restricted or limited
mutability but haven't solidified anyt
I really like this idea -- I think there's a need for a dedicated matrix
computation library in clojure. I really like the idea of having matrix
operations implemented in clojure (I think that you have this in
persistent_vector.clj) but also being able to call on java libraries.
On Saturday,
Mikera writes:
> I think this could be very useful for the Clojure community, especially
> given the
> interest in big data, simulations, machine learning, 3D graphics etc. If it
> goes well
> and there is enough interest, I guess that this could form the basis for a
> future
> "core.mat
Hello all,
I've been experimenting with a common API / abstraction for matrix and
vector maths in Clojure:
https://github.com/mikera/matrix-api
The idea is:
- Provide a clear, consistent API for matrix and vector operations
- Support multiple different underlying implementations (e.g. nativ
10 matches
Mail list logo