Skip to content

Commit 8fe608c

Browse files
authored
Update README.md (#99)
Fix paths to header files in the documentation.
1 parent 911575f commit 8fe608c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ array<uint8_t, chunky_image_shape<3>> my_chunky_image({1920, 1080, {}});
174174
```
175175

176176
`strided_dim<>` is another alias for `dim<>` where the min and extent are unknown, and the stride may be a compile-time constant.
177-
[`image.h`](image.h) is a small helper library of typical image shape and object types defined using arrays, including `chunky_image_shape`.
177+
[`image.h`](include/array/image.h) is a small helper library of typical image shape and object types defined using arrays, including `chunky_image_shape`.
178178

179179
Another common example is matrices indexed `(row, column)` with the column dimension stored densely:
180180
```c++
@@ -203,7 +203,7 @@ small_matrix<float, 4, 4> my_small_matrix;
203203
// happen. sizeof(small_matrix) = sizeof(float) * 4 * 4 + (overhead)
204204
```
205205

206-
[`matrix.h`](matrix.h) is a small helper library of typical matrix shape and object types defined using arrays, including the examples above.
206+
[`matrix.h`](include/array/matrix.h) is a small helper library of typical matrix shape and object types defined using arrays, including the examples above.
207207

208208
### Slicing, cropping, and splitting
209209

@@ -250,7 +250,7 @@ This allows potentially significant optimizations to be expressed relatively eas
250250

251251
### Einstein reductions
252252

253-
The [`ein_reduce.h`](ein_reduce.h) header provides [Einstein notation](https://en.wikipedia.org/wiki/Einstein_notation) reductions and summation helpers, similar to [np.einsum](https://numpy.org/doc/stable/reference/generated/numpy.einsum.html) or [tf.einsum](https://www.tensorflow.org/api_docs/python/tf/einsum).
253+
The [`ein_reduce.h`](include/array/ein_reduce.h) header provides [Einstein notation](https://en.wikipedia.org/wiki/Einstein_notation) reductions and summation helpers, similar to [np.einsum](https://numpy.org/doc/stable/reference/generated/numpy.einsum.html) or [tf.einsum](https://www.tensorflow.org/api_docs/python/tf/einsum).
254254
These are zero-cost abstractions for describing loops that allow expressing a wide variety of array operations.
255255
Einstein notation expression operands are constructed using the `ein<i, j, ...>(x)` helper function, where `x` can be any callable object, including an `array<>` or `array_ref<>`.
256256
`i, j, ...` are `constexpr` integers indicating which dimensions of the reduction operation are used to evaluate `x`.

0 commit comments

Comments
 (0)