Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
169b8c8c
Commit
169b8c8c
authored
6 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Fix the documentatio of the testRandom.
parent
01ea8f8f
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
tests/testRandom.c
+3
-2
3 additions, 2 deletions
tests/testRandom.c
with
3 additions
and
2 deletions
tests/testRandom.c
+
3
−
2
View file @
169b8c8c
...
...
@@ -46,7 +46,7 @@
* @param total12 sum of x_i * y_i of both series of numbers
* @param var1 variance of the first series of numbers
* @param var2 variance of the second series of numbers
* @param number of elements in both series
* @param
counter
number of elements in both series
* @return the Pearson correlation coefficient
* */
double
pearsonfunc
(
double
mean1
,
double
mean2
,
double
total12
,
double
var1
,
...
...
@@ -80,7 +80,8 @@ double pearsonfunc(double mean1, double mean2, double total12, double var1,
* More information about the Pearson correlation coefficient can be found in
* the function pearsonfunc above this function.
*
* @param none
* @param argc Unused
* @param argv Unused
* @return 0 if everything is fine, 1 if random numbers are not random enough.
*/
int
main
(
int
argc
,
char
*
argv
[])
{
...
...
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