blAngle() - Calculates the angle between three sets of coordinates
blCalculateBestFitLine() - Calculates a best fit line through a set of coordinates in 3D. Results are returned as a vector and a point through which the vector must pass.
blFindCentroid() - Calculates the centroid of an array of points. (Like blGetCofGPDB() but for a coordinate array instead of a PDB linked list)
blPhi() - Calculates the torsion angle described by 4 sets of coordinates.
blPointLineDistance() - Calculates the shortest distance from a point P to a line between points P1 and P2. This value is returned and the point on the line can also be returned. See also blDistPtLine()
blSimpleangle() - Simplifies a signed angle to an unsigned angle <=2*PI
blTorToCoor() - Calculates cartesian coordinates for an atom given the coordinates of three antecedant atoms and the bond length, angle and torsion angle
blTrueAngle() - Return the +ve angle between 0 and 2PI given the opp and adj values.
blCreateRotMat() - Create a 3x3 rotation matrix. Takes a direction as a single character ('x', 'y', or 'z'), an angle (in rads) and outputs a rotation matrix
blEigen() - Calculates the eigenvalues and eigenvectors of a REAL symmetric matrix Note that this routine destroys the values above the diagonal of the matrix.
blFactdiv() - Calculates the factorial of one number divided by the factorial of another (smaller) number.
blFactorial() - Calculates the factorial of an integer.
blNComb() - Calculates number of combinations of n items in r groups
blNPerm() - Calculates number of permutations of n items in r groups
Statistics
blCalcExtSD() - Calculate the mean and standard deviation from a set of numbers. The routine is called with each value to be sampled and then again to obtain the results. This is the same as blCalcSD() except that the variables used to accumulate totals are kept outside the function instead of being static within the function
blCalcSD() - Calculate the mean and standard deviation from a set of numbers. The routine is called with each value to be sampled and then called again to extract the results
blPearson() - Calculates the Pearson correlation coefficient making two passes through the data
blPearson1() - Calculates the Pearson correlation coefficient making a single pass through the data
Vectors
blCrossProd3() - Calculate the cross product of 2 3-vectors