Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos in documentation #2937

Merged
merged 1 commit into from Oct 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/manual/build_system/prerequisites.qbk
Expand Up @@ -194,5 +194,5 @@ detail in the sections __unix_installation__ and __windows_installation__.
[endsect]

[/////////////////////////////////////////////////////////////////////////////]
[endsect] [/ Prerequistes]
[endsect] [/ Prerequisites]

14 changes: 7 additions & 7 deletions docs/manual/vector.qbk
Expand Up @@ -216,7 +216,7 @@ Which is equivalent to:
[//////////////////////////////////////////////////////////////////////////////]
[section:partitioned_vector_views Using Views]

The use of multi-dimensional arrays is quite common
The use of multidimensional arrays is quite common
in the numerical field whether to perform dense matrix operations
or to process images. It exist many libraries which implement such object
classes overloading their basic operators (e.g. `+`, `-`, `*`, `()`, etc.).
Expand All @@ -228,7 +228,7 @@ Our solution is thus to relax the level of abstraction by allowing
the user to work not directly on n-dimensionnal data, but on "n-dimensionnal
collections of 1-D arrays". The use of well-accepted techniques on contiguous
data is thus preserved at the segment level, and the composability of the
segments is made possible thanks to multi-dimensional array -inspired
segments is made possible thanks to multidimensional array-inspired
access mode.

[section:spmd_block Preface : Why SPMD ?]
Expand Down Expand Up @@ -345,7 +345,7 @@ indicating the number of images per locality to create.

[endsect]

[section:spmd_views SPMD Multidimensionnal Views]
[section:spmd_views SPMD Multidimensional Views]
Some classes are defined as "container views" when the purpose is to
observe and/or modify the values of a container using another perspective
than the one that characterizes the container. For example, the values of an
Expand Down Expand Up @@ -375,11 +375,11 @@ By default, the `partitioned_vector` class integrates 1-D views of its segments
// Access segment i
std::vector<double> v = vv[i];

Our views are called "multi-dimensional" in the sense that they generalize
Our views are called "multidimensional" in the sense that they generalize
to N dimensions the purpose of `segmented_iterator_traits::segment()` in the 1-D case. Note that
in a parallel section, the 2-D expression `a(i,j) = b(i,j)` is quite confusing
because without convention, each of the images invoked will race to execute
the statement. For this reason, our views are not only multi-dimensional
the statement. For this reason, our views are not only multidimensional
but also "spmd-aware".

[note SPMD-awareness: The convention is simple. If an assignment statement
Expand Down Expand Up @@ -579,9 +579,9 @@ containers present themselves as a ?smarter? alternative of Fortran arrays but
there are still no corresponding standardized features similar to the Fortran
co-indexing approach. We present here an implementation of such features in __hpx__.

[section Preface : Co-array, a segmented container tied to a SPMD Multidimensionnal View]
[section Preface : Co-array, a segmented container tied to a SPMD Multidimensional View]
As mentioned before, a co-array is a distributed array whose segments
are accessible through an array -inspired access mode. We have previously seen
are accessible through an array-inspired access mode. We have previously seen
that it is possible to reproduce such access mode using the concept of views.
Nevertheless, the user must pre-create a segmented container to instanciate this
view. We illustrate below how a single constructor call can perform those two
Expand Down