Up to [local] / OpenXM / src / hgm / orthant / src
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 6 01:03:42 2022 UTC (2 years, 2 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +10 -7
lines
Diff to previous 1.5 (colored)
R project has changed calling sequence of F77 functions with string arguments. See https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Fortran-character-strings
Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 1 06:10:34 2015 UTC (9 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored)
"exit" is replaced with "oxexit".
Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 24 06:10:33 2015 UTC (9 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.3: +40 -39
lines
Diff to previous 1.3 (colored)
printf --> oxprintf ...
Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 9 08:31:06 2014 UTC (10 years, 2 months ago) by tkoyama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b
Changes since 1.2: +1 -0
lines
Diff to previous 1.2 (colored)
Added the tag OpenXM.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 3 08:27:50 2014 UTC (10 years, 2 months ago) by tkoyama
Branch: MAIN
Changes since 1.1: +671 -405
lines
Diff to previous 1.1 (colored)
hgm_ko_orthant now calls the Fortran's BLAS/Lapack, and follows the standard manner calling the BLAS/Lapack from R.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 23 10:17:39 2014 UTC (10 years, 3 months ago) by tkoyama
Branch: MAIN
hgm_ko_orthant.c can work without gsl, and hgm_ko_orthant.so generated by the make command can be called from R. For example, > source("ko_orthant.R") > x <- matrix(c(1,0.5,0.5,1),nrow=2) > y <- c(1.0,0.5) > HgmKoNcorthant(x,y) [1] 0.6301772 We also use it from command line: ./hgm_ko_orthant sample_data1.txt However, hgm_ko_orthant.c may have some new bugs, and I wil test it more.