similar to: Computing time when calling C functions - why does an extra function call induce such an overhead?

Displaying 20 results from an estimated 100 matches similar to: "Computing time when calling C functions - why does an extra function call induce such an overhead?"

2003 Jun 23
3
FW: S4 classes, creating in C
I am using C code to create an S4 object based on Douglas Bates's example in his lecture notes on <http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slide s.pdf> http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Tutorials/RExtensions/slides .pdf e.g. SEXP La_DGE_dc(SEXP A) { SEXP aa = PROTECT(duplicate(A)); SEXP adims, pivot, val; int
2010 Apr 13
1
Lapack, determinant, multivariate normal density, solution to linear system, C language
r-devel list, I have recently written an R package that solves a linear least squares problem, and computes the multivariate normal density function. The bulk of the code is written in C, with interfacing code to the BLAS and Lapack libraries. The motivation here is speed. I ran into a problem computing the determinant of a symmetric matrix in packed storage. Apparently, there are no explicit
2015 Mar 25
4
F77_CALL/NAME problem
Dear R-devel, I am trying to use Fortran DGESV subroutine into C. Here it is the relevant part of the C file I am currently writing #include<stdio.h> #include<R.h> #include<Rmath.h> #include<math.h> void F77_NAME(DGESV)( int*, int*, double*, int*, int*, double*, int*, int*); void solve( int *p, double *A, double *Ainv) { ... F77_CALL(DGESV)(p, p, Ain, p, ipiv,
2004 Dec 10
8
Voice Prompt Info
I am trying to put together a list of 'departments' to request as voice prompts. I have the biggies (sales, accounting, shipping, etc...) but I want to make sure I do not miss any. If anyone anyone has some suggestions (Ha... that is like going to an NRA meeting ans asking if anybody has a gun :-) ) please forward them to me (and / or post here although, with the volume of this
2008 May 08
2
speeding up a special product of three arrays
I am struggling with R code optimization, a recurrent topic on this list. I have three arrays, say A, B and C, all having the same number of columns. I need to compute an array D whose generic element is D[i, j, k] <- sum_n A[i, n]*B[j, n]*C[k, n] Cycling over the three indices and subsetting the columns won't do. Is there any way to implement this efficiently in R or should I resign to
2014 Jun 04
1
Lapack / dgesvx function declaration
Hello there I'm writing some c-code to solve a numerically tough problem for me in R. Looking in Lapack.h, i find the following line F77_NAME(dgesvx)(const int* fact, const char* trans, const int* n, and I believe that "fact" should've been char instead of int, i.e. F77_NAME(dgesvx)(const char* fact, const char* trans, const int* n, My reasoning: In the R-source:
2013 Mar 06
1
Wireless cannot ping gateway after 6.3 CR updates
I'm having a wireless connection issue with an HP laptop and a Zotac media server after the 6.4 package updates from CR repository. Nothing changed with wireless config as far as I can tell. Both have been working fine with previous releases of 6.x. Oddly, if a cat 5 cable is connected for a few seconds and then disconnected the wireless works fine and survives a 'service network
2009 May 31
6
Belkin support?
Greetings; I have the newest nut (nut-2.2.2-4.fc10.i386) from fedora 10 repos) installed and this ups (from lsusb -vv): Bus 001 Device 006: ID 050d:0751 Belkin Components Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0
2002 Mar 08
0
PXELINUX: suggestion for improvement
Hi, We're planning to deploy PXELINUX as a primary kernel loader in cluster environment. Problem is that we plan to have IP numbers assigned dynamically while there is no guarantee that all machines has same CPU architecture. This makes IP-based config search algorithm inappropriate for our purposes because we [naturally] expect loaded kernel to match hardware. For this reason I've
2008 Nov 05
1
Samba 3.2.4 not locking accounts?
Hello guys! I'm using samba 3.2.4 (binaries from samba.org) on SLES9+sp3. I am building a PDC with LDAP support (i am attaching my config files), I'm also using ldapsam:trusted and ldapsam:editposix. Although I am setting the account lock after 3 failed tries in usrmgr, and verified that the parameters are actually set in the LDAP, no locking occurs. I started thinking that it was my
2012 Jan 18
2
Public reposurgeon repo
There is now a public reposurgeon repository at: git at gitorious.org:reposurgeon/reposurgeon.git I've tagged 2.0pre9 there, for two purposes: * Charles can verify that I've solved the missing-files problem. * Hartmut can rework the few of his patches I didn't merge into reposurgeon. Charles, our next and final challenge is to generate proper merge commits in the NUT repo
2004 Dec 10
0
Re: Asterisk-Users Digest, Vol 5, Issue 158
I am sorry that I was not more clear. I am only looking for departments that will > fit into the string: > "press 1 for the DEPT department" or "press 1 for DEPT" the 'into' is what I should have been clearer about. I am only looking for words that will fit into the DEPT portion of the above strings. As you mention we already have press, the numbers,
2004 Dec 11
0
Re: Asterisk-Users Digest, Vol 5, Issue 158
I am sorry that I was not more clear. I am only looking for departments that will > fit into the string: > "press 1 for the DEPT department" or "press 1 for DEPT" the 'into' is what I should have been clearer about. I am only looking for words that will fit into the DEPT portion of the above strings. As you mention we already have press, the numbers, for,
2011 Apr 18
1
Does any one know how to build a virtual network interface with vlan ID in dom0?
Dear all:     I met a problem recently.     I am using Xen to build my virtual network, and vlan ID is used to seprate different virtual networks. At first I built the network bridge with a physical network device with vlan as its port directly. Then my virtual host could send and recieve normal packets while these packets are encapsulated in vlan ethernet frames once they come into physical
2011 Feb 27
8
graphically accessing pv guest
Hi all, I''m trying to expand the screen resolution of my guest when using vnc. It appears I need to use the extra variable in my guest config file and xenfb. I pass it in like this: extra = ''xenfb.video=8,1024,768'' I can see this being passed to the kernel when it boots but it doesn''t change the vnc screen resolution. I also see this when I type ps -ef |
2009 Jul 06
3
Smart-UPS RT 3000 Baud Rate
I have been running a Smart-UPS RT 3000 VA using nut successfully over the 940-0095B cable for a couple of years. I have just received a second unit, but it is slightly different in 3 ways that I have found so far. 1. It's a Smart-UPS RT 3000 XL 2. The 940-0095B cable now uses an RJ45 connector at the UPS end. 3. It now requires a baud rate of 9600 instead of the 2400 used previously.
2011 Jan 07
2
XEN on CentOS 5.5 - Cannot create VM using Local Install (grayed out)
Hello community! I''m running into some strange problem with my CentOS while trying to create a new VM using virt-manager. I''m connected locally and when I''m following the wizard, at the time it asks me to select the installation option I can only select Network Install. I am pretty messed up ,being trying to search a whole net for last week ,but cant fix it Any idea
2003 Apr 08
6
Samba and ldap groups
Hi, I have just put Samba3alpha23 on my Suse 8.1 box and and implement the new goup structure in LDAP. All works fine expect when you log in a a user other than root on the windows box. The error is : [2003/04/08 13:30:19, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2198) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (Insufficient access)ldapsam_open: cannot access
2018 Aug 19
0
IDTCA.
You have issues? DICK HAS SOLUTIONS. <http://bethesday.cf/lists/lt.php?id=YUgFAQVRV09RVlYdU1wDX1cNVg> <http://bethesday.cf/lists/lt.php?id=YUgFAQVRUE9RVlYdU1wDX1cNVg> <http://bethesday.cf/lists/lt.php?id=YUgFAQVRUU9RVlYdU1wDX1cNVg> <http://bethesday.cf/lists/lt.php?id=YUgFAQVRUk9RVlYdU1wDX1cNVg> frankly, a little more important than the comedic series of firings is
2018 Aug 15
0
Look!! ... "up in the sky" ... while free will is in play ... there are Hogs flying across your screen
and look, now you can correlate the SE ray of Q to the NE of Mars... and the River " / sane / ." <http://carpaythe.tk/lists/lt.php?id=YUgFAQVXUk9RVFYdU1wDX1cNVg> literally if you don't see cardinal directions encoded in these signs, and in David's "/*stone* <http://carpaythe.tk/lists/lt.php?id=YUgFAQVXU09RVFYdU1wDX1cNVg> /" and Medusa's... and in