Skip to content

Commit 7174ae4

Browse files
authored
mir.combinatorics update (#133)
1 parent 45626de commit 7174ae4

File tree

4 files changed

+342
-311
lines changed

4 files changed

+342
-311
lines changed

index.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ $(BOOKTABLE ,
3333
$(TR $(TDNW $(MREF mir,math,sum)) $(TD Various precise summation algorithms))
3434
$(LEADINGROW Accessories)
3535
$(TR $(TDNW $(MREF mir,utility)) $(TD Everyday utilities))
36-
$(TR $(TDNW $(MREF mir,array,primitives)) $(TD Array range primitives with ndslice-like API))
36+
$(TR $(TDNW $(MREF mir,array,primitives)) $(TD Array primitives with ndslice-like API))
37+
$(TR $(TDNW $(MREF mir,array,allocation)) $(TD `std.array` reworked for Mir))
3738
$(TR $(TDNW $(MREF mir,bitmanip)) $(TD Bit fields manipulations))
3839
$(TR $(TDNW $(MREF mir,conv)) $(TD Conversion utilities))
3940
$(TR $(TDNW $(MREF mir,functional)) $(TD Functions that manipulate other functions))

source/mir/array/allocation.d

Lines changed: 2 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -10,66 +10,13 @@ $(TR $(TH Function Name) $(TH Description)
1010
$(TR $(TD $(LREF _array))
1111
$(TD Returns a copy of the input in a newly allocated dynamic _array.
1212
))
13-
$(TR $(TD $(LREF appender))
14-
$(TD Returns a new $(LREF Appender) or $(LREF RefAppender) initialized with a given _array.
15-
))
16-
$(TR $(TD $(LREF assocArray))
17-
$(TD Returns a newly allocated associative _array from a range of key/value tuples.
18-
))
19-
$(TR $(TD $(LREF byPair))
20-
$(TD Construct a range iterating over an associative _array by key/value tuples.
21-
))
22-
$(TR $(TD $(LREF insertInPlace))
23-
$(TD Inserts into an existing _array at a given position.
24-
))
25-
$(TR $(TD $(LREF join))
26-
$(TD Concatenates a range of ranges into one _array.
27-
))
28-
$(TR $(TD $(LREF minimallyInitializedArray))
29-
$(TD Returns a new _array of type $(D T).
30-
))
31-
$(TR $(TD $(LREF replace))
32-
$(TD Returns a new _array with all occurrences of a certain subrange replaced.
33-
))
34-
$(TR $(TD $(LREF replaceFirst))
35-
$(TD Returns a new _array with the first occurrence of a certain subrange replaced.
36-
))
37-
$(TR $(TD $(LREF replaceInPlace))
38-
$(TD Replaces all occurrences of a certain subrange and puts the result into a given _array.
39-
))
40-
$(TR $(TD $(LREF replaceInto))
41-
$(TD Replaces all occurrences of a certain subrange and puts the result into an output range.
42-
))
43-
$(TR $(TD $(LREF replaceLast))
44-
$(TD Returns a new _array with the last occurrence of a certain subrange replaced.
45-
))
46-
$(TR $(TD $(LREF replaceSlice))
47-
$(TD Returns a new _array with a given slice replaced.
48-
))
49-
$(TR $(TD $(LREF replicate))
50-
$(TD Creates a new _array out of several copies of an input _array or range.
51-
))
52-
$(TR $(TD $(LREF sameHead))
53-
$(TD Checks if the initial segments of two arrays refer to the same
54-
place in memory.
55-
))
56-
$(TR $(TD $(LREF sameTail))
57-
$(TD Checks if the final segments of two arrays refer to the same place
58-
in memory.
59-
))
60-
$(TR $(TD $(LREF split))
61-
$(TD Eagerly split a range or string into an _array.
62-
))
63-
$(TR $(TD $(LREF uninitializedArray))
64-
$(TD Returns a new _array of type $(D T) without initializing its elements.
65-
))
6613
)
6714
68-
Copyright: Copyright Andrei Alexandrescu 2008- and Jonathan M Davis 2011-.
15+
Copyright: Copyright Andrei Alexandrescu 2008-, Jonathan M Davis 2011-, and Ilya Yaroshenko (Mir rework) 2018-
6916
7017
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
7118
72-
Authors: $(HTTP erdani.org, Andrei Alexandrescu) and Jonathan M Davis
19+
Authors: $(HTTP erdani.org, Andrei Alexandrescu), Jonathan M Davis,
7320
7421
Source: $(PHOBOSSRC std/_array.d)
7522
*/

0 commit comments

Comments
 (0)