Displaying 20 results from an estimated 40 matches for "sinh".
Did you mean:
singh
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE+0x190)[0x6efae0]
opt(_ZN4llvm13MPPassManager25addLowerLevelRequiredPassEPNS_4PassES2_+0xcc)[0x6f1dfc]
opt(_ZN4llvm13PMDataManager3addEPNS_4PassEb+0x2a7)[0x6f4237]
opt(main+0x348)[0x485ac8]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3880a1d8a4]
opt(sinh+0x39)[0x47b1f9]
i tried a work around by creating another function pass and adding the
MemoryDependenceAnalysis pass to it (i didn't try to get the analysis).
it doesn't give errors if i only call the function pass i created alone,
but if i add this function pass to the module pass it...
2005 Apr 07
1
complex tangent (PR#7781)
...ni
Version: 2.0.1
OS: Windows 2000
Submission from: (NULL) (65.246.187.164)
When the imaginary part of the argument is very large, the complex tangent
function returns 0+NaNi. For example, tan(1+1000i)=0+NaNi; it should be 0+1i
Easy to fix in complex.c, as the original NaN came from division of sinh and
cosh that had reached machine infinity.
static void z_tan(Rcomplex *r, Rcomplex *z)
{
double x2, y2, den;
x2 = 2.0 * z->r;
y2 = 2.0 * z->i;
den = cos(x2) + cosh(y2);
r->r = sin(x2)/den;
/* any limit above about log(DBL_EPSILON) will do */
if (fabs(r->i)...
2010 May 05
1
testInstalledBasic question
...quot; "all" "any"
"as.character" "as.complex" "as.double"
[29] "as.integer" "as.logical" "as.numeric" "as.raw" "as.real"
"asin" "asinh"
[36] "atan" "atanh" "c" "ceiling" "cos"
"cosh" "cummax"
[43] "cummin" "cumprod" "cumsum" "digamma" &...
2009 Mar 24
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...ZN4llvm17PMTopLevelManager12schedulePassEPNS_4PassE+0x190)[0x6efae0]
opt(_ZN4llvm13MPPassManager25addLowerLevelRequiredPassEPNS_4PassES2_+0xcc)[0x6f1dfc]
opt(_ZN4llvm13PMDataManager3addEPNS_4PassEb+0x2a7)[0x6f4237]
opt(main+0x348)[0x485ac8]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3880a1d8a4]
opt(sinh+0x39)[0x47b1f9]
Devang Patel wrote:
> On Mar 20, 2009, at 11:19 AM, Amr Yehia wrote:
>
>
>>> I am loading the CallGraph pass before it from my module
>>>
>
> Aha, so you're actually invoking function pass from a CG pass. See if
> my suggestion...
2005 Aug 11
1
include C functions from nmath in my own C functions
...ocal/lib/libRmath.so: undefined reference to
`rint'
/usr/local/lib/libRmath.so: undefined reference to
`cos'
/usr/local/lib/libRmath.so: undefined reference to
`sin'
/usr/local/lib/libRmath.so: undefined reference to
`pow'
/usr/local/lib/libRmath.so: undefined reference to
`sinh'
/usr/local/lib/libRmath.so: undefined reference to
`log10'
/usr/local/lib/libRmath.so: undefined reference to
`exp'
/usr/local/lib/libRmath.so: undefined reference to
`tan'
/usr/local/lib/libRmath.so: undefined reference to
`log1p'
/usr/local/lib/libRmath.so: undefined...
2009 Mar 20
0
[LLVMdev] Problem with MemoryDependenceAnalysis
...sEPNS_4PassE+0x190)
> [0x6efae0]
> opt(_ZN4llvm13MPPassManager25addLowerLevelRequiredPassEPNS_4PassES2_
> +0xcc)[0x6f1dfc]
> opt(_ZN4llvm13PMDataManager3addEPNS_4PassEb+0x2a7)[0x6f4237]
> opt(main+0x348)[0x485ac8]
> /lib64/libc.so.6(__libc_start_main+0xf4)[0x3880a1d8a4]
> opt(sinh+0x39)[0x47b1f9]
>
>
> i tried a work around by creating another function pass and adding the
> MemoryDependenceAnalysis pass to it (i didn't try to get the
> analysis).
> it doesn't give errors if i only call the function pass i created
> alone,
> but if i add th...
2009 Mar 20
2
[LLVMdev] Problem with MemoryDependenceAnalysis
...; [0x6efae0]
>> opt(_ZN4llvm13MPPassManager25addLowerLevelRequiredPassEPNS_4PassES2_
>> +0xcc)[0x6f1dfc]
>> opt(_ZN4llvm13PMDataManager3addEPNS_4PassEb+0x2a7)[0x6f4237]
>> opt(main+0x348)[0x485ac8]
>> /lib64/libc.so.6(__libc_start_main+0xf4)[0x3880a1d8a4]
>> opt(sinh+0x39)[0x47b1f9]
>>
>>
>> i tried a work around by creating another function pass and adding the
>> MemoryDependenceAnalysis pass to it (i didn't try to get the
>> analysis).
>> it doesn't give errors if i only call the function pass i created
>>...
2005 Aug 11
1
include C functions from nmath in my own C functions
...9;
/usr/local/lib/libRmath.so: undefined reference to
`rint'
/usr/local/lib/libRmath.so: undefined reference to
`cos'
/usr/local/lib/libRmath.so: undefined reference to
`sin'
/usr/local/lib/libRmath.so: undefined reference to
`pow'
/usr/local/lib/libRmath.so: undefined reference to
`sinh'
/usr/local/lib/libRmath.so: undefined reference to
`log10'
/usr/local/lib/libRmath.so: undefined reference to
`exp'
/usr/local/lib/libRmath.so: undefined reference to
`tan'
/usr/local/lib/libRmath.so: undefined reference to
`log1p'
/usr/local/lib/libRmath.so: undefined referenc...
2006 Aug 30
1
setMethod() and log()
...rob(x at x),
log = { out <- x at x
out[!x at positive] <- NaN
out
},
acos =,
acosh =,
asin =,
asinh =,
atan =,
atanh =,
ceiling=,
cos =,
cosh =,
cumsum =,
exp =,
floor =,
gamma =,
lgamm...
2011 Jun 18
2
different results from nls in 2.10.1 and 2.11.1
...424225, 0.4840737581253,
0.850653231144, 0.5909016132355, 0.8414449691772, 0.9699150323868)
xlims <- c(-1,1)
bw <- 0.05
b <- seq(xlims[1],xlims[2],by=bw) ; nb <- length(b)
h <- hist( dd, breaks=b, plot=FALSE)
FisherAvgdPdf <- function(theta,theta0,kappa){
A <- kappa/(2*sinh(kappa))
A * I.0( kappa*sin(theta)*sin(theta0) ) * exp(
kappa*cos(theta)*cos(theta0) )
}
nls(dens ~ FisherAvgdPdf(theta,theta0,kappa),
data = data.frame( theta=acos(h$mids), dens=h$density ),
start=c( theta0=0.5, kappa=4.0 ),
algorithm="port", lower=c(0,0), upper=c(aco...
2009 Mar 24
0
[LLVMdev] Problem with MemoryDependenceAnalysis
...r12schedulePassEPNS_4PassE+0x190)[0x6efae0]
> opt(_ZN4llvm13MPPassManager25addLowerLevelRequiredPassEPNS_4PassES2_+0xcc)[0x6f1dfc]
> opt(_ZN4llvm13PMDataManager3addEPNS_4PassEb+0x2a7)[0x6f4237]
> opt(main+0x348)[0x485ac8]
> /lib64/libc.so.6(__libc_start_main+0xf4)[0x3880a1d8a4]
> opt(sinh+0x39)[0x47b1f9]
>
>
>
> Devang Patel wrote:
>
>> On Mar 20, 2009, at 11:19 AM, Amr Yehia wrote:
>>
>>
>>
>>>> I am loading the CallGraph pass before it from my module
>>>>
>>>>
>> Aha, so you...
2010 Sep 21
3
bivariate vector numerical integration with infinite range
...s[ii] * tmp
}
value
}
## test function, the result is pi for y=1
f <- function(x, y) {
res <- 1 / (sqrt(x)*(1+x))
c(res, res/2, 2*res)
}
## Transformation rule from Numerical Recipes
## to deal with the [0, infty) range of x
mixedrule <- function(x, y, f, ...)
{
t <- exp(pi*sinh(x))
dtdx <- t*(pi*cosh(x))
f(t, y, ...)*dtdx
}
vAverage(mixedrule, -4, 4, 0.0, 1, 20, f) - c(pi, pi/2, 2*pi)
## -3.535056e-06 -1.767528e-06 -7.070112e-06
So it seems to work. I wonder though if I may have missed an easier
(and more reliable) way to perform such integration using base
fun...
2009 Mar 24
1
[LLVMdev] Problem with MemoryDependenceAnalysis
...4PassE+0x190)[0x6efae0]
>> opt(_ZN4llvm13MPPassManager25addLowerLevelRequiredPassEPNS_4PassES2_+0xcc)[0x6f1dfc]
>> opt(_ZN4llvm13PMDataManager3addEPNS_4PassEb+0x2a7)[0x6f4237]
>> opt(main+0x348)[0x485ac8]
>> /lib64/libc.so.6(__libc_start_main+0xf4)[0x3880a1d8a4]
>> opt(sinh+0x39)[0x47b1f9]
>>
>>
>>
>> Devang Patel wrote:
>>
>>
>>> On Mar 20, 2009, at 11:19 AM, Amr Yehia wrote:
>>>
>>>
>>>
>>>
>>>>> I am loading the CallGraph pass before it from my mod...
2005 Apr 28
3
[LLVMdev] Floating point instructions patch
...thing missing is expansion to lib calls for these node types for targets that
don't support them... I'm sure someone who understands the LLVM internals a bit better than me can add that in no time ;)
I also noticed that the DoesntAccessMemoryTable in BasicAliasAnalysis.cpp includes "sinh", "cosh" and friends -- as far
as I know, these can actually set errno so they should not be in the table...
Here is the patch, hope to see it applied soon!
m.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fpinst.patch
URL:...
2009 Mar 23
0
[LLVMdev] Problem with MemoryDependenceAnalysis
On Mar 20, 2009, at 11:19 AM, Amr Yehia wrote:
>> I am loading the CallGraph pass before it from my module
Aha, so you're actually invoking function pass from a CG pass. See if
my suggestion from
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/020109.html
helps.
-
Devang
>
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
...ke the extension functions available on a per db connection
basis like this:
library("RSQLite.extfuns")
db <- dbConnect(SQLite(), dbname = ":memory:")
init_extensions(db)
The extension functions provided by the package include:
Math: acos, asin, atan, atn2, atan2, acosh, asinh, atanh, difference,
degrees, radians, cos, sin, tan, cot, cosh, sinh, tanh, coth, exp,
log, log10, power, sign, sqrt, square, ceil, floor, pi.
String: replicate, charindex, leftstr, rightstr, ltrim, rtrim, trim,
replace, reverse, proper, padl, padr, padc, strfilter.
Aggregate: stdev, variance, mo...
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
...ke the extension functions available on a per db connection
basis like this:
library("RSQLite.extfuns")
db <- dbConnect(SQLite(), dbname = ":memory:")
init_extensions(db)
The extension functions provided by the package include:
Math: acos, asin, atan, atn2, atan2, acosh, asinh, atanh, difference,
degrees, radians, cos, sin, tan, cot, cosh, sinh, tanh, coth, exp,
log, log10, power, sign, sqrt, square, ceil, floor, pi.
String: replicate, charindex, leftstr, rightstr, ltrim, rtrim, trim,
replace, reverse, proper, padl, padr, padc, strfilter.
Aggregate: stdev, variance, mo...
2017 Oct 19
0
gpuR 2.0.0 released
...marking)
3. Added determinant function (det)
4. Allow for gpuR object - base object interaction (e.g. vclMatrix * matrix)
5. Added ?inplace' function for ?inplace' operations. These operations
include '+', '-', '*', '/', 'sin', 'asin', 'sinh', 'cos', 'acos',
'cosh', 'tan', 'atan', 'tanh'.
6. Added 'sqrt', 'sum', 'sign','pmin', and 'pmax' functions
7. Methods to pass two gpuR matrix objects to 'cov'
8. Added 'norm' method
9. A...
2007 Jan 12
1
incorrect result of deriv (PR#9449)
Full_Name: Joerg Polzehl
Version: 2.3.1
OS: x86_64, linux-gnu
Submission from: (NULL) (62.141.176.22)
I observed an incorrect behavior of function deriv when evaluating arguments of
dnorm
deriv(~dnorm(z,0,s),"z")
expression({
.value <- dnorm(z, 0, s)
.grad <- array(0, c(length(.value), 1), list(NULL, c("z")))
.grad[, "z"] <- -(z * dnorm(z))
2012 Jan 30
2
Euler identity with complex exp
Hi,
Am i doing something silly here in expecting Euler's
formula to be handled by exp? exp( ix ) = cos x + i sin x.
The first example below follows this, the others not.
Thanks for the education!
> exp( complex(real = 0, imag = 2*pi) )
[1] 1-0i
> exp( complex(real = pi, imag = 2*pi) )
[1] 23.14069-0i
> exp( complex(real = pi/2, imag = 0) )
[1] 4.810477+0i
[[alternative HTML