|
@@ -1,18 +1,21 @@
|
|
|
-/*
|
|
|
- * r.regression
|
|
|
+
|
|
|
+/****************************************************************************
|
|
|
*
|
|
|
- * Calculates linear regression from two raster maps: y = a + b*x
|
|
|
- * Copyright (C) 2010 by the GRASS Development Team
|
|
|
- * Author(s): original author Dr. Agustin Lobo
|
|
|
- * Markus Metz (conversion to C for speed)
|
|
|
+ * MODULE: r.regression.line
|
|
|
+ *
|
|
|
+ * AUTHOR(S): Dr. Agustin Lobo
|
|
|
+ * Markus Metz (conversion to C for speed)
|
|
|
+ *
|
|
|
+ * PURPOSE: Calculates linear regression from two raster maps:
|
|
|
+ * y = a + b*x
|
|
|
+ *
|
|
|
+ * COPYRIGHT: (C) 2010 by the GRASS Development Team
|
|
|
*
|
|
|
- * This program is free software under the GNU General Public
|
|
|
- * License (>=v2). Read the file COPYING that comes with GRASS
|
|
|
- * for details.
|
|
|
+ * This program is free software under the GNU General Public
|
|
|
+ * License (>=v2). Read the file COPYING that comes with GRASS
|
|
|
+ * for details.
|
|
|
*
|
|
|
- * This program is a replacement for the r.regression.line script
|
|
|
- * (the C version is up to 200x faster than the script version)
|
|
|
- */
|
|
|
+ *****************************************************************************/
|
|
|
|
|
|
#include <stdio.h>
|
|
|
#include <stdlib.h>
|