search for: evar

Displaying 7 results from an estimated 7 matches for "evar".

Did you mean: eval
2010 Jun 15
1
Error when callin g C-Code
Hi when I call the function below in R, i get the error: Object 'pairlist' can't be converted to 'double'. #include <R.h> #include <Rdefines.h> #include <Rmath.h> SEXP CSimPoisson(SEXP lambda, SEXP tgrid, SEXP T2M, SEXP Ni, SEXP NT) { double sign, EVar; double *xlambda, *xtgrid, *xT2M, *xNi, *xNT, *xtau; SEXP tau; int ltgrid =0; int i = 0; int j = 0; sign = 0; EVar = 0; ltgrid = LENGTH(tgrid); PROTECT(lambda = AS_NUMERIC(lambda)); PROTECT(tgrid = AS_NUMERIC(tgrid)); PROTECT(T2M = AS_NUMERIC(T2M)); PROTECT(Ni = AS_NUMERIC(Ni)); PRO...
2010 Jun 13
1
Simulating a Poisson Process in R by calling C Code over .Call
Hi I want to write a C function for the R Code below and call it with .Call: SimPoisson <- function(lambda,tgrid,T2M) #Simulation eines Poissonprozesses { NT <- 0 Ni <- rep(0,length(tgrid)) tau <- 0 sign <- 0 if(lambda != 0) { i=1 j=1 while (1) { EVar <- rexp(1,lambda) sign <- sign + EVar if (sign > T2M) { break } tau[i] <- sign i = i+1 for (j in j:length(tgrid)) { if (tgrid[j] < sign) { Ni[j] <- NT }else { break } } NT <- NT + 1 } for (j in j:length(tgrid))...
2006 May 28
3
Validating Foreign Key
Howdy, I''m a Rails beginner working on my first significant project with RoR. I''m trying to figure out how to validate a foreign key (you know, make sure the row actually exists.) However, validates_associated doesn''t seem to be what I want to use, nor does it work... -- BEGIN -- class City < ActiveRecord::Base has_many :schools belongs_to :state
2006 Apr 01
1
vmail access problem
Hi everybody......I have the follow problem with my vmail access: http://voicemail.cheaphone.com/cgi-bin/vmail.cgi?action=login&mailbox=22200035 For example this is the address to access the voice mail of one customer. If that customer change the number for : http://voicemail.cheaphone.com/cgi-bin/vmail.cgi?action=login&mailbox=22200040 He will access that user account and see the
2012 Oct 15
1
calculate out of different lists in R
hey There I've been trying to match 2 lists in R I have an excel sheet containing all the 51states of amerika devided by zipcode. the columns are : zip,city, state, latitude,longitude,count so now I want R to make a new table that I could use to draw a map. The table should consist the name of the state plus the count. Like I said I have all the zipcodes and the count for the zipcodes, so now
2013 Jun 26
3
DL380g8 - smart array B320i - CentOS 6.4
Gostaria de instalar o Centos 6.4 em um dl380e g8 com uma smart array b320i, na instala??o n?o possui drives por isso aparece que n?o h? discos dispon?veis, baixei os drives para red hat .dd do site da HP, como poderia carregar esses drives durante a instala??o? gravei eles em um pen drive. Obrigado. -- Sergio.Alex
2007 Feb 01
0
extensions.conf gotoif and label
Hello, I got a little interogation about these 3 points. I want to write something like this sample in my extension.conf. I have tested and it works but I don't know if it is a good way to make a menu. I don't want to put number as it is boring to maintain. Does anyone know if there is some problem to write like this? exten => 7890,1,Wait(1) exten =>