Displaying 4 results from an estimated 4 matches for "ccum".
Did you mean:
ccm
2008 Jul 14
0
swap_tail macro in pnorm.c
Hello,
Looking over the swap_tail macro in pnorm.c, the comment inside the code
indicates it is to swap the values of '*cum' and '*ccum'. According to the
code below that is taken from the source file, the swap functionality is
dependent on what values are provided for 'x' and 'lower'.
#define swap_tail \
if (x > 0.) {/* swap ccum <--> cum */ \
temp = *cum; if(lower) *cum = *ccu...
2003 Jul 24
0
Re: I am puzzled about something in pnorm in R (PR#3545)
sorry for the late reply. i dunno if anyone ever wrote you back.
although perhaps not written for clarity, i think what appears in the code
is correct. the routine only guarantees that one of cum or ccum has a
valid return value depending on i_tail (the other might as well be
garbage, but that isn't what's returned).
j
On Wed, 9 Jul 2003 Henrik.Seidel@schering.de wrote:
> Hello,
>
> I am a bit puzzled about the "swap_tail" macro in pnorm.c of the R sources.
> I c...
2004 May 27
2
block diagonal matrix function
Hello List
I have just written a little function that takes two matrices as
arguments and returns a large matrix that is composed of the two input
matrices in upper-left position and lower-right position with a padding
value everywhere else. (function definition and toy example below). I
need nonsquare matrices and rowname() and colname() inherited appropriately.
Two questions:
(1) Is there a
2003 Apr 30
1
pnorm conditional (PR#2883)
--=-YFjXKq8/D/t1qWmIzQ9D
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I was going over the source in src/nmath/pnorm.c and noticed a little
bug in pnorm_both (in R 1.7.0). The else-if on line 205 covers the
entire real line. Seems you want an &&, not an ||. Doesn't make a big
difference (you still get a 0 or 1 from extreme starting values) but
your log