search for: mexp

Displaying 11 results from an estimated 11 matches for "mexp".

Did you mean: exp
2005 Aug 17
2
power of a matrix
Dear all, I have a population with three age-classes, at time t=0 the population is: n.zero <- c(1,0,0) I have a transition matrix A which denotes "fertility" and "survival": A <- matrix(c(0,1,5, 0.3,0,0, 0,0.5,0), ncol=3, byrow=TRUE) To obtain the population at t=1, I calculate: A %*% n.zero To obtain the population t=2, I calculate: A %*% (A %*% n.zero) ... and so
2002 Jul 26
6
What tags are allowed in ogg files?
...rlength (32 bit unsig. int) vendorstring comment count (32 bit unsig. int) comment1 length) 32 bit unsig. int) comment1 string (fieldname=value) comment2 length.. .. .. and then I copy the rest of the contents from the existing file. I've uploaded two sliced ogg files (200 kb each): http://www.mexp.dk/ogg/test1.ogg (this is the one I modified, so it doesn't work) http://www.mexp.dk/ogg/test2.ogg (this is the original one, which is okay) I hope that a kind soul would care to explain to me what I'm doing wrong, since I've been fiddling with this for two days (or rather nights...
2008 Nov 11
3
exponential of a matrix
Is the matrix exponential available in some package? The cannonical reference is "Nineteen dubious ways to take the exponential of a matrix". (Love that title) Terry T.
2002 Oct 09
3
Multiplication of Matrices
Hi, Suppose I have a matrix, A. Is there an easy way to find A^{n}? I mean, I can do something like: A %*% A %*% A %*% A for A^4, but if I want A^{10} it would be kind of annoying... Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand
2017 Oct 11
0
[PATCH miniexpect 2/2] Add debugging capability at runtime.
...e <config.h> @@ -42,9 +44,18 @@ static pcre *compile_re (const char *rex); +static void +usage (void) +{ + fprintf (stderr, "usage: sshpass PASSWORD ssh [SSH-ARGS...] HOST\n"); + exit (EXIT_FAILURE); +} + int main (int argc, char *argv[]) { + int opt; + int debug = 0; mexp_h *h; const char *password; int status; @@ -52,20 +63,31 @@ main (int argc, char *argv[]) const int ovecsize = 12; int ovector[ovecsize]; - if (argc <= 3) { - fprintf (stderr, "usage: sshpass PASSWORD ssh [SSH-ARGS...] HOST\n"); - exit (EXIT_FAILURE); + while ((op...
2017 Oct 11
5
[PATCH miniexpect 0/2] Add debugging capability at runtime.
Currently you can only turn on miniexpect debugging by recompiling. These two patches make it configurable at runtime, and also improve the usefulness of the output. Rich.
2005 Mar 08
1
To convert an adjacency list model into a nested set model
Dear R-help I am wondering if somebody wrote some code to convert an adjacency list model into a nested set model. In principal I want to do the same as John Celko mentioned it here with SQL: http://groups.google.co.uk/groups?hl=en&lr=lang_en&selm=8j0n05%24n31%241 %40nnrp1.deja.com Assume you have a tree structure like this Albert / \ /
2000 Sep 22
3
eval functions... (PR#668)
...S)...so I am wondering if it is a bug. Eg., the foll. extract from a function runs fine in S-PLUS but gives the error: Error in x[[j]] : subscript out of bounds in R code snippet ..... attach(xd) resp <- "iv802" pickedlist <- "BD + CEC + CLAY + ERODFAC + INCEPTSL" lmexp <- paste(resp, " ~ ", pickedlist,sep="") tmpzx <- eval(lm(lmexp,data=xd)) Essentially, I want to do: lm(iv802 ~ BD + CEC + CLAY + ERODFAC + INCEPTSL, data=xd) thru a function that has the parameters passed thru TclTk and Perl...... Thanks much. -.-.-.-.-.-.-.-...
2020 Mar 17
3
new bquote feature splice does not address a common LISP @ use case?
Dear R-devel, There is a new feature in R-devel, which explicitly refers to LISP @ operator for splicing. > The backquote function bquote() has a new argument splice to enable splicing a computed list of values into an expression, like ,@ in LISP's backquote. Although the most upvoted SO question asking for exactly LISP's @ functionality in R doesn't seems to be addressed by this
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am
2002 Nov 06
3
Confusion with page_segments / segment_table
Hi, There is something I don't understand about the page_segment and segment_table values in the documentation. As I understand it, the segment table consist of as many bytes as specified in page_segment, PLUS one trailing byte with a value between 0 and 254. I've looked at some files that has a Comment tag so large, that it is spread over two pages. Here, the first Page Header (not the