Displaying 20 results from an estimated 100 matches similar to: "An optim() mystery."
2004 Jun 30
1
AS_NUMERIC and as.numeric - Could someone explain?
Dear List,
I stepped into a strange effect which I can't explain to myself
(probably due to lack of knowledge on R internals).
I have four vectors a,b,c and z of size 10000 each. With these vectors I
call
.Call("hyp2f1forrey", a, b, b, z, PACKAGE = "hyp2f1")
to access
SEXP hyp2f1forrey(SEXP a, SEXP b, SEXP c, SEXP x)
{
int i,n;
double *xa, *xb, *xc, *xx,
2004 Feb 24
6
be careful: using attach in R functions
Hi there,
I have just found that the ``attach'' function
can get you into trouble when called many times.
For example, you have a simulation routine called ``f()'',
in which you used ``attach'' and no corresponding ``detach''.
Then you call this function many times. You will find that
the system performance get slower and slower,
because you are making the R
2008 Feb 07
2
How to calculate normality of the residuals from a test in R?
En innebygd og tegnsett-uspesifisert tekst ble skilt ut...
Navn: ikke tilgjengelig
Nettadresse: https://stat.ethz.ch/pipermail/r-help/attachments/20080207/891f1e80/attachment.pl
2012 Aug 24
0
A question about GRAMMAR calculations in the FAM_MDR algorithm
Dear R developers:
I am a PHD candidate student in the school of public health of Peking
University and my major is genetic epidemiology. I am learning the FAM-MDR
algorithm, which is used to detect the gene-gene and gene-environment
interactions in the data of pedigree. The codes were written by Tom
Cattaert of the University of Liege. The algorithms and the sample datasets
are available at
2011 May 02
0
Puppet bootstrap: via cdist
Good morning puppets,
as stated for reallife, "one always meets more than one time",
this is true for puppet and me: Although I''m migrating away from
puppet [0] to cdist [1], a customer requests a new puppet installation.
This brings me again to the question on how to bootstrap a new puppet
infrastructure, which we did with a shell script or a Debian package
and then running
2008 Apr 18
2
[LLVMdev] PATCH: Use size reduction -- wave2
On Apr 17, 7:01 pm, Owen Anderson <resis... at mac.com> wrote:
> Gabor,
>
> Have you updated llvm2cpp to generate calls to the appropriate new
Yes. These are caught by my conversion scripts.
> constructors? Also, could you check the code in the tutorials to make
> sure it matches the new API?
Good point, will do.
Thanks,
Gabor
>
> --Owen
2009 Jun 02
0
[LLVMdev] RFC: Atomics.h
Yes, indeed.
On May 28, 10:41 pm, Owen Anderson <resis... at mac.com> wrote:
>
> Wait, it defines MemoryFence() AND MemoryBarrier()??
>
> Sheesh, they had to take all the reasonable names. :-/
2010 Jan 29
2
[LLVMdev] 64bit MRV problem: { float, float, float} -> { double, float }
Hey Duncan, hey everybody else,
I just stumbled upon a problem in the latest llvm-gcc trunk which is
related to my previous problem with the 64bit ABI and structs:
Given the following code:
struct float3 { float x, y, z; };
extern "C" void __attribute__((noinline)) test(float3 a, float3* res) {
res->y = a.y;
}
int main(void) {
float3 a;
float3 res;
test(a,
2010 Feb 05
1
Incompatible types error
I'm trying to write a loop for a series of nested functions. and I get an
incompatible types error when trying to run it. It's supposed to be a
simulation (1000 iterations) with a random value for "rand" being chosen
each time. After each rand value is chosen, the rest of the functions are
evaluated with this given rand value and their "Fitness" sum value is saved
and
2008 Apr 19
0
[LLVMdev] PATCH: Use size reduction -- wave2
On Apr 18, 5:51 pm, heisenbug <ggr... at gmail.com> wrote:
> On Apr 17, 7:01 pm, Owen Anderson <resis... at mac.com> wrote:
>
> > Gabor,
>
> > Have you updated llvm2cpp to generate calls to the appropriate new
>
> Yes. These are caught by my conversion scripts.
>
> > constructors? Also, could you check the code in the tutorials to make
> >
2004 Apr 30
1
calculation of U and V matrix of SVD decomposition (according to LINPACK, X = UDV')
Hello,
Like QR decomposition, I am looking for decomposition to get U and V matrix
of SVD decomposition (according to LINPACK, X = UDV'). Do you know if there
is a function which could calculate this decomposition?
Look forward to your reply,
Haleh
2009 Oct 13
2
General means of matching a color specification to an official R color name
Hello List Dwellers:
I?ve looked around quite a bit, but don?t quite see an answer that I
understand.
I?m looking for a way to take any kind of color specification (rgb, hsv,
hcl, hex) and match it to the n-nearest R official color names. Clearly it
is easy to interconvert different specification schemes and color spaces,
but matching to the name seems a bit trickier. Seems like if one has a
2009 May 29
3
[LLVMdev] RFC: Atomics.h
On May 28, 2009, at 6:03 PM, Jonathan Ragan-Kelley wrote:
> In the current trunk, System/Atomic.[h,cpp] define void
> llvm::sys::MemoryFence(). This conflicts with the MemoryFence macro in
> <windows.h> and (since it's a preprocessor macro, and not a scoped
> function definition) causes the sys::MemoryFence definition on
> Atomic.cpp:23 to explode, as it's
2010 Jan 29
0
[LLVMdev] 64bit MRV problem: { float, float, float} -> { double, float }
Hi Ralf,
> llvm-gcc -c -emit-llvm -O3 produces this:
>
> %struct.float3 = type { float, float, float }
> define void @test(double %a.0, float %a.1, %struct.float3* nocapture
> %res) nounwind noinline {
> entry:
> %tmp8 = bitcast double %a.0 to i64 ; <i64> [#uses=1]
> %tmp9 = zext i64 %tmp8 to i96 ; <i96> [#uses=1]
>
2005 Jan 18
3
Doubt regarding priority of classes with HTB
Hi,
I''m a bit confused with the priority of different classes with HTB. How it will be? Will the class with lowest no: have maximum priority?
Any help is most appreciated,
Thanks in advance,
Sanjeev
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by
2007 Jul 03
1
dovecot sieve notify mailto
Hello,
I try to migrate to dovecot-lda from procmail, but some script can't run
under lda cmusieve plugin.
dovecot version: dovecot-1.0(debian)
revelant config
dovecot.conf:
protocol lda {
postmaster_address = postmaster at wizard.dunanet.hu
hostname = wizard.dunanet.hu
mail_plugin_dir = /usr/lib/dovecot/modules/lda
#sendmail_path = /usr/lib/sendmail
auth_socket_path =
2005 Jan 31
3
One interface forwarding (wireless ad-hoc mode)?
Hi,
I''m wondering if there''s any simple solution. This problem
looks very simple, so maybe there''s a simple solution that
I''m missing, but I couldn''t do it yet.
I''m configuring an wireless ad-hoc network with three
laptops;
A ---- B ---- C
where A and C can only talk to B, and B can talk to both A
and C. A and C cannot talk to each
2010 Jan 16
2
La.svd of a symmetric matrix
Dear R list users,
the singluar value decomposition of a symmetric matrix M is UDV^(T), where U = V.
La.svd(M) gives as output three elements: the diagonal of D and the two orthogonal matrices u and vt (which is already the transpose of v).
I noticed that the transpose of vt is not exactly u. Why is that?
thank you for your attention and your help
Stefano
AVVISO IMPORTANTE: Questo messaggio di
2005 Feb 16
3
How can i send the same traffic to 2 different interface
Hi! I am making some tests here, and i wanna miror all the
traffic going to a ip from one interface to another ip.
example:
all packets going to 64.223.167.100 should be transmitted by
ppp0 to internet and by eth2 to the adress 192.168.1.100.
Someone know how can i do it using iptables or ip route/ip
rule?
Tks in advance!
Fernando Favero
_______________________________________________
LARTC
2005 Jan 31
3
why there is any traffic in default class?
I have:
tc qdisc add dev imq0 root handle 1: htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit
tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit
then:
iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0
tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit
tc filter add dev imq0 protocol