Re: Arraymancer and --gc:arc

2020-03-05 Thread Clonk
That's seriously awesome, thanks everyone ! @mratsim What I meant was the equivalent of Numpy's interpn / RegularGridInterpolator and interp3 in Matlab / Octave with typically Linear / Nearest Neighbour / Cubic methods.

Re: Arraymancer and --gc:arc

2020-03-05 Thread mratsim
Interpolation? For FFT I was sure there was a package but maybe I misremembered. Edit: there was one [https://github.com/mratsim/Arraymancer/issues/394#issue-512574030](https://github.com/mratsim/Arraymancer/issues/394#issue-512574030), forgot to link the forum post though :P

Re: Arraymancer and --gc:arc

2020-03-05 Thread Vindaar
As far as I'm aware these two things aren't possible with Arraymancer at the moment. But using normal a seq[T] there's ways to do both: For interpolation: * numericalnim by @hugogranstrom: [https://github.com/HugoGranstrom/numericalnim#natural-cubic-splines](https://github.com/HugoGranstrom/n

Re: Arraymancer and --gc:arc

2020-03-05 Thread xflywind
I write some naive fft function use Arraymancer.But I don't have time to improve.(i'm writting web framework now) [https://github.com/xflywind/scim/blob/master/src/scim/fft.nim](https://github.com/xflywind/scim/blob/master/src/scim/fft.nim)

Re: Arraymancer and --gc:arc

2020-03-05 Thread Clonk
Good to hear ! Also, do you support interpolation and FFT on Tensor in Arraymancer ?

Re: Arraymancer and --gc:arc

2020-03-05 Thread mratsim
Reported there: [https://github.com/mratsim/Arraymancer/issues/423](https://github.com/mratsim/Arraymancer/issues/423) thanks. I'm currently significantly changing the Arraymancer internals (backed by raw memory buffers instead of sequences) so this might disappear by itself.

Re: Arraymancer and --gc:arc

2020-03-05 Thread juancarlospaco
Report the Bug maybe.

Arraymancer and --gc:arc

2020-03-05 Thread Clonk
Hello, I am experimenting with arraymancer and when compiling with nimble install --gc:arc while using arraymancer I encounters weird behaviour such as : * code blocking on Matrix by scalar :code:* operation * SIGSEGV: Illegal storage access. (Attempt to read from nil?) when doing Matrix by