@@ -29,7 +29,7 @@ The following example shows how to initialize a multi-dimensional array of dynam
2929.. code ::
3030
3131 #include <vector>
32- #include " xtensor/xarray.hpp"
32+ #include < xtensor/xarray.hpp>
3333
3434 std::vector<size_t> shape = { 3, 2, 4 };
3535 std::vector<size_t> strides = { 8, 4, 1 };
@@ -40,7 +40,7 @@ However, this requires to carefully compute the strides to avoid buffer overflow
4040.. code ::
4141
4242 #include <vector>
43- #include " xtensor/xarray.hpp"
43+ #include < xtensor/xarray.hpp>
4444
4545 std::vector<size_t> shape = { 3, 2, 4 };
4646 xt::xarray<double, xt::layout_type::dynamic> a(shape, xt::layout_type::row_major);
@@ -50,7 +50,7 @@ If the layout of the array can be fixed at compile time, we can make it even sim
5050.. code ::
5151
5252 #include <vector>
53- #include " xtensor/xarray.hpp"
53+ #include < xtensor/xarray.hpp>
5454
5555 std::vector<size_t> shape = { 3, 2, 4 };
5656 xt::xarray<double, xt::layout_type::row_major> a(shape);
@@ -75,7 +75,7 @@ Let's use ``xtensor`` instead of ``xarray`` in the previous example:
7575.. code ::
7676
7777 #include <array>
78- #include " xtensor/xtensor.hpp"
78+ #include < xtensor/xtensor.hpp>
7979
8080 std::array<size_t, 3> shape = { 3, 2, 4 };
8181 xt::xtensor<double, 3> a(shape);
@@ -86,7 +86,7 @@ Or when using ``xtensor_fixed``:
8686
8787.. code ::
8888
89- #include " xtensor/xfixed.hpp"
89+ #include < xtensor/xfixed.hpp>
9090
9191 xt::xtensor_fixed<double, xt::xshape<3, 2, 4>> a();
9292 // or xt::xtensor_fixed<double, xt::xshape<3, 2, 4>, xt::layout_type::row_major>()
@@ -107,7 +107,7 @@ compatible with the old one, that is, the number of elements in the container mu
107107
108108.. code ::
109109
110- #include " xtensor/xarray.hpp"
110+ #include < xtensor/xarray.hpp>
111111
112112 xt::xarray<int> a = { 1, 2, 3, 4, 5, 6, 7, 8};
113113 // The following two lines ...
@@ -124,7 +124,7 @@ values in the ``shape``:
124124
125125.. code ::
126126
127- #include " xtensor/xarray.hpp"
127+ #include < xtensor/xarray.hpp>
128128 xt::xarray<int> a = { 1, 2, 3, 4, 5, 6, 7, 8};
129129 a.reshape({2, -1});
130130 // a.shape() return {2, 4}
@@ -151,8 +151,8 @@ automatically and applies the "temporary variable rule" by default. A mechanism
151151
152152.. code ::
153153
154- #include " xtensor/xarray.hpp"
155- #include " xtensor/xnoalias.hpp"
154+ #include < xtensor/xarray.hpp>
155+ #include < xtensor/xnoalias.hpp>
156156
157157 // a, b, and c are xt::xarrays previously initialized
158158 xt::noalias(b) = a + c;
@@ -167,7 +167,7 @@ The aliasing phenomenon is illustrated in the following example:
167167.. code ::
168168
169169 #include <vector>
170- #include " xtensor/xarray.hpp"
170+ #include < xtensor/xarray.hpp>
171171
172172 std::vector<size_t> a_shape = {3, 2, 4};
173173 xt::xarray<double> a(a_shape);
0 commit comments