March 22, 2016
On Tuesday, 22 March 2016 at 18:18:50 UTC, _d0s_ wrote:
> thanks for all the opinions!
> ...

A quite good presentation of ndslice [1]

If you want quick and dirty visualization and find plotting libraries too plotting-oriented you may want to play a bit with simpledisplay [2], it is without pretention but very easy to use and it's proved to come in handy quite often.

[1]: http://jackstouffer.com/blog/nd_slice.html
[2]: https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d
March 23, 2016
On 23/03/16 7:18 AM, _d0s_ wrote:
> thanks for all the opinions!
>
>> Perhaps this is what you're looking for?
>> https://dlang.org/phobos/std_experimental_ndslice.html
>
> that would be a good starting point for a matrix library
>
>> You would be interested in
>> https://github.com/DlangScience
>
>> They have cblas for matrix multiplication and scid.linalg has an
>> interface to LAPACK (the > most common way to do LU/QR/etc). I don't
>> have experience with these, but I think they were created before
>> std.experimental.ndslice, so I'm not sure how well they inter-operate.
>> I > believe there is work being done on this, but I'm sure John Colvin
>> et al would appreciate > any help you would be able to provide.
>
> thx, havent found that before :)
> i haven't used lapack/blas before, i will have a look at it. i'm using
> mostly Eigen for my projects.
>
>> If all you need are plotting tools, these would be useful
>> https://code.dlang.org/packages/ggplotd
>> https://code.dlang.org/packages/plotd
> that would be somewhat close already to matlab like plotting
>
>> Sigh I do wish the author of gl3n had given permission for relicense
>> for Phobos. Would do what you want.
>
> i have used gl3n before, it's not really what i'm looking for. gl3n
> afaik only provides up to 4x4 dense matrices, with the focus on being a
> GLM (http://glm.g-truc.net/0.9.7/index.html) replacement for the use
> with Opengl. correct me if i'm wrong.

Its old code, it would need to be updated anyway. But yes more GLM then a generic solution.

> Cairo and Kheops look interesting. I have used Openvg before. Some time
> ago i've created a little Openvg D wrapper for shiva vg (
> https://code.dlang.org/packages/dopenvg ) . From a diagram or image
> viewer i'd also expect some level of interactivity. That's why i thought
> a web app with CEF would be suitable
>
> do you have experience with creating web apps for desktop, or reasons
> why i'd definitively want to use a native framework for such a project?
> .. or for UI in general

I don't have experience past a little with WebOS. But my understanding is simple. Companies like Facebook and Apple have all tried it on mobile and all failed. It just comes down to most programs with UI's should be sitting around 0% cpu most of the time. They just don't need the resources. Things like web based UI's will always go well above that.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

March 24, 2016
On Tuesday, 22 March 2016 at 20:52:26 UTC, cym13 wrote:
> [2]: https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d

simpledisplay has some examples in its docs:

http://dpldocs.info/experimental-docs/simpledisplay.html

I haven't actually written plotting examples yet, but it is the same basic operations as Pong... drawing lines and circles.
March 24, 2016
just found this ...
http://forum.dlang.org/thread/nilhvnqbsgqhxdshpqfl@forum.dlang.org
maybe that will be what i'm looking for :)

as for the web ui's ...
the performance is of course not perfect as in a native app. but i think apps like atom.io, visual studio code or discord show that it is perfectly possible to create apps with really good look, feel not too bad performance :)
March 24, 2016
On Thursday, 24 March 2016 at 09:54:37 UTC, _d0s_ wrote:
> just found this ...
> http://forum.dlang.org/thread/nilhvnqbsgqhxdshpqfl@forum.dlang.org
> maybe that will be what i'm looking for :)
>
> as for the web ui's ...
> the performance is of course not perfect as in a native app. but i think apps like atom.io, visual studio code or discord show that it is perfectly possible to create apps with really good look, feel not too bad performance :)

https://www.youtube.com/watch?v=k56wra39lwA
April 16, 2016
On Tuesday, 22 March 2016 at 14:42:18 UTC, jmh530 wrote:
> On Tuesday, 22 March 2016 at 14:08:55 UTC, _d0s_ wrote:
>>
>> Idea2: Matrix Solvers
>> Have some base algorithms to solve linear and quadtratic systems on top of those matrices. (LU, QR, ...)
>
> You would be interested in
> https://github.com/DlangScience
>
> They have cblas for matrix multiplication and scid.linalg has an interface to LAPACK (the most common way to do LU/QR/etc). I don't have experience with these, but I think they were created before std.experimental.ndslice, so I'm not sure how well they inter-operate. I believe there is work being done on this, but I'm sure John Colvin et al would appreciate any help you would be able to provide.
>
> With respect to your point about about sparse vs. dense matrix types and other special layouts, it would probably be possible to build some of that functionality on top of ndslice. I'd prefer there to be a focus of getting blas/LAPACK working seamlessly with ndslice before that.

Mir v0.15.0-beta2 contains sparse matrixes/tensors in DOK and CSR/CSR formats. Also some COO ranges are supported too. Current state is half of future API.

https://github.com/DlangScience/mir/blob/sparse/source/mir/ndslice/sparse.d

Dub: http://code.dlang.org/packages/mir
August 23, 2016
On Tuesday, 22 March 2016 at 14:08:55 UTC, _d0s_ wrote:
> As i'm a student and i should be busy with writing some papers ... i'm spending waaaaaaay to much time derping around having crazy ideas. since they are forgotten quickly most of the time, i thought i share them with you.
>
> [...]

Generic matrix-matrix multiplication is available in Mir version 0.16.0-beta2
http://docs.mir.dlang.io/latest/mir_glas_gemm.html
August 23, 2016
On Tuesday, 23 August 2016 at 06:05:32 UTC, Ilya Yaroshenko wrote:
> On Tuesday, 22 March 2016 at 14:08:55 UTC, _d0s_ wrote:
>> As i'm a student and i should be busy with writing some papers ... i'm spending waaaaaaay to much time derping around having crazy ideas. since they are forgotten quickly most of the time, i thought i share them with you.
>>
>> [...]
>
> Generic matrix-matrix multiplication is available in Mir version 0.16.0-beta2
> http://docs.mir.dlang.io/latest/mir_glas_gemm.html

It should be compiled with recent LDC beta, and -mcpu=native flag.
1 2
Next ›   Last »