Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
pyopencl
Commits
944d69e0
Commit
944d69e0
authored
11 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Fix ambiguous comment about complex arithmetic in docs
parent
7f07d5b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/array.rst
+5
-3
5 additions, 3 deletions
doc/array.rst
with
5 additions
and
3 deletions
doc/array.rst
+
5
−
3
View file @
944d69e0
...
...
@@ -99,9 +99,11 @@ autodetected.
Under the hood, the complex types are simply `float2` and `double2`.
.. warning::
Note that addition (real + complex) and multiplication (complex*complex)
are defined for e.g. `float2`, but yield wrong results, so that you need to
use the corresponding functions.
Note that, at the OpenCL source code level, addition (real + complex) and
multiplication (complex*complex) are defined for e.g. `float2`, but yield
wrong results, so that you need to use the corresponding functions.
(The :mod:`Array` type implements complex arithmetic as you remember it,
without any idiotic quirks like this.)
.. versionadded:: 2012.1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment