Displaying 3 results from an estimated 3 matches for "numx".
Did you mean:
num
2005 Oct 07
1
Matrix calculations in R--erroneous?
Does anyone know how -log(x) can equal 743 but -log(x+0)=Inf? That's what
the following stream of calculations suggest:
Browse[2]> -log ( 1e-323+yMat2 - yMat1 * logitShape(matrix(parsList$Xs,
nrow = numXs, ncol=numOfCurves), matrix(means, nrow = numXs,
ncol=numOfCurves, byrow=TRUE), matrix(sigmas, nrow = numXs,
ncol=numOfCurves, byrow=TRUE)) )[5,9]
[1] Inf
Yet:
Browse[2]> logitShape(matrix(parsList$Xs, nrow = numXs, ncol=numOfCurves),
matrix(means, nrow = numXs, ncol=numOfCurves, byrow=TRUE)...
2010 Aug 27
1
asterisk-users Digest, Vol 73, Issue 58
....
Address: 51-01-02 Jalan Austin Heights 3, Taman Mount Austin 81100
Johor Bahru, Johor, Malaysia
R&D Lab: Esky Multimedia Resources Lab, AR0008 (Faculty of
Engineering, MMU), Persiaran Multimedia 63100 Cyberjaya, Selangor,
Malaysia
USA Office : 1584, Meridian Ave, San Jose 95125 CA
web : www.e-numX.com
e-numX : 8881000-2288
e-mail: jonathan at e-numx.com
Tel : +6.07.352.7777
Fax : +6.03.9235.1122
Cell : +6.012.772.2700
Malaysia DID : +6.03.2772.7398
USA DID : +1.408.587.7999
2016 Jan 05
2
For integer vectors, `as(x, "numeric")` has no effect.
...make check" until it reaches one very similar
to that presented by Martin Maechler back on December 11th, failing it
for the same reason (i.e. conversion of the integer vector to
"numeric" by the call to as() in setDataPart()). Here's the test and
its outcome:
setClass("NumX", contains="numeric", representation(id="character"))
nn = new("NumX", 1:10, id="test")
stopifnot(identical(1:10, S3Part(nn, strict = TRUE)))
## Error: identical(1:10, S3Part(nn, strict = TRUE)) is not TRUE
## Execution halted
>>...