Skip to content

Commit b10fbbb

Browse files
Merge pull request #563 from star1327p/correct-typos
DOC: Correct some typos in numexpr documentation
2 parents a561ee3 + a9910ca commit b10fbbb

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ help:
2222
@echo " singlehtml to make a single large HTML file"
2323
@echo " pickle to make pickle files"
2424
@echo " json to make JSON files"
25-
@echo " htmlhelp to make HTML files and a HTML help project"
25+
@echo " htmlhelp to make HTML files and an HTML help project"
2626
@echo " qthelp to make HTML files and a qthelp project"
2727
@echo " applehelp to make an Apple Help Book"
2828
@echo " devhelp to make HTML files and a Devhelp project"

doc/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ expression is not compiled to machine code, you will have a big case statement
3232
(or a bunch of if's) inside the loop, which adds a large overhead for each
3333
element, and will hurt the branch-prediction used on the CPU.
3434

35-
:code:`numexpr` uses a in-between approach. Arrays are handled as chunks (of
35+
:code:`numexpr` uses an in-between approach. Arrays are handled as chunks (of
3636
4096 elements) at a time, using a register machine. As Python code,
3737
it looks something like this::
3838

doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if "%1" == "help" (
2323
echo. singlehtml to make a single large HTML file
2424
echo. pickle to make pickle files
2525
echo. json to make JSON files
26-
echo. htmlhelp to make HTML files and a HTML help project
26+
echo. htmlhelp to make HTML files and an HTML help project
2727
echo. qthelp to make HTML files and a qthelp project
2828
echo. devhelp to make HTML files and a Devhelp project
2929
echo. epub to make an epub

doc/mkl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ simple expressions. One is a pure algebraic one: :code:`2*y + 4*x` and the othe
1313
contains transcendental functions: :code:`sin(x)**2 + cos(y)**2`.
1414

1515
For this, we are going to use this worksheet_. I (Francesc Alted) ran this
16-
benchmark on a Intel Xeon E3-1245 v5 @ 3.50GHz. Here are the results when
16+
benchmark on an Intel Xeon E3-1245 v5 @ 3.50GHz. Here are the results when
1717
not using MKL::
1818

1919
NumPy version: 1.11.1

doc/user_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ namely:
176176
* In operations implying a scalar and an array, the normal rules of casting
177177
are used in NumExpr, in contrast with NumPy, where array types takes
178178
priority. For example, if :code:`a` is an array of type :code:`float32`
179-
and :code:`b` is an scalar of type :code:`float64` (or Python :code:`float`
179+
and :code:`b` is a scalar of type :code:`float64` (or Python :code:`float`
180180
type, which is equivalent), then :code:`a*b` returns a :code:`float64` in
181181
NumExpr, but a :code:`float32` in NumPy (i.e. array operands take priority
182182
in determining the result type). If you need to keep the result a

0 commit comments

Comments
 (0)