Commit graph

122 commits

Author SHA1 Message Date
ljubobratovicrelja
c312da1888 Added unittest example demonstrating overlapped blocks. 2016-11-05 14:14:12 +01:00
ljubobratovicrelja
946dce263f Added hint in docs about overlapped blocks. 2016-11-05 14:14:12 +01:00
Andrei Alexandrescu
00ce4ed3a1 Merge pull request #4865 from 9il/tohash
fix issue 16609
2016-11-01 13:32:55 -04:00
Ilya Yaroshenko
821ccc907b Implicit cast to const slices in case of underlaying range is a pointer. 2016-10-16 18:55:15 +02:00
Ilya Yaroshenko
52767078cc fix issue 16419 2016-10-16 12:47:04 +02:00
Ilya Yaroshenko
7120a2fa86 add note about Mir 2016-10-01 08:30:01 +02:00
Ilya Yaroshenko
2ad1da6e2b update ndslice tables 2016-10-01 08:04:27 +02:00
Ilya Yaroshenko
a3d18ebbec add slice.as 2016-09-30 21:28:59 +02:00
Ilya Yaroshenko
1c9ff2f1ed fix mixin style 2016-09-30 16:16:39 +02:00
Ilya Yaroshenko
545dfd08d7 workaround for Issue 16473 2016-09-30 16:13:35 +02:00
Ilya Yaroshenko
a90f857754 reduce ndslice template bloat part 2 2016-09-30 01:43:15 +02:00
Ilya Yaroshenko
c39ec4cd43 reduce ndslice template bloat part 1 2016-09-30 01:43:05 +02:00
Ilya Yaroshenko
99532a8f41 fix issue 16503 : add fast math bridge for LDC 2016-09-23 20:29:28 +02:00
Ilya Yaroshenko
a3f205a19e fix 16501 and fix issue 16501 2016-09-23 20:29:15 +02:00
Andrei Alexandrescu
ca39f61132 Merge pull request #4780 from 9il/all
add uninitializedSlice
2016-09-20 13:24:48 -04:00
Ilya Yaroshenko
4f871af02f add uninitialised slice allocation 2016-09-17 01:00:14 +02:00
Andrei Alexandrescu
39957b56ef Merge pull request #4782 from 9il/repeatSlice
add repeatSlice
2016-09-16 18:15:25 -04:00
Andrei Alexandrescu
8170aac80c Merge pull request #4785 from 9il/ab
add anyEmpty and backward for Slice
2016-09-16 18:10:58 -04:00
Ilya Yaroshenko
40d290fe7a add anyEmpty and backward for Slice 2016-09-14 14:11:34 +02:00
Ilya Yaroshenko
a29e41cbfe remove pragma inline for generic code 2016-09-14 13:08:22 +02:00
Ilya Yaroshenko
1ea8b7a12e add repeatSlice 2016-09-14 12:01:05 +02:00
Dmitry Olshansky
488b399c8a Merge pull request #4693 from 9il/iota3
add iotaSlice variant with step
2016-08-09 20:05:48 +02:00
Dmitry Olshansky
31ef7f7c44 Merge pull request #4698 from 9il/zl
relax length constraints
2016-08-09 19:32:44 +02:00
Ilya Yaroshenko
bd33e92935 remove object file 2016-08-04 11:04:27 +02:00
Dmitry Olshansky
fba7339893 Merge pull request #4639 from 9il/mm3
fix Issue 16311 - toHash for Slice is not defined
2016-08-04 11:00:45 +02:00
Ilya Yaroshenko
15c04beabd remove pragma(inline, false) 2016-08-03 16:22:33 +02:00
Ilya Yaroshenko
4866f6c79d add Slice.toHash 2016-07-31 18:07:42 +02:00
David Nadlinger
eb9e676783 Merge pull request #4647 from 9il/assign
fix Issue 16315 and optimise arithmetic operations for Slice
2016-07-31 15:50:26 +01:00
Ilya Yaroshenko
a92618b3a3 relax length constraints 2016-07-31 16:45:30 +02:00
Petar Kirov
fd0ceb2b39 Make iotaSlice implementation easier to understand 2016-07-31 15:18:50 +03:00
Ilya Yaroshenko
3e0a93325b fix Issue 16315, optimise arithmetic operations for Slice 2016-07-31 11:11:47 +02:00
Ilya Yaroshenko
c58e3fadc9 Issue 16308 - [ndslice] should always has save primitive
The reason is that Slice never calls front/popFront and others
primitives of underlaying range.

remove constraints for `save` in ndslice.selection
2016-07-31 10:43:26 +02:00
Ilya Yaroshenko
945feb73c5 add iotaSlice variant with step 2016-07-30 23:41:31 +02:00
Ilya Yaroshenko
52b694570c Merge pull request #4631 from jmh530/patch-1
[ndslice] Change pack example to something simpler
2016-07-27 21:08:56 +02:00
jmh530
4fbfeb6855 Changing enums to static immutable
Changing enums to static immutable because that is what Travis CI is telling me to do
2016-07-26 21:54:58 -04:00
jmh530
97efba121f Adding enums to avoid risk of GC allocation
Adding enums to avoid risk of GC allocation
2016-07-26 21:50:43 -04:00
jmh530
5b14ca79c3 Removing extra line between blocks
Removing extra line between blocks
2016-07-26 21:47:53 -04:00
jmh530
bdac4d2a93 Fixing white space on line 107
Fixing white space on line 107
2016-07-26 21:45:12 -04:00
jmh530
7ebce43896 Fixing white space
Trying to fix white space so that Travis CI passes.
2016-07-26 21:35:03 -04:00
jmh530
623d5b116e Fixing space after std.range
Adding a space after std.range to pass Travis CI.
2016-07-26 21:31:04 -04:00
jmh530
c84e8098b8 Fixing indentation and template parameters
Changing indentation to tab from 5 spaces for b. Also, change the formatting for template parameter to remove parentheses.
2016-07-26 21:12:22 -04:00
jmh530
56eb71c871 Update changes to have only one blank line
Was asked to have only one blank line. I assume this meant to split variables from asserts.
2016-07-26 18:43:53 -04:00
jmh530
f21cf84d99 Update changes to modify [0][0] to [0, 0]
Addressing comments to change [0][0] to [0, 0]
2016-07-26 18:41:56 -04:00
Brian Schott
3cf5e9a7fb Merge pull request #4638 from 9il/spec
add specialisation for byElement & byElementInStandardSimplex in case of 1D
2016-07-26 03:25:11 -07:00
Ilya Yaroshenko
dc996eb49c add specialisation for byElement & byElementInStandardSimplex in case of 1D 2016-07-26 09:55:56 +02:00
Ilya Yaroshenko
9a00cb53e7 Merge pull request #4263 from wilzbach/infer_type_for_make_array_with_ranges
infer elementType for ranges in makeArray,makeSlice
2016-07-23 08:57:42 +02:00
Sebastian Wilzbach
f35efe42f0 infer ElementType for ranges in makeArray and makeSlice 2016-07-23 01:21:34 +02:00
Sebastian Wilzbach
9a05cab46f [ndslice]: rename mod -> replaceWithArray 2016-07-21 19:48:25 +02:00
jmh530
1ab23fa70b Change pack example to something simpler
The original example for pack has too much stuff going on. Replacing it with a slimmer version that makes it a bit more clear what the impact of pack is. In particular, I feel like the asserts for shapes are necessary to make it obvious.
2016-07-21 10:53:53 -04:00
Brian Schott
48db636e9e Merge pull request #4606 from 9il/9il-patch-1
Simple fix for ndslice
2016-07-20 15:19:57 -07:00