[BACK]Return to ko-io.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / hgm / fisher-bingham / src

File: [local] / OpenXM / src / hgm / fisher-bingham / src / ko-io.h (download)

Revision 1.1, Thu Mar 27 05:24:28 2014 UTC (10 years, 2 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b, HEAD

A manual and a library for nk_fb_ten_c.
nk_fb_gen_c-ja.texi generated from nk_fb_gen_c.oxg gives an explanation
how to make a maximal likelihood estimate (MLE) for the Fisher-Bingham distribution
with this package.

(commit by proxy of T.Koyama, H.Nakayama, K.Nishiyama).

#ifndef _KO_IO_H_
#define _KO_IO_H_

#ifndef __GSL_MATRIX_H__
#include <gsl/gsl_matrix.h>
#endif

extern int input_from_file(char *fname, double ***Xp, double **Yp);
extern int input_from_command(const int argc, char *argv[],const int optind, double ***X, double **Y);
extern void free_xy(double **X, double *Y);
extern void print_vec(int n, int length, ...);
extern void print_gsl_vector(gsl_vector *v, char *str);
extern void print_gsl_matrix(gsl_matrix *m, char *str);

extern double Two; 
extern int flag_diag;

#endif