Bioplib
Protein Structure C Library
|
Include file for least squares fitting. More...
Go to the source code of this file.
Macros | |
#define | _FIT_H_DEPRECATED |
Functions | |
BOOL | blMatfit (COOR *x1, COOR *x2, REAL rm[3][3], int n, REAL *wt1, BOOL column) |
Include file for least squares fitting.
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.
Definition in file fit.h.
[in] | *x1 | First (fixed) array of coordinates |
[in] | *x2 | Second (mobile) array of coordinates |
[in] | n | Number of coordinates |
[in] | *wt1 | Weight array or NULL |
[in] | column | TRUE: Output a column-wise matrix (as used by FRODO) FALSE: Output a standard row-wise matrix. |
[out] | rm | Returned rotation matrix |
Fit coordinate array x2 to x1 both centred around the origin and of length n. Optionally weighted with the wt1 array if wt1 is not NULL. If column is set the matrix will be returned column-wise rather than row-wise.