Displaying 20 results from an estimated 209 matches for "atoll".
Did you mean:
toll
2005 Nov 06
1
Problem defining a system of odes as a C library with lsoda
I have been trying to make use of the odesolve library on my
university's Linux grid - currently R version 2.0.1 is installed and
the system runs 64-bit Scientific Linux based on Redhat. I cannot seem
to get lsoda working when I define the model as a shared C library. For
example, the following snippet uses the mymod.c example bundled with
the package:
### START
rm(list=ls())
2014 Dec 15
2
Replace atoi and atol with strtol strtoul:Need Help
Hello,
I am working on replacing atoi () and atol() functions with strtol() and
strtoul() . I came across many files which uses statement like these
time_t secs= atoi(data_span.c_str()), here time_t Datatype is not known but
wikipedia says that it is integer so is it necessary to replace atoi with
strtol over here ??
And is their any document which helps me what each file function does like
2014 Dec 18
4
Replace atoi and atol with strtol strtoul:Need Help
Hello,
I came across the file *omega.cc* which is in directory*
xapain-application/omega/*
In this file , atoi is used in *Percentage Relevance cutoff *(293 line no)
as Percentage lies between 0-100 their is no need to modify atoi . But do
we need to check for error's ?
Second Implementation is in *collapsing* (301) in which we collapse set of
document under a key,range of this key has not
2014 Dec 19
2
Replace atoi and atol with strtol strtoul:Need Help
On Thu, Dec 18, 2014 at 11:38:42PM +0000, James Aylett wrote:
> Collapsing is done using a valueno (you can tell because collapse_key
> is of type Xapian::valueno), which is a 32 bit unsigned integer (see
> here:
> https://getting-started-with-xapian.readthedocs.org/en/latest/concepts/indexing/values.html).
> For 32 bit unsigned you need unsigned long.
Xapian::valueno is actually a
2004 Jun 10
0
lsoda with arbitrary zero thresholds (with psuedo-solution)
Dear Hank,
Last question first: really, only you can say for sure if 4e-281 and
5e-11 are small enough; it depends on the units you measure your state
variables in. However, this strategy cannot get the state variables to
exactly 0. Obviously, you could get closer to 0.0 faster by setting the
derivatives even larger in absolute value. You may run into problems
with the solver when the
2014 Dec 19
2
Replace atoi and atol with strtol strtoul:Need Help
On Sat, Dec 20, 2014 at 12:42:08AM +0530, Priyank Bhatt wrote:
> As James said I am attaching two file *date.cc* and *datematchdecider.cc*
Please send patches, not complete source files:
http://trac.xapian.org/browser/git/xapian-core/HACKING#L1176
Patches are much smaller, and don't require the reviewer to work out the
exact version of the source file you started from.
Cheers,
Olly
2014 Dec 16
2
Replace atoi and atol with strtol strtoul:Need Help
Hello ,
I came across this function *HtmlParser::decode_entities(string &s)* in
*xapian-application/omega/htmlparse.cc* which basically does is extract hex
value if any or extract number.For extracting number atoi is used and value
returned by it is stored in variable "val" , I think so replacing atoi with
strtoul would be useful here as number can have larger value although the
2005 Jul 19
2
Michaelis-menten equation
Dear R users:
I encountered difficulties in michaelis-menten equation. I found
that when I use right model definiens, I got wrong Km vlaue,
and I got right Km value when i use wrong model definiens.
The value of Vd and Vmax are correct in these two models.
#-----right model definiens--------
PKindex<-data.frame(time=c(0,1,2,4,6,8,10,12,16,20,24),
2004 Oct 06
1
Foreign code problem
Hello,
I wanted to test the odesolve package and tried to use compiled C-code.
But when I do:
erg <- lsoda(y, times, "mond", parms, rtol, atol, tcrit=NULL, jacfunc=NULL,
verbose=FALSE, dllname="mond", hmin=0, hmax=Inf)
I get the error message:
Error in lsoda(y, times, "mond", parms, rtol, atol, tcrit = NULL,
jacfunc =
2006 Aug 26
1
problems with loop
Dear all,
I am trying to evaluate the optimisation behaviour of a function. Originally
I have optimised a model with real data and got a set of parameters. Now I
am creating simulated data sets based on these estimates. With these
simulations I am estimating the parameters again to see how variable the
estimation is. To this end I have written a loop which should generate a new
simulated data
2001 May 11
1
lsoda
I am running R 1.2.3 with ESS5.1.18 with Windows 98.
I am trying to use lsoda in the odesolve apckage and am having problems.
Question:
The return value of the function of the system of ode's has to be a list
that includes first, the ode's and second, "a vector
(possibly with a `names' attribute) of global values that are
required at each point in `times'."
I
2008 Jul 29
2
[LLVMdev] llvm-gcc linking errors
...ined here
trirast.o(.text+0x1260): In function `atoi':
: multiple definition of `atoi'
main.o(.text+0x14a0): first defined here
trirast.o(.text+0x1290): In function `atol':
: multiple definition of `atol'
main.o(.text+0x14d0): first defined here
trirast.o(.text+0x12c0): In function `atoll':
: multiple definition of `atoll'
main.o(.text+0x1500): first defined here
trirast.o(.text+0x12f0): In function `atof':
: multiple definition of `atof'
main.o(.text+0x1530): first defined here
collect2: ld returned 1 exit status
make: *** [trirast] Error 1
16:25|paul at tabu:~/>
2004 Jun 10
2
odesolve: lsoda vs rk4
I'm trying to use odesolve for integrating various series of coupled 1st
order differential equations (derived from a system of enzymatic
catalysis and copied below, apologies for the excessively long set of
parameters).
The thing that confuses me is that, whilst I can run the function rk4:
out <- rk4(y=y,times=times,func=func, parms=parms)
and the results look not unreasonable:
2008 Feb 16
0
[LLVMdev] linux/x86-64 codegen support
...arglist shows too much information....
$ /home/edwin/llvm-svn/obj42/./prev-gcc/cc1 charset.i
vprintf getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar
fputc_unlocked putc_unlocked putchar_unlocked feof_unlocked
ferror_unlocked gnu_dev_major gnu_dev_minor gnu_dev_makedev atof atoi
atol atoll stat lstat fstat mknod cpp_in_system_header ustrcmp ustrncmp
ustrcspn ustrlen uxstrdup ustrchr ufputs one_utf8_to_cppchar
one_cppchar_to_utf8 one_utf8_to_utf32 one_utf32_to_utf8
one_utf8_to_utf16 one_utf16_to_utf8 conversion_loop convert_utf8_utf16
convert_utf8_utf32 convert_utf16_utf8 convert_utf3...
2008 Apr 09
3
LSODA not accurate when RK4 is; what's going on?
I'm solving the differential equation dy/dx = xy-1 with y(0) = sqrt(pi/2).
This can be used in computing the tail of the normal distribution.
(The actual solution is y(x) = exp(x^2/2) * Integral_x_inf {exp(-t^2/2) dt}
= Integral_0_inf {exp (-xt - t^2/2) dt}. For large x, y ~ 1/x, starting
around x~2.)
I'm testing both lsoda and rk4 from the package odesolve.
rk4 is accurate using step
2006 Jun 08
2
nested mixed-effect model: variance components
...to lagoons? habitats?
lagoons*habitat? transects?
Here is my code:
res <- aov(COVER ~ HABITAT + Error(HABITAT+LAGOON+LAGOON/HABITAT),
data=cov)
summary(res)
and I get Sum Sq for each to calculate variance components:
Error: STRATE
Df Sum Sq Mean Sq
STRATE 5 4493.1 898.6
Error: ATOLL
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 5 3340.5 668.1
Error: STRATE:ATOLL
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 18 2442.71 135.71
Error: Within
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 145 6422.0 44.3
My error message seems to come fr...
2008 Feb 16
2
[LLVMdev] linux/x86-64 codegen support
Interestingly, in the .i file there are 2 __builtin_alloca, and
EmitBuiltinAlloca is only being called once.
Andrew
On 2/16/08, Andrew Lenharth <andrewl at lenharth.org> wrote:
> libcpp/charset.c:631 turns into:
>
> %tmp16 = tail call i64 @strlen( i8* %to ) nounwind readonly
> ; <i64> [#uses=1]
> %tmp18 = tail call i64 @strlen( i8* %from ) nounwind
2004 Aug 13
3
[LLVMdev] is this code really JITed and/or optimized ? ..
Hi all,
(thanks to Reid, who gave nice advice) the fibonacci function code
works now. Please find attached file.
but... the performance is adequate, say, for byte-code
interpretation mode and not for optimized JITing.
fibonacci function of 35 from attached file is more
then 100 times slower then the following code compiled
with "gcc -O2" :
-----------
#include <iostream>
int
2010 Oct 29
2
[LLVMdev] "multiple definition of .. " in clang 2.8
...tname.o: In function `atoi':
Hostname.c:(.text+0xf0): multiple definition of `atoi'
av.o:av.c:(.text+0xf0): first defined here
Hostname.o: In function `atol':
Hostname.c:(.text+0x110): multiple definition of `atol'
av.o:av.c:(.text+0x110): first defined here
Hostname.o: In function `atoll':
Hostname.c:(.text+0x130): multiple definition of `atoll'
av.o:av.c:(.text+0x130): first defined here
Hostname.o: In function `__strcspn_c1':
Hostname.c:(.text+0x150): multiple definition of `__strcspn_c1'
av.o:av.c:(.text+0x150): first defined here
Hostname.o: In function `__strcs...
2009 Jun 11
3
deSolve question
Dear All,
I like to simulate a physiologically based pharmacokinetics model using R
but am having a problem with the daspk routine.
The same problem has been implemented in Berkeley madonna and Winbugs so
that I know that it is working. However, with daspk it is not, and the
numbers are everywhere!
Please see the following and let me know if I am missing something...
Thanks a lot in advance,