Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

t_stat.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl.h>

Include dependency graph for t_stat.c:

Include dependency graph

Go to the source code of this file.

Defines

#define N_POINTS   10000
#define MAX_DIST   100.0
#define N_STEPS_BETWEEN   10

Functions

private Real evaluate_probability_t (int v, Real t)
private Real initialize_t_integral (int v, int n_points, Real cumulative_probs[], Real max_dist, int n_steps_between)
private Real convert_t_stat_to_probability (int n_points, Real cumulative_probs[], Real max_dist, Real t)
public void initialize_cumulative_t_stat (t_stat_struct *stat, int degrees_freedom)
public void delete_cumulative_t_stat (t_stat_struct *stat)
public Real get_cumulative_t_stat (t_stat_struct *stat, Real t)


Define Documentation

#define MAX_DIST   100.0
 

Definition at line 5 of file t_stat.c.

Referenced by initialize_cumulative_t_stat().

#define N_POINTS   10000
 

Definition at line 4 of file t_stat.c.

Referenced by initialize_cumulative_t_stat().

#define N_STEPS_BETWEEN   10
 

Definition at line 6 of file t_stat.c.

Referenced by initialize_cumulative_t_stat().


Function Documentation

private Real convert_t_stat_to_probability int  n_points,
Real  cumulative_probs[],
Real  max_dist,
Real  t
 

Definition at line 65 of file t_stat.c.

Referenced by get_cumulative_t_stat().

public void delete_cumulative_t_stat t_stat_struct stat  ) 
 

Definition at line 113 of file t_stat.c.

References t_stat_struct::cumulative_probs.

private Real evaluate_probability_t int  v,
Real  t
 

Definition at line 8 of file t_stat.c.

Referenced by initialize_t_integral().

public Real get_cumulative_t_stat t_stat_struct stat,
Real  t
 

Definition at line 119 of file t_stat.c.

References convert_t_stat_to_probability(), t_stat_struct::cumulative_probs, t_stat_struct::max_dist, and t_stat_struct::n_points.

public void initialize_cumulative_t_stat t_stat_struct stat,
int  degrees_freedom
 

Definition at line 96 of file t_stat.c.

References t_stat_struct::cumulative_probs, t_stat_struct::degrees_freedom, initialize_t_integral(), MAX_DIST, t_stat_struct::max_dist, N_POINTS, t_stat_struct::n_points, and N_STEPS_BETWEEN.

private Real initialize_t_integral int  v,
int  n_points,
Real  cumulative_probs[],
Real  max_dist,
int  n_steps_between
 

Definition at line 25 of file t_stat.c.

References evaluate_probability_t().

Referenced by initialize_cumulative_t_stat().


Generated on Wed Jul 28 09:11:21 2004 for BICPL by doxygen 1.3.7