Re: N-dimensional slices is ready for comments!

2015-07-11 Thread Vlad Levenfeld via Digitalmars-d-announce
On Saturday, 20 June 2015 at 09:17:22 UTC, Ilya Yaroshenko wrote: autodata is hard to understand without HTML documentation. Automated documentation based on https://github.com/kiith-sa/harbored-mod can be found at http://ddocs.org/autodata/~master/index.html, and it is empty. You may want

Re: N-dimensional slices is ready for comments!

2015-06-21 Thread jmh530 via Digitalmars-d-announce
On Friday, 19 June 2015 at 10:13:42 UTC, Ilya Yaroshenko wrote: You can slice fixed size arrays: auto myFun() { float[4096] data; auto tensor = data[].sliced(256, 16); ///use tensor } After playing around with some stuff more, I keep finding the syntax for the static and

Re: N-dimensional slices is ready for comments!

2015-06-20 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 19 June 2015 at 21:45:18 UTC, Vlad Levenfeld wrote: On Friday, 19 June 2015 at 21:43:59 UTC, Vlad Levenfeld wrote: https://github.com/evenex/autodata N-dimensional slicing, range ops (map, zip, repeat, cycle, etc) lifted to n-dimensions, n-dim specific ops like extrusion, n-dim to

Re: N-dimensional slices is ready for comments!

2015-06-19 Thread Vlad Levenfeld via Digitalmars-d-announce
On Friday, 19 June 2015 at 10:13:42 UTC, Ilya Yaroshenko wrote: On Friday, 19 June 2015 at 01:46:05 UTC, jmh530 wrote: On Monday, 15 June 2015 at 08:40:31 UTC, Ilya Yaroshenko wrote: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB

Re: N-dimensional slices is ready for comments!

2015-06-19 Thread Vlad Levenfeld via Digitalmars-d-announce
On Friday, 19 June 2015 at 21:43:59 UTC, Vlad Levenfeld wrote: https://github.com/evenex/autodata N-dimensional slicing, range ops (map, zip, repeat, cycle, etc) lifted to n-dimensions, n-dim specific ops like extrusion, n-dim to d-dim of n-1-dim, flattening for lexicographic traversal,

Re: N-dimensional slices is ready for comments!

2015-06-19 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 19 June 2015 at 01:46:05 UTC, jmh530 wrote: On Monday, 15 June 2015 at 08:40:31 UTC, Ilya Yaroshenko wrote: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world

Re: N-dimensional slices is ready for comments!

2015-06-18 Thread jmh530 via Digitalmars-d-announce
On Monday, 15 June 2015 at 08:40:31 UTC, Ilya Yaroshenko wrote: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be useful.

Re: N-dimensional slices is ready for comments!

2015-06-15 Thread Manu via Digitalmars-d-announce
Is awesome! Incidentally, I've been needing static foreach a lot the last few days too. On 15 June 2015 at 18:40, Ilya Yaroshenko via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB

Re: N-dimensional slices is ready for comments!

2015-06-15 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Monday, 15 June 2015 at 22:17:12 UTC, Denis Shelomovskij wrote: 16.06.2015 1:11, Denis Shelomovskij пишет: 15.06.2015 11:40, Ilya Yaroshenko пишет: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice

Re: N-dimensional slices is ready for comments!

2015-06-15 Thread Denis Shelomovskij via Digitalmars-d-announce
15.06.2015 11:40, Ilya Yaroshenko пишет: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be useful. Corresponding lines was marked with

N-dimensional slices is ready for comments!

2015-06-15 Thread Ilya Yaroshenko via Digitalmars-d-announce
Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be useful. Corresponding lines was marked with //TODO: static foreach Best regards,

Re: N-dimensional slices is ready for comments!

2015-06-15 Thread Denis Shelomovskij via Digitalmars-d-announce
16.06.2015 1:11, Denis Shelomovskij пишет: 15.06.2015 11:40, Ilya Yaroshenko пишет: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be