Skip to content

Commit 1bbcdae

Browse files
authored
doc: Fix typos (xtensor-stack#1361)
1 parent 8fd370e commit 1bbcdae

9 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/source/api/aligned_allocator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Aligned Memory Allocator
1414
:project: xsimd
1515
:members:
1616

17-
Alignement Checker
18-
------------------
17+
Alignment Checker
18+
-----------------
1919

2020
.. doxygenfunction:: xsimd::is_aligned
2121
:project: xsimd

docs/source/api/batch_manip.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Conditional Expression
1818
:content-only:
1919

2020

21-
In the specific case when one needs to conditionnaly increment or decrement a
21+
In the specific case when one needs to conditionally increment or decrement a
2222
batch based on a mask, :cpp:func:`incr_if` and
2323
:cpp:func:`decr_if` provide specialized version.

docs/source/api/data_transfer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ In place:
6464
Between batches:
6565

6666
+---------------------------------------+----------------------------------------------------+
67-
| :cpp:func:`transpose` | tranpose a matrix as an array of batches |
67+
| :cpp:func:`transpose` | transpose a matrix as an array of batches |
6868
+---------------------------------------+----------------------------------------------------+
6969
| :cpp:func:`zip_lo` | interleave low halves of two batches |
7070
+---------------------------------------+----------------------------------------------------+

docs/source/api/instr_macros.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ Changing Default Architecture
4040
*****************************
4141

4242
You can change the default instruction set used by xsimd (when none is provided
43-
explicitely) by setting the ``XSIMD_DEFAULT_ARCH`` macro to, say, ``xsimd::avx2``.
43+
explicitly) by setting the ``XSIMD_DEFAULT_ARCH`` macro to, say, ``xsimd::avx2``.
4444
A common usage is to set it to ``xsimd::unsupported`` as a way to detect
4545
instantiation of batches with the default architecture.

docs/source/api/type_traits.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ uniform manner.
3838
Combined traits:
3939

4040
+---------------------------------------+----------------------------------------------------+
41-
| :cpp:class:`batch_traits` | batch types and proprties |
41+
| :cpp:class:`batch_traits` | batch types and properties |
4242
+---------------------------------------+----------------------------------------------------+
4343

4444
Type check:

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vendors and compilers.
2020

2121
The core of the library consist in a parametrized vector type, :ref:`Batch Types`,
2222
and a set of operations to perform :ref:`Arithmetic Operations`,
23-
:ref:`Data Transfer`, and many common mathemtical functions, as for single
23+
:ref:`Data Transfer`, and many common mathematical functions, as for single
2424
values.
2525

2626

docs/source/migration_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ Many macros have been replaced by more elaborated constructs.
8585
``XSIMD_INSTR_SET_AVAILABLE`` has been replaced by the type alias ``xsimd::default_arch``.
8686

8787
Likewise architecture-specific macros like ``XSIMD_X86_INSTR_SET_AVAILABLE`` has
88-
been replaced by ``xsimd::upported_architectures::contains<xsimd::sse3>()``. Macro like ``XSIMD_WITH_SSE3`` are still
88+
been replaced by ``xsimd::supported_architectures::contains<xsimd::sse3>()``. Macro like ``XSIMD_WITH_SSE3`` are still
8989
defined to ``0`` or ``1`` to guard architecture-specific code.
9090

include/xsimd/math/xsimd_rem_pio2.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ namespace xsimd
130130
* z = (z-x[i])*2**24
131131
*
132132
*
133-
* y[] ouput result in an array of double precision numbers.
133+
* y[] output result in an array of double precision numbers.
134134
* The dimension of y[] is:
135135
* 24-bit precision 1
136136
* 53-bit precision 2
137137
* 64-bit precision 2
138138
* 113-bit precision 3
139139
* The actual value is the sum of them. Thus for 113-bit
140-
* precison, one may have to do something like:
140+
* precision, one may have to do something like:
141141
*
142142
* long double t,w,r_head, r_tail;
143143
* t = (long double)y[2] + (long double)y[1];

include/xsimd/types/xsimd_api.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ namespace xsimd
13821382
/**
13831383
* @ingroup batch_data_transfer
13841384
*
1385-
* Creates a batch from the buffer \c ptr and the specifed
1385+
* Creates a batch from the buffer \c ptr and the specified
13861386
* batch value type \c To. The memory needs to be aligned.
13871387
* @param ptr the memory buffer to read
13881388
* @return a new batch instance
@@ -1456,7 +1456,7 @@ namespace xsimd
14561456
/**
14571457
* @ingroup batch_data_transfer
14581458
*
1459-
* Creates a batch from the buffer \c ptr and the specifed
1459+
* Creates a batch from the buffer \c ptr and the specified
14601460
* batch value type \c To. The memory does not need to be aligned.
14611461
* @param ptr the memory buffer to read
14621462
* @return a new batch instance
@@ -2236,7 +2236,7 @@ namespace xsimd
22362236
* Computes the batch of nearest integer values to scalars in \c x (in
22372237
* floating point format), rounding halfway cases away from zero, regardless
22382238
* of the current rounding mode.
2239-
* @param x batch of flaoting point values.
2239+
* @param x batch of floating point values.
22402240
* @return the batch of nearest integer values.
22412241
*/
22422242
template <class T, class A>

0 commit comments

Comments
 (0)