Commit 13f084fe authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Add @return to pearson function

parent b406d3be
......@@ -26,7 +26,7 @@
/* Local headers. */
#include "swift.h"
* @brief Compute the Pearson correlation coefficient for two sets of numbers
* The pearson correlation coefficient between two sets of numbers can be
......@@ -47,6 +47,7 @@
* @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
* @return the Pearson correlation coefficient
* */
double pearsonfunc(double mean1, double mean2, double total12, double var1, double var2, int counter) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment