Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
b0b14a58
Commit
b0b14a58
authored
15 years ago
by
Russell Taylor
Browse files
Options
Downloads
Patches
Plain Diff
Fix documentation error. Re #1155.
parent
893ff427
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/Kernel/src/VectorHelper.cpp
+7
-7
7 additions, 7 deletions
Code/Mantid/Kernel/src/VectorHelper.cpp
with
7 additions
and
7 deletions
Code/Mantid/Kernel/src/VectorHelper.cpp
+
7
−
7
View file @
b0b14a58
...
...
@@ -187,13 +187,13 @@ void rebin(const std::vector<double>& xold, const std::vector<double>& yold, con
/** Rebins histogram data according to a new output X array. Should be faster than previous one.
* @author Laurent Chapon 10/03/2009
*
* @param xold
[in]
Old X array of data.
* @param yold
[in]
Old Y array of data. Must be 1 element shorter than xold.
* @param eold
[in]
Old error array of data. Must be same length as yold.
* @param xnew
[in]
X array of data to rebin to.
* @param
ynew
[out] Rebinned data. Must be 1 element shorter than xnew.
* @param
enew
[out] Rebinned errors. Must be same length as ynew.
* @param addition
[in]
If true, rebinned values are added to the existing ynew/enew vectors.
* @param
[in]
xold Old X array of data.
* @param
[in]
yold Old Y array of data. Must be 1 element shorter than xold.
* @param
[in]
eold Old error array of data. Must be same length as yold.
* @param
[in]
xnew X array of data to rebin to.
* @param[out]
ynew
Rebinned data. Must be 1 element shorter than xnew.
* @param[out]
enew
Rebinned errors. Must be same length as ynew.
* @param
[in]
addition If true, rebinned values are added to the existing ynew/enew vectors.
* NOTE THAT, IN THIS CASE THE RESULTING enew WILL BE THE SQUARED ERRORS!
* @throw runtime_error Thrown if vector sizes are inconsistent
**/
...
...
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