From 3ed132f99738baab54019ad6d13c848951fbae25 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Sun, 26 Jul 2026 18:51:18 -0700 Subject: [PATCH 1/5] DOC: an scalar -> a scalar --- doc/user_guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user_guide.rst b/doc/user_guide.rst index 84f085d..7b9b53c 100644 --- a/doc/user_guide.rst +++ b/doc/user_guide.rst @@ -176,7 +176,7 @@ namely: * In operations implying a scalar and an array, the normal rules of casting are used in NumExpr, in contrast with NumPy, where array types takes priority. For example, if :code:`a` is an array of type :code:`float32` - and :code:`b` is an scalar of type :code:`float64` (or Python :code:`float` + and :code:`b` is a scalar of type :code:`float64` (or Python :code:`float` type, which is equivalent), then :code:`a*b` returns a :code:`float64` in NumExpr, but a :code:`float32` in NumPy (i.e. array operands take priority in determining the result type). If you need to keep the result a From 09d6d7e994cc85da7346657d2e08b5369d440311 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Sun, 26 Jul 2026 18:51:54 -0700 Subject: [PATCH 2/5] DOC: a in-between -> an in-between --- doc/intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/intro.rst b/doc/intro.rst index 0d31925..1b7d730 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -32,7 +32,7 @@ expression is not compiled to machine code, you will have a big case statement (or a bunch of if's) inside the loop, which adds a large overhead for each element, and will hurt the branch-prediction used on the CPU. -:code:`numexpr` uses a in-between approach. Arrays are handled as chunks (of +:code:`numexpr` uses an in-between approach. Arrays are handled as chunks (of 4096 elements) at a time, using a register machine. As Python code, it looks something like this:: From c07e53a676b1b633c6b55dcca4e1fe2d9a46bbc6 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Sun, 26 Jul 2026 18:52:21 -0700 Subject: [PATCH 3/5] DOC: a Intel -> an Intel --- doc/mkl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mkl.rst b/doc/mkl.rst index 0c706bb..b599642 100644 --- a/doc/mkl.rst +++ b/doc/mkl.rst @@ -13,7 +13,7 @@ simple expressions. One is a pure algebraic one: :code:`2*y + 4*x` and the othe contains transcendental functions: :code:`sin(x)**2 + cos(y)**2`. For this, we are going to use this worksheet_. I (Francesc Alted) ran this -benchmark on a Intel Xeon E3-1245 v5 @ 3.50GHz. Here are the results when +benchmark on an Intel Xeon E3-1245 v5 @ 3.50GHz. Here are the results when not using MKL:: NumPy version: 1.11.1 From 1f34e6d5e143b8577f721290c03af2cb0dcd8111 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Sun, 26 Jul 2026 18:52:58 -0700 Subject: [PATCH 4/5] DOC: a HTML -> an HTML --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index 7daf47a..eb4819b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -22,7 +22,7 @@ help: @echo " singlehtml to make a single large HTML file" @echo " pickle to make pickle files" @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" + @echo " htmlhelp to make HTML files and an HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " applehelp to make an Apple Help Book" @echo " devhelp to make HTML files and a Devhelp project" From a9910cac9d0a35e3dcd4ec9927901ef50ae39041 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Sun, 26 Jul 2026 18:53:44 -0700 Subject: [PATCH 5/5] DOC: a HTML -> an HTML (make.bat) --- doc/make.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/make.bat b/doc/make.bat index 01023c9..e8bca81 100644 --- a/doc/make.bat +++ b/doc/make.bat @@ -23,7 +23,7 @@ if "%1" == "help" ( echo. singlehtml to make a single large HTML file echo. pickle to make pickle files echo. json to make JSON files - echo. htmlhelp to make HTML files and a HTML help project + echo. htmlhelp to make HTML files and an HTML help project echo. qthelp to make HTML files and a qthelp project echo. devhelp to make HTML files and a Devhelp project echo. epub to make an epub