similar to: C module causing rounding errors?

Displaying 20 results from an estimated 800 matches similar to: "C module causing rounding errors?"

2011 Apr 02
2
Matrix manipulation
Hi all! I have a vector, let's say for example int <- sample(1:20,10); for now: now I have a matrix... M = m x n where the first column is a "feature" column and most likely shares at least one of the int (interesting) numbers. I want to extract the rows where int[] = M[,1] I thought: rownames(int)<-int; rownames(M)<-M[,1]; M[rownames(int),] would work, but it
2011 Oct 29
15
[Bug 42384] New: X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Bug #: 42384 Summary: X fails on NV11 with Error allocating scanout buffer: 0 Classification: Unclassified Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium
2012 Oct 27
47
[Bug 56461] New: NV11 black screen & kernel hang on loading nouveaufb
https://bugs.freedesktop.org/show_bug.cgi?id=56461 Priority: medium Bug ID: 56461 Assignee: nouveau at lists.freedesktop.org Summary: NV11 black screen & kernel hang on loading nouveaufb QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: chris at
2004 Jul 30
2
samba server onto a Windows 2000 server
How do I install any version of samba onto a Windows 2000 server? Larry
2016 Apr 12
6
[FORGED] Re: identical() versus sapply()
Hi Jeff, We are splitting hairs because R is splitting hairs, and causing us problems. Integer and numeric are different R classes with different properties, mathematical relationships notwithstanding. For instance, the counterintuitive result: > identical(as.integer(1), as.numeric(1)) [1] FALSE Unfortunately the reply-to chain doesn't extend far enough -- here is the original
2016 Apr 12
0
[FORGED] Re: identical() versus sapply()
On 11/04/2016 8:25 PM, Paulson, Ariel wrote: > Hi Jeff, > > > We are splitting hairs because R is splitting hairs, and causing us problems. Integer and numeric are different R classes with different properties, mathematical relationships notwithstanding. For instance, the counterintuitive result: The issue here is that R has grown. The as() function is newer than the as.numeric()
2016 Apr 12
0
[FORGED] Re: identical() versus sapply()
Use all.equal instead of identical if you want to gloss over integer/numeric class differences and minor floating point differences (and a host of others). Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Apr 11, 2016 at 5:25 PM, Paulson, Ariel <apa at stowers.org> wrote: > Hi Jeff, > > > We are splitting hairs because R is splitting hairs, and causing us > problems.
2004 Aug 02
2
Windows Server 2000 Server installation
Is there a procedure for installing and configuring SAMBA 3.0 for a Windows 2000 server so as to share files from the Windows 2000 server for Sun Solaris 8 workstations? Thanks, Larry
2016 Apr 12
2
[FORGED] Re: identical() versus sapply()
"The documentation aims to be accurate, not necessarily clear." !!! I hope that is not the case! Accurate documentation that is confusing is not very useful. I understand that it is challenging to write docs that are both clear and accurate; but I hope that is always the goal. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and
2016 Apr 11
0
[FORGED] Re: identical() versus sapply()
Hypothesis regarding the thought process: integer is a perfect subset of numeric, so why split hairs? -- Sent from my phone. Please excuse my brevity. On April 11, 2016 12:36:56 PM PDT, Bert Gunter <bgunter.4567 at gmail.com> wrote: >Indeed! > >Slightly simplified to emphasize your point: > >> class(as(1:2,"numeric")) >[1] "integer" > >>
2016 Apr 11
0
[FORGED] Re: identical() versus sapply()
Ok, I see the difference between 1 and 1:2, I'll just leave it as one of those "only in R" things. But it seems then, that as.numeric() should guarantee a FALSE outcome, yet it does not. To build on what Rolf pointed out, I would really love for someone to explain this one: > str(1) num 1 > str(1:2) int [1:2] 1 2 > str(as.numeric(1:2)) num [1:2] 1 2 >
2016 Apr 11
5
[FORGED] Re: identical() versus sapply()
Indeed! Slightly simplified to emphasize your point: > class(as(1:2,"numeric")) [1] "integer" > class(as.numeric(1:2)) [1] "numeric" whereas in ?as it says: "Methods are pre-defined for coercing any object to one of the basic datatypes. For example, as(x, "numeric") uses the existing as.numeric function. " I suspect this is related to
2007 Jun 05
1
Mysterious Javascript showing up & trashing page
Every time I edit a particular page, a bit of javascript myseteriously shows up when I save it. After that, the page does not lie correctly, and the items at the end of the list are covered over by elements from the stylesheet. The script is as follows: <p>&nbsp; </p> <p align="center"><font face="Times New Roman"><font
2014 Sep 17
5
[Bug 2278] New: 'configure --disable-lastlog' should mark PrintLastLog as unsupported in servconf.c
https://bugzilla.mindrot.org/show_bug.cgi?id=2278 Bug ID: 2278 Summary: 'configure --disable-lastlog' should mark PrintLastLog as unsupported in servconf.c Product: Portable OpenSSH Version: 6.6p1 Hardware: All OS: Solaris Status: NEW Severity: minor Priority: P5
2013 Apr 10
1
problem quitting
Many thanks to Peter and Brian for their help; it was indeed a permissions problem; thanks also to Josh Paulson of the RStudio team for pointing me to instructions for making the necessary changes. But at the risk of seeming not only ungrateful and pedantic, but also off-topic, can I point out that all this strictly only answers part of my question, which was "why **all of a sudden** I
2016 Apr 08
2
identical() versus sapply()
Sorry if this has been answered elsewhere, but I can't find any discussion of it. Wondering why the following situation occurs (duplicated on 3.2.2 CentOS6 and 3.0.1 Win2k, so I don't think it is a bug): > sapply(1, identical, 1) [1] TRUE > sapply(1:2, identical, 1) [1] FALSE FALSE > sapply(1:2, function(i) identical(as.numeric(i),1) ) [1] TRUE FALSE > sapply(1:2,
2008 May 22
1
Current Chipset Compatibility
Can someone make a recommedation as far as best chipset for Centos 5.0 or 5..1 using a Q6600 series CPU?with chipsets that have onboard VGA?? From poking around it looks like the G33 and P35 are not supported or have problems until the newer 2.6.22 kernel (the?iso's appear to be earlier than that, think it was?.18)?? So I am considering boards with the Intel G965 chipset but not sure if is
2004 Jan 09
2
How widely spread is this file format?
I just have a general question about this file format. How many music players out on the market support this format? I know Winamp does but does iPod, DellDJ, or any other portable devices support this format? Just curious how widely accepted this format is for a project I might have. Thanks! .+-j!i0+:)rhZm1hNrybXuz/-*arj) '+a{ +v&{ay,rR{.n+z,z{m^+-)emw
2015 Jul 06
10
[Bug 2425] New: sshd doesn't need to call setproject() when configured to use PAM on Solaris
https://bugzilla.mindrot.org/show_bug.cgi?id=2425 Bug ID: 2425 Summary: sshd doesn't need to call setproject() when configured to use PAM on Solaris Product: Portable OpenSSH Version: 6.9p1 Hardware: Sparc OS: Solaris Status: NEW Severity: minor Priority: P5
2016 Apr 09
3
[FORGED] Re: identical() versus sapply()
On 09/04/16 16:24, Jeff Newmiller wrote: > I highly recommend making friends with the str function. Try > > str( 1 ) > str( 1:2 ) Interesting. But to me counter-intuitive. Since R makes no distinction between scalars and vectors of length 1 (or more accurately I think, since in R there is *no such thing as a scalar*, only a vector of length 1) I don't see why "1"