Displaying 20 results from an estimated 24 matches for "fmin2".
Did you mean:
fmin
2008 Aug 21
1
pnmath compilation failure; dylib issue?
...gle_module -multiply_defined suppress -L/usr/local/
lib -o pnmath.so bd0.o beta.o chebyshev.o choose.o d1mach.o dbeta.o
dbinom.o dcauchy.o dchisq.o dexp.o df.o dgamma.o dgeom.o dhyper.o
dlnorm.o dlogis.o dnbeta.o dnbinom.o dnchisq.o dnf.o dnorm.o dnt.o
dpois.o dt.o dunif.o dweibull.o fmax2.o fmin2.o ftrunc.o gamma.o
gamma_cody.o i1mach.o imax2.o imin2.o lbeta.o lgamma.o lgammacor.o
mlutils.o pbeta.o pbinom.o pcauchy.o pchisq.o pexp.o pf.o pgamma.o
pgeom.o phyper.o plnorm.o plogis.o pnbeta.o pnbinom.o pnchisq.o pnf.o
pnmath.o pnorm.o pnt.o polygamma.o ppois.o pt.o ptukey.o punif.o
p...
2008 May 23
0
rgb to cmyk conversion is wrong in src/library/grDevices/src/devPS.c (PR#11509)
The conversion of RGB to CMYK takes place in PostScriptSetCol() starting at
line 2900 of R-2.7.0/src/library/grDevices/src/devPS.c
if(strcmp(mm, "cmyk") == 0) {
double c = 1.0-r, m=1.0-g, y=1.0-b, k=c;
k = fmin2(k, m);
k = fmin2(k, y);
if(k == 1.0) c = m = y = 0.0;
else {c /= (1.-k); m /= (1.-k); y /= (1.-k);}
r, g, and b have already been normalized to the range [0,1] before the
function was called, so this is almost right. The last line should actually
be something like
else { c = (c -...
2008 May 27
1
(PR#11509) rgb to cmyk conversion is wrong in
...i, 23 May 2008, m1jjh00 at frb.gov wrote:
> The conversion of RGB to CMYK takes place in PostScriptSetCol() starting at
> line 2900 of R-2.7.0/src/library/grDevices/src/devPS.c
>
> if(strcmp(mm, "cmyk") == 0) {
> double c = 1.0-r, m=1.0-g, y=1.0-b, k=c;
> k = fmin2(k, m);
> k = fmin2(k, y);
> if(k == 1.0) c = m = y = 0.0;
> else {c /= (1.-k); m /= (1.-k); y /= (1.-k);}
>
> r, g, and b have already been normalized to the range [0,1] before the
> function was called, so this is almost right. The last line should actually
> b...
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...ude -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c wilcox.c -o wilcox.o
gcc -std=gnu99 -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c signrank.c -o signrank.o
rm -rf libnmath.a
ar cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o
fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o
expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o
gamma_cody.o beta.o lbeta.o polygamma.o bessel_i.o bessel_j.o bessel_k.o
bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o
dbeta.o...
2003 Apr 25
4
Kinderman-Ramage (PR#2846)
...u2 = unif_rand();
- return A*(1.13113163544180*u1+u2-1);
+ /** <modified constant> **/
+ return A*(1.131131635444180*u1+u2-1);
+ /** </modified> **/
}
if(u1 >= 0.973310954173898) { /* tail: */
@@ -241,6 +243,10 @@
tt = 0.479727404222441-0.595507138015940*fmin2(u2,u3);
if(fmax2(u2,u3) <= 0.805577924423817)
return (u2<u3) ? tt : -tt;
+ /** <added> **/
+ if(0.053377549506886*fabs(u2-u3) <= g(tt))
+ return (u2<u3) ? tt : -tt;
+ /** </added> **/
}
case BOX_MULLER:
if(BM_norm_keep != 0.0) { /* An exac...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
...oin.o ch2in
v.o chol.o dpbfa.o dpbsl.o dpoco.o dpodi.o dpofa.o dposl.o dqrdc.o dqrdc2.o dqrls.o dqrsl.o dqrutl.o dsvdc.o dtrco.o dtrsl.o eigen.o lminfl.o
: libappl.a
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making lgammacor.d fro...
2000 Oct 31
1
conflicting types for `Rf_stirlerr
.../src/appl'
make[2]: Entering directory `/home/mfa5/gilp/R-versions/R-devel/src/nmath'
make[3]: Entering directory `/home/mfa5/gilp/R-versions/R-devel/src/nmath'
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fmod.d from fmod.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making fsquare.d from fsquare.c
making fcube.d from fcube.c
making imax2.d from imax2.c
making imin2.d from imin2.c...
1997 Dec 13
1
R-beta: Compile error; R-0.60.1, Solaris 2.6, gcc 2.7.2.1
...ics'
cd math; make
make[2]: Entering directory `/home/user_14/jlund/src/R-0.60.1/src/math'
gcc -g -I../include -c fsquare.c -o fsquare.o
gcc -g -I../include -c fcube.c -o fcube.o
gcc -g -I../include -c fint.c -o fint.o
gcc -g -I../include -c fmax.c -o fmax.o
gcc -g -I../include -c fmin2.c -o fmin2.o
gcc -g -I../include -c imin.c -o imin.o
gcc -g -I../include -c imax.c -o imax.o
gcc -g -I../include -c fsign.c -o fsign.o
gcc -g -I../include -c round.c -o round.o
gcc -g -I../include -c prec.c -o prec.o
gcc -g -I../include -c sign.c -o sign.o
gcc -g -I../include -c i1mac...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...nexact -g -I../include -I../../src/include -c d1mach.c -o
d1mach.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c i1mach.c -o
i1mach.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fmax2.c -o
fmax2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fmin2.c -o
fmin2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fmod.c -o fmod.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fprec.c -o
fprec.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fround.c -o
fround.o
gcc -ieee_with_inexact -g -I../includ...
2004 Oct 22
3
pgamma discontinuity (PR#7307)
Full_Name: Morten Welinder
Version: 2
OS: Solaris/space/gcc2.95.2
Submission from: (NULL) (65.213.85.217)
I changed src/nmath/standalone/test.c to read:
---------------------------------------------------------------------------------
#define MATHLIB_STANDALONE 1
#include <Rmath.h>
#include <stdio.h>
int
main()
{
double x;
for (x = 99990; x <= 100009; x++)
printf
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
...s.a
cd nmath; make
cc -ieee_with_inexact -g -I../../src/include -c mlutils.c
cc -ieee_with_inexact -g -I../../src/include -c d1mach.c
cc -ieee_with_inexact -g -I../../src/include -c i1mach.c
cc -ieee_with_inexact -g -I../../src/include -c fmax2.c
cc -ieee_with_inexact -g -I../../src/include -c fmin2.c
cc -ieee_with_inexact -g -I../../src/include -c fmod.c
cc -ieee_with_inexact -g -I../../src/include -c fprec.c
cc -ieee_with_inexact -g -I../../src/include -c fround.c
cc -ieee_with_inexact -g -I../../src/include -c ftrunc.c
cc -ieee_with_inexact -g -I../../src/include -c sign.c
cc -ieee_wit...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...../include -I../../src/include -c d1mach.c -=
o =
d1mach.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c i1mach.c -=
o =
i1mach.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fmax2.c -o=
=
fmax2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fmin2.c -o=
=
fmin2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fmod.c -o =
fmod.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fprec.c -o=
=
fprec.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fround.c -=
o =
fround.o
gcc -ieee_with_inexact...
1998 Dec 08
0
R compile problems with AIX
...-I../../src/include -c mlutils.c -o mlutils.o
gcc -g -O2 -I../include -I../../src/include -c d1mach.c -o d1mach.o
gcc -g -O2 -I../include -I../../src/include -c i1mach.c -o i1mach.o
gcc -g -O2 -I../include -I../../src/include -c fmax2.c -o fmax2.o
gcc -g -O2 -I../include -I../../src/include -c fmin2.c -o fmin2.o
gcc -g -O2 -I../include -I../../src/include -c fmod.c -o fmod.o
gcc -g -O2 -I../include -I../../src/include -c fprec.c -o fprec.o
gcc -g -O2 -I../include -I../../src/include -c fround.c -o fround.o
gcc -g -O2 -I../include -I../../src/include -c ftrunc.c -o ftrunc.o
gcc -g -O2 -I../...
1998 Dec 08
0
R compile problems with AIX
...-I../../src/include -c mlutils.c -o mlutils.o
gcc -g -O2 -I../include -I../../src/include -c d1mach.c -o d1mach.o
gcc -g -O2 -I../include -I../../src/include -c i1mach.c -o i1mach.o
gcc -g -O2 -I../include -I../../src/include -c fmax2.c -o fmax2.o
gcc -g -O2 -I../include -I../../src/include -c fmin2.c -o fmin2.o
gcc -g -O2 -I../include -I../../src/include -c fmod.c -o fmod.o
gcc -g -O2 -I../include -I../../src/include -c fprec.c -o fprec.o
gcc -g -O2 -I../include -I../../src/include -c fround.c -o fround.o
gcc -g -O2 -I../include -I../../src/include -c ftrunc.c -o ftrunc.o
gcc -g -O2 -I../...
2017 Aug 18
4
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...apabilities skipped: TIFF, ICU*
* Options not enabled: memory profiling*
* Recommended packages: yes*
I encountered an error running "make -n" with the libtre library not
generating libtre.a:
*rm -rf libnmath.a*
*ar -cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o
fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o
expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o
gamma_cody.o beta.o lbeta.o polygamma.o cospi.o bessel_i.o bessel_j.o
bessel_k.o bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o
rgamma.o db...
2001 Jul 25
2
Installation help
...re/R-1.3.0/src/appl'
gmake[2]: Entering directory `/home/netlj/Software/R-1.3.0/src/nmath'
gmake[3]: Entering directory `/home/netlj/Software/R-1.3.0/src/nmath'
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making lgammacor.d fro...
2000 Feb 08
1
DEC cc doesn't like c++ comments (PR#416)
...) {
GPolyline(ns, xxx, yyy, USER, dd);
@@ -871,7 +871,7 @@
if (gotLabel) {
/* find which plot edge we are closest to */
- int closest; // 0 = index, 1 = index+range
+ int closest; /* 0 = index, 1 = index+range */
double dx1, dx2, dy1, dy2, dmin;
dx1 = fmin2((xxx[index] - dd->gp.usr[0]),
(dd->gp.usr[1] - xxx[index]));
@@ -971,8 +971,8 @@
*/
GConvert(&ux, &uy, USER, INCHES, dd);
GConvert(&vx, &vy, USER, INCHES, dd);
- // 1, 1 => sans serif, basic font
- // 0, .5 => left, centre justified
+ /* 1,...
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html
1998 Sep 11
1
R-beta: cannot make R
...cs; make
gcc -g -O2 -I ../include -c graphics.c
ar cr ../lib/libgraphics.a graphics.o
ranlib ../lib/libgraphics.a
cd nmath; make
gcc -g -O2 -I../include -c mlutils.c
gcc -g -O2 -I../include -c d1mach.c
gcc -g -O2 -I../include -c i1mach.c
gcc -g -O2 -I../include -c fmax2.c
gcc -g -O2 -I../include -c fmin2.c
gcc -g -O2 -I../include -c fmod.c
gcc -g -O2 -I../include -c fprec.c
gcc -g -O2 -I../include -c fround.c
gcc -g -O2 -I../include -c ftrunc.c
gcc -g -O2 -I../include -c sign.c
gcc -g -O2 -I../include -c fsign.c
gcc -g -O2 -I../include -c fsquare.c
gcc -g -O2 -I../include -c fcube.c
gcc -g -O2 -I.....
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...ring directory `/dev/shm/portage/dev-lang/R-2.15.1/work/R-2.15.1/src/nmath'
make[3]: Entering directory `/dev/shm/portage/dev-lang/R-2.15.1/work/R-2.15.1/src/nmath'
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making expm1.d from ex...