libmir / mir
Showing 4 of 24 files from the diff.

@@ -55,6 +55,9 @@
Loading
55 55
///
56 56
unittest
57 57
{
58 +
    import mir.ndslice;
59 +
    import mir.sparse;
60 +
58 61
    auto sp = sparse!int(3, 5);
59 62
    sp[] =
60 63
        [[-5, 1, 7, 7, -4],
@@ -126,6 +129,9 @@
Loading
126 129
///
127 130
unittest
128 131
{
132 +
    import mir.ndslice;
133 +
    import mir.sparse;
134 +
129 135
    auto sp = sparse!int(5, 3);
130 136
    sp[] =
131 137
        [[-5, -1, -5],
@@ -190,6 +196,9 @@
Loading
190 196
///
191 197
unittest
192 198
{
199 +
    import mir.ndslice;
200 +
    import mir.sparse;
201 +
193 202
    auto a = slice!double(3, 5);
194 203
    a[] =
195 204
        [[-5, 1, 7, 7, -4],

@@ -102,6 +102,8 @@
Loading
102 102
///
103 103
unittest
104 104
{
105 +
    import mir.series;
106 +
105 107
    auto x = series([0u, 3, 5, 9, 100], [1, 3, 4, 9, 10]);
106 108
    auto y = series([1u, 3, 4, 9], [1, 10, 100, 1000]);
107 109
    // x = [1, 0, 0,  3, 0, 4, 0, 0, 0, 9, ... ,10]
@@ -159,7 +161,8 @@
Loading
159 161
///
160 162
unittest
161 163
{
162 -
    import std.typecons: No;
164 +
    import mir.series;
165 +
163 166
    auto x = [0u, 3, 5, 9, 10].series([1.0, 3, 4, 9, 13]);
164 167
    auto y = [0.0, 1.0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
165 168
    // x: [1, 0, 0, 3, 0, 4, 0, 0, 0, 9, 13,  0,  0,  0]

@@ -45,6 +45,7 @@
Loading
45 45
///
46 46
unittest
47 47
{
48 +
    import mir.series;
48 49
    auto x = series([0, 3, 5, 9, 10], [1.0, 3, 4, 9, 13]);
49 50
    auto y = [0.0, 1.0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
50 51
    axpy(2.0, x, y);
@@ -53,6 +54,7 @@
Loading
53 54
54 55
unittest
55 56
{
57 +
    import mir.series;
56 58
    auto x = series([0, 3, 5, 9, 10], [1.0, 3, 4, 9, 13]);
57 59
    auto y = [0.0, 1.0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
58 60
    axpy(2.0, x, y.sliced);

@@ -64,6 +64,9 @@
Loading
64 64
///
65 65
unittest
66 66
{
67 +
    import mir.ndslice;
68 +
    import mir.sparse;
69 +
67 70
    auto slice = sparse!double(3, 5);
68 71
    slice[] =
69 72
        [[ 0.0, 2.0,  3.0, 0.0, 0.0],
@@ -134,6 +137,9 @@
Loading
134 137
///
135 138
unittest
136 139
{
140 +
    import mir.ndslice;
141 +
    import mir.sparse;
142 +
137 143
    auto slice = sparse!double(5, 3);
138 144
    slice[] =
139 145
        [[0.0,  6.0,  6.0],
@@ -203,6 +209,9 @@
Loading
203 209
///
204 210
unittest
205 211
{
212 +
    import mir.ndslice;
213 +
    import mir.sparse;
214 +
206 215
    auto slice = sparse!double(3, 5);
207 216
    slice[] =
208 217
        [[ 0.0, 2.0,  3.0, 0.0, 0.0],
Files Coverage
source/mir 84.82%
Project Totals (8 files) 84.82%
1678.1
TRAVIS_OS_NAME=linux
1678.2
TRAVIS_OS_NAME=linux
1678.4
TRAVIS_OS_NAME=osx
1678.5
TRAVIS_OS_NAME=linux
1678.6
TRAVIS_OS_NAME=linux
1678.3
TRAVIS_OS_NAME=osx

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading