search for: ilog

Displaying 20 results from an estimated 42 matches for "ilog".

Did you mean: blog
2013 Sep 06
4
About de Bruijn sequences in bitmath.h
Found this code: ftp://ftp.samba.org/pub/unpacked/ntdb/lib/ccan/ilog/ilog.c Tests show that it's faster to use the following code in FLAC__bitmath_ilog2_wide(): static const unsigned char DEBRUIJN_IDX32[32]={ 0, 1,28, 2,29,14,24, 3,30,22,20,15,25,17, 4, 8, 31,27,13,23,21,19,16, 7,26,12,18, 6,11, 5,10, 9 }; FLAC__uint32 v;...
2012 Mar 24
1
Double And average a vector
Dear all, I am reading with R some measurements vectors from an external device. The length of each vector (containing numbers) is not constant. I would like by doubling the numbers of elements I select to shrink the vector to a new one Let's call the vector I read from the device as oldvector and the shrinked version of it as newVersion I want to have newVersion[1]<-
2004 Jul 21
0
ILOG/JRULES/J2EE project opportunity
Hi Please call or email me if you would be interested in the following project Senior Rules Engine (ILOG) Consultant Location: Saint Louis, MO Duration: 6 months Skills: At least 5 years strong development experience with OO languages, specifically on complex web applications using Java J2EE 3 years of Rules Engineering experience, Rules engine : ILOG experience is required Experien...
2002 Jul 20
3
Vorbis 1.0 spec notes, part 1
...orking for one session. I'm going very slowly to help ensure that everything is exactly correct, but I already have a few relatively minor notes: (these will be mostly for Monty, but I'm sure others may have comments) helper.html: * Overview - "int he" -> "in the" * ilog - "returns the *number of* the highest set bit ..." - (reference vorbis-spec-bitpack.html) - "greater than nonzero" -> "greater than zero" - question: ilog defines behavior for signed values. However, it is called sometimes with 32-bit unsigned values (e.g. codebook...
2002 Nov 07
4
Preferable contrasts?
...in the choose of the contrast option. It is clear that there is some dependence in the contrasts, but in this simple case I could get the vice versa effect. My R output: > options(contrasts = c(unordered = "contr.treatment", ordered = "contr.poly")) > summary(coxph(Surv(ILOG, alive) ~ factor(PRO)*factor(PRE))) ... coef exp(coef) se(coef) z p factor(PRO)1 0.6576 1.930 0.302 2.177 0.029 factor(PRE)1 0.0681 1.070 0.304 0.224 0.820 factor(PRO)1:factor(PRE)1 -0.7703 0.463 0.431 -1.789 0...
2011 May 16
0
Problem installing Rcplex in ubuntu
...d have not been successful. After installing cplex latest version from ibm's website (everything as standard, except had it installed unto ~/ (the home directory) rather than the default directory). i type (from inside the directory where Rcplex_0.3-0.tar.gz is): >CPLEX_INCLUDE_PATH=~/ILOG/CPLEX/cplex >CPLEX_INCLUDE_PATH=~/ILOG/CPLEX/cplex/examples/x86-64_sles10_4.1/static_pic >R CMD INSTALL \ --configure-args="--with-cplex-include=$CPLEX_INCLUDE_PATH \ --with-cplex-cflags=-fPIC \ --with-cplex-lib='-L$CPLEX_LIB_PATH/static_pic \ -lcplex -lm -lpthread...
2012 Mar 10
2
Window on a vector
Dear all, I have a large vector (lets call it myVector) and I want to plot its value with the logic below yaxis<-myVector[1] yaxis<-c(xaxis,mean(myvector[2:3]) yaxis<-c(xaxis,mean(myvector[4:8]) yaxis<c(xaxis,mean(myvector[9:16]) yaxis<c(xaxis,mean(myvector[17:32]) this has to stop when the new ..... yaxis<c(xaxis,mean(myvector[1024:2048]) will not find the correspondent number
2012 Feb 19
2
installing the package Rcplex
...s systems is done by using the provided Makevars.win file in the src directory. It contains the following lines: PKG_CPPFLAGS=-I<CPLEX_DIR>/include PKG_LIBS=-L<CPLEX_DIR>/lib/x86_windows_vs2008/stat_mda -lcplex111 -lm where <cplex_dir> is the cplex installation directory e.g. /c/ilog/cplex111. Please edit your Makevars.win file accordingly. We have successfully tested this procedure with CPLEX 11.1 on 32-bit Windows XP. --------------------------------------------------------------------------------------------------     I do not understand what it means exactly. I do fine the...
2010 Jun 14
4
Live Stream Encoding
...ti.fps_denominator = 1; ti.aspect_numerator = 0; ti.aspect_denominator = 0; ti.colorspace = TH_CS_UNSPECIFIED; ti.pixel_fmt = TH_PF_422; ti.target_bitrate = -1; ti.quality = 48; ti.keyframe_granule_shift=ilog(keyframe_frequency-1); What can cause such a problem? Regards Mario
2004 Aug 06
5
Ices2 compile error - streaming ogg!
...rmissons thingy but now on doing a make on ices2 I get:(seem like I am missing gnome-xml ??? All this compiling shite is making my head hurt! Perhaps I'll use mp3s instead :( Perhaps there is anther ogg streamer for icecast2 ???) ================================================ Ithread -Iavl -Ilog -Itiming -DHAVE_OSS -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE -I/usr/include/gnome-xml -I/include -I/include -I/include -c reencode.c gcc -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -I. -I. -Inet -Ithread -Iavl -...
2004 Aug 06
1
Ices2 compile error - streaming ogg!
...em like I am missing > > gnome-xml ??? All this compiling shite is making my head hurt! Perhaps > > I'll use mp3s instead :( Perhaps there is anther ogg streamer for > > icecast2 ???) > > > > ================================================ > > Ithread -Iavl -Ilog -Itiming -DHAVE_OSS -O20 -ffast-math > > -fsigned-char -D_REENTRANT -D_GNU_SOURCE -I/usr/include/gnome-xml > > -I/include -I/include -I/include -c reencode.c > > gcc -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 > > -DSTDC_HEADERS=1 -DHAVE_STD...
2008 Dec 02
0
predicted probabilities after lmer
...two-level logistic models and I'm interested in predicted probabilities that I get in this way (using "fitted"): glm1 = lmer(XY$T1~X1 + X2 + X3 + (1|Cind), family=binomial) #estimation of a two-level logit model fit1=fitted(glm1) # I get the fitted linear predictor ilog = function(x) { 1/(1 + exp(-x)) } ps1=ilog(fit1) # In order to get the estimated probabilities Is this procedure correct? In this way I'm getting the "conditional probabilities", right? Is there any function I can use in order to get the "empirical bayes (EB) probabilities&q...
2008 Nov 25
0
How to predict probabilities after using lmer
...two-level logistic models and I'm interested in predicted probabilities that I get in this way (using "fitted"): glm1 = lmer(XY$T1~X1 + X2 + X3 + (1|Cind), family=binomial) #estimation of a two-level logit model fit1=fitted(glm1) # I get the fitted linear predictor ilog = function(x) { 1/(1 + exp(-x)) } ps1=ilog(fit1) # In order to get the estimated probabilities Is this procedure correct? In this way I'm getting the "conditional probabilities", right? Is there any function I can use in order to get the "empirical bayes (EB) probabilities&q...
2011 Apr 18
3
CELT grabbing 100KB of memory right off the top
Is there a particular reason why CELT grabs 100KB of stack immediately? Is that really required or can that be trimmed down some/a lot? -a
2007 Jun 09
1
write.table: last line should differ from usual eol
Dear R-Team, I have a problem with writing an array to (for example) a .txt-file. Because of the .txt-file must be read from another programm (OPL ILOG), the syntax of the output must be from a special form: name_of_the_object = [ [1,2, ... ], [1,...], ... ]; I think it's easier to understand with a small example: X<-array(1:4,c(2,2)) should be written as: X = [[1,3], [2,4]]; I have (until now) used the following: write...
2004 Aug 06
0
cvs changes
...and it all looked correct. make Here's where I hit trouble. The relevant part of the output is: make[2]: Entering directory `/usr/usr2/friends/geoff/ices/src' gcc -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -I. -I. -Inet -Ithread -Iavl -Ilog -Itiming -DHAVE_OSS -I/usr/include/libxml -I/usr/include -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE -c stream.c stream.c: In function `ices_instance_stream': stream.c:151: warning: passing arg 1 of `shout_strerror' makes pointer from integer without a cast stream.c:151: to...
2002 Sep 18
4
Test files for decoder implementation
Hi, I am trying to implement a Vorbis decoder in Java, and I have some problems understanding the file-format specification included with libvorbis. In the header description, there are a few obvious mistakes, which I believe to have solved, but when I try to decode the audio packets, the decoded floor and residue data doesn't seem to make sense at all, and after a few packets, my decoder
2004 Aug 06
1
ices2 compilation problem
...Hash: SHA1 Hi folks, I can't compile ices2 from cvs.xiph.org OS Linux gcc 2.95 I get this error: make[2]: Entre dans le répertoire `/usr/local/src/ices/src' gcc -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 - -I. -I. -Inet -Ithread -Iavl -Ilog -Itiming -DHAVE_OSS -O20 -ffast-math - -fsigned-char -D_REENTRANT -D_GNU_SOURCE -I/usr/local/include/libxml2/libxml - -I/usr/local/include/libxml2 -I/include -I/include -I/include -c input.c In file included from input.c:29: input.h:33: parse error before `shout_t' input.h:33: warning: no...
2012 Jul 27
1
an optimization problem and installation of the package Rcplex
...ve an optimization problem. To do so, I tried to install the package Rcplex on my computer (Windows7-64), so I did the same as installation Instructions<http://www.geeklog.net/docs/english/install.html> and edited the file "Makevars.win" by adding the path "C:/Program Files/IBM/ILOG/CPLEX_Studio_Preview124/cplex/include" (where the trial version of cplex has been installed on my computer) to the lines "PKG_CPPFLAGS=-I<CPLEX_DIR>/include" and "PKG_LIBS=-L<CPLEX_DIR>/lib/x86_windows_vs2008/stat_mda -lcplex111 -lm". Then, I just tried to insta...
2004 Aug 06
1
libshout compile errors (os.h)
...this error. I'm on debian (testing)... But now I have another problem when compiling ices make[2]: Entering directory `/opt/ices2/ices/src' gcc-3.2 -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1 -I. -I. -Inet -Ithread -Iavl -Ilog -Itiming -DHAVE_OSS -O20 -ffast-math -fsigned-char -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/include -I/include -I/include -c input.c In file included from input.c:29: input.h:34: parse error before "shout_t" input.h:34: warning: no semicolo...