RNAlib-2.3.1
equilibrium_probs.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_EQUILIBRIUM_PROBS_H
2 #define VIENNA_RNA_PACKAGE_EQUILIBRIUM_PROBS_H
3 
4 /* make this interface backward compatible with RNAlib < 2.2.0 */
5 #define VRNA_BACKWARD_COMPAT
6 
8 
9 #ifdef DEPRECATION_WARNINGS
10 # ifdef __GNUC__
11 # define DEPRECATED(func) func __attribute__ ((deprecated))
12 # else
13 # define DEPRECATED(func) func
14 # endif
15 #else
16 # define DEPRECATED(func) func
17 #endif
18 
30 /*
31 #################################################
32 # BASE PAIR PROBABILITY RELATED FUNCTIONS #
33 #################################################
34 */
35 
36 void vrna_pairing_probs(vrna_fold_compound_t *vc, char *structure);
37 
51 double vrna_mean_bp_distance_pr(int length, FLT_OR_DBL *pr);
52 
66 
80 
81 #endif
double vrna_mean_bp_distance(vrna_fold_compound_t *vc)
Get the mean base pair distance in the thermodynamic ensemble.
double FLT_OR_DBL
Typename for floating point number in partition function computations.
Definition: data_structures.h:48
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:454
vrna_plist_t * vrna_stack_prob(vrna_fold_compound_t *vc, double cutoff)
Compute stacking probabilities.
Various data structures and pre-processor macros.
this datastructure is used as input parameter in functions of PS_dot.h and others ...
Definition: data_structures.h:182
double vrna_mean_bp_distance_pr(int length, FLT_OR_DBL *pr)
Get the mean base pair distance in the thermodynamic ensemble from a probability matrix.
FLT_OR_DBL * pr
A pointer to the base pair probability matrix.