The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
pearson1.c File Reference
#include <math.h>
#include "MathType.h"

Go to the source code of this file.

Functions

REAL blPearson1 (REAL *x, REAL *y, int NItem)
 

Detailed Description

Version
V1.3
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file pearson1.c.

Function Documentation

REAL blPearson1 ( REAL x,
REAL y,
int  NItem 
)
Parameters
[in]*xArray of x items
[in]*yArray of y items
[in]NItemNumber of items
Returns
Pearson correlation coefficient

This version makes a single pass through the data

  • 15.07.94 Original By: ACRM
  • 18.01.96 Alternative version which does a single pass through the data. Method from page 191 of Statistical Methods in Biology 2 ed. Norman TJ Bailey. Publ. Unibooks 1981 By: RM
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 98 of file pearson1.c.