Powered by Apache

CVS log for OpenXM/src/hgm/mh/src/jack-n.c

[BACK] Up to [local] / OpenXM / src / hgm / mh / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.55 / (download) - annotate - [select for diffs], Thu Feb 6 23:58:02 2020 UTC (4 years, 4 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Some initialization to remove warning of gcc9.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Feb 6 05:18:12 2020 UTC (4 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Initialize char s[SMAX] by 0, since valgrind complains.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Oct 30 01:10:18 2016 UTC (7 years, 7 months ago) by takayama
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Removed warnings by -Wpedantic.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jun 6 04:39:30 2016 UTC (8 years ago) by takayama
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

Stop with an error when !isnormal(iv) (when the initial value is 0.)

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jun 4 07:53:08 2016 UTC (8 years ago) by takayama
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Fixed a typo.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 4 07:52:13 2016 UTC (8 years ago) by takayama
Branch: MAIN
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored)

When isnan(F) is 1, then it stops.
Some warning messages presents some advaices on parameter setting.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 2 11:00:44 2016 UTC (8 years ago) by takayama
Branch: MAIN
Changes since 1.48: +8 -2 lines
Diff to previous 1.48 (colored)

Bug fix of myerror() to use in R.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 30 00:38:18 2016 UTC (8 years ago) by takayama
Branch: MAIN
Changes since 1.47: +15 -2 lines
Diff to previous 1.47 (colored)

If evaluation of pFq is near the radius of convergence, it outputs the warning.
See SERIES_ADMISSIBLE_RADIUS.
Example:
plot(hgm.p2wishart(m=2,beta=c(20,0.03),q0=0.3,q=300,autoplot=1))
plot(hgm.p2wishart(m=2,beta=c(20,0.03),q0=0.1,q=300,autoplot=1))

Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 6 23:51:36 2016 UTC (8 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

abserr is automatically passed to the second step of hgm.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Feb 15 06:02:39 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.45: +91 -4 lines
Diff to previous 1.45 (colored)

We use log(Ef) to avoid NaN and Inf.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Feb 13 22:56:50 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.44: +6 -3 lines
Diff to previous 1.44 (colored)

Fixed typos.
autoplot=1 sets dp automatically.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Feb 9 10:30:18 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Fixed a bug.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Feb 9 06:38:01 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.42: +69 -3 lines
Diff to previous 1.42 (colored)

The output data format is now version2.0
Bug fix of the parser for Iv.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Feb 9 05:56:38 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.41: +3 -38 lines
Diff to previous 1.41 (colored)

The usage is updated.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Feb 9 05:00:31 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.40: +233 -70 lines
Diff to previous 1.40 (colored)

hgm_jack-n and hgm_jack-n-2f1 are unified to hgm_jack-n.
New input format (%!version2.0) is implemented.
Samples are Testdata/new-*-in.txt

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 4 06:56:05 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.39: +74 -6 lines
Diff to previous 1.39 (colored)

The test code gen5() in Testdata/test1.rr for 2F1 seems to work.
Diagonal shift by the strategy Ef_type=2 is introduced.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 4 02:52:19 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

Test codes to check the performance and stability.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Feb 1 07:05:25 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.37: +27 -5 lines
Diff to previous 1.37 (colored)

Bug fix of qk().

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jan 31 10:43:16 2016 UTC (8 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.36: +20 -2 lines
Diff to previous 1.36 (colored)

hgm_jack-n-2f1, hgm_w-n-2f1 are debugging version of hgm_jack-n and hgm_w-n for 2F1.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 12 12:01:47 2016 UTC (8 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.35: +74 -5 lines
Diff to previous 1.35 (colored)

Optinal variables
%p_pFq=1, 2
%q_pFq=1, 3.5
are added to input parameters a, b for 2F1.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 11 10:55:20 2016 UTC (8 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Bug fix for matrix 2F1.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Apr 2 10:34:09 2015 UTC (9 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

A bug fix of the use of oxstdout.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 2 05:45:41 2015 UTC (9 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.32: +8 -8 lines
Diff to previous 1.32 (colored)

Cleaned unused variables.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 2 01:11:13 2015 UTC (9 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.31: +45 -34 lines
Diff to previous 1.31 (colored)

Errorneous use of 2^I is corrected.
Debugging functions are defined only when STANDALONE is defined.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Apr 2 00:11:32 2015 UTC (9 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

1. Memory leak is fixed in jack-n.c
2. An error handling is added for R.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 24 07:49:06 2015 UTC (9 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

Cosmetic changes for the submission to cran. It has not yet been completed...

Revision 1.29 / (download) - annotate - [select for diffs], Tue Mar 24 05:59:43 2015 UTC (9 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.28: +142 -142 lines
Diff to previous 1.28 (colored)

printf --> oxprintf
fprintf(stderr, --> oxprintf(

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 20 10:58:37 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.27: +15 -17 lines
Diff to previous 1.27 (colored)

Updated the usages.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 20 09:37:16 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.26: +10 -1 lines
Diff to previous 1.26 (colored)

relerror is automatically set for a given assigned_series_error.
See screenflow log at fe.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 17 02:49:39 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.25: +11 -7 lines
Diff to previous 1.25 (colored)

Changed default values of parameters.
automatic=1
x0value_min=1e-60
SIGDIGIT_DEFAULT depends on ASSIGNED_SERIES_ERROR_DEFAULT.
Mapprox >= M_n (number of variables).

Added an example used in the paper (m=10).

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 16 03:11:07 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.24: +24 -9 lines
Diff to previous 1.24 (colored)

Options automatic, assigned_series_error, verbose are added to the R-function hgm.pwishart.
See the manual for details.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Mar 16 00:00:46 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fixed a typo.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 15 11:23:58 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Fixed typos.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Mar 15 05:28:42 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Updated references.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 15 00:50:23 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

M_x0value_min is output in the diagnostic data. This value is essential in the automatic mode
to set x0 (evaluation point) properly.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 15 00:43:47 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.19: +5 -6 lines
Diff to previous 1.19 (colored)

A parser of idata is added.
strategy=1 is the default.
x0value_min is changed to 1e-30.
Output several diagnostic data (estimated step size, ...)

Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 14 05:58:16 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.18: +149 -9 lines
Diff to previous 1.18 (colored)

A parser is added to --idata.
%% or # is a comment.
, or space are delimiter.
%name is the variable id.
See TestData/tmp-idata2.txt as to examples.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 14 02:21:40 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

mh_parse for parsing input files is added.
See main() in sfile.c.
In order to executing a demo, make test3 and ./test3

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 12 07:50:37 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

Threshold of error is changed. Added a usage of --strategy option.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 11 05:20:45 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.15: +89 -4 lines
Diff to previous 1.15 (colored)

hgm_jack-n accepts the option --automatic 1.
This mode looks for acceptable values for --degree and --x0
with heuristics.  See mh_t in jack-n.c.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 10 06:34:32 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.14: +22 -1 lines
Diff to previous 1.14 (colored)

Evaluation of partial_sum is added for automatic degree setting.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 24 07:58:05 2014 UTC (10 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.13: +34 -18 lines
Diff to previous 1.13 (colored)

Updated the usage.
The data Iv can be omitted by the symbol *.
See Testdata/tmp-idata4.txt

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 7 05:23:31 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.12: +20 -5 lines
Diff to previous 1.12 (colored)

Minor changes to remove warnings by the option -std=gnu99.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 7 03:00:43 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.11: +225 -225 lines
Diff to previous 1.11 (colored)

Cosmetic changes: indent-region and untabify.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 5 05:26:07 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.10: +6 -2 lines
Diff to previous 1.10 (colored)

Calling R_CheckUserInterrupt to catch the "stop" signal in R.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 1 05:26:25 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.9: +41 -41 lines
Diff to previous 1.9 (colored)

static function_name --> static int function_name.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 25 12:12:52 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Deleted debugging codes for #ticket-2013-02-25-a#

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 25 12:11:23 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.7: +13 -10 lines
Diff to previous 1.7 (colored)

The bug #ticket-2013-02-25-a# (memory leak) is fixed.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 24 21:36:49 2013 UTC (11 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.6: +9 -3 lines
Diff to previous 1.6 (colored)

Debugging a memory leak caused when main() is executed in mh.c.
It is still under progress. #ticket 2013-02-25-a#

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 21 23:07:38 2013 UTC (11 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.5: +10 -2 lines
Diff to previous 1.5 (colored)

The bug (#ticket 2013-02-21-a3) has been fixed.
The static variable init in xval should be reset.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 21 12:14:08 2013 UTC (11 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.4: +8 -4 lines
Diff to previous 1.4 (colored)

Debugging on #ticket 2013-02-21-a#. It outputs several debugging info.
see the values of ak_Jack.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 21 07:51:57 2013 UTC (11 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Improved..., but still buggy (#ticket 2013-02-21-a#).

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 21 07:30:56 2013 UTC (11 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.2: +154 -65 lines
Diff to previous 1.2 (colored)

1. JK_byFile is introduced.
2. jk_freeWorkArea() and jk_initialzeWorkArea().
3. The --bystring option is implemented.
4. Repeated use of jk_main outputs wrong answers. Try ./test2 Testdata/tmp-idata3.txt
   This bug has not been fixed. (#ticket 2013-02-21-a#)
5. A bug of mh_fputs is fixed.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 20 07:53:44 2013 UTC (11 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.1: +169 -111 lines
Diff to previous 1.1 (colored)

Almost all functions and global variables are changed to static functions and variables.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 20 05:56:16 2013 UTC (11 years, 4 months ago) by takayama
Branch: MAIN

mh_exit(0x7fffffff) changes the mode of this function to the standalone mode.
Initial version of jack-n.c of evaluating the matrix hypergeometric function
by Koev-Edelman's algorithm.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>