search for: pt4

Displaying 3 results from an estimated 3 matches for "pt4".

Did you mean: p4
2007 Nov 15
1
Nested SEXP functions
...SEXP XminusY(SEXP X,SEXP Y); // X-Y SEXP tX(SEXP X); // X^T SEXP mycholinv(SEXP V); // Use cholesky decomposition for inverse Now, what I'm noticing is that if I call each routine individually such as: pt1=XtimesY(X,beta); // X*beta pt2=Xminus(Y,pt1); // Y-X*beta pt3=tX(pt2); // (Y-X*beta)^T pt4=mycholinv(V); //V^{-1} pt5=XtimesY(pt2,pt4); // (Y-X*beta)^T V^{-1} result=XtimesY(pt5,pt2); //(y-X*beta)^T V^{-1} (y-X*beta) Then the result is correct. But if instead I want to save some lines of code, and I use: result=XtimesY(XtimesY(tX(XminusY(Y,XtimesY(X,beta))),mycholinv(V)),XminusY(Y,Xti...
2012 Feb 24
1
Telling plot() the max y value to expect when plotting one distribution and then using lines() to add more distributions
...y to do this. New to R, experienced C programmer, thanks in advance. Frank colors <- c("red", "blue", "darkgreen", "gold", "black") labels <- c("1", "2","3") pdf("C:\\Users\\Frank\\Documents\\R\\Scripts\\pt4_Graph.pdf") ## load Pearson package library(PearsonDS) ##range for x axis no_of_increments<- 100 x <- seq(-0.06, +0.06, length=no_of_increments) ##parameters for the plots of three distributions mx<- c(1.95, 18.35,1.93) nux<- c(0.08,-1.02,0.25) locationx<- c(0.0048,-0.00254,0.00...
2013 Oct 28
5
FreeBSD PVH guest support
...ction called by the Xen PVH boot sequence. + * + * Set some Xen global variables and prepare the environment so it is + * as similar as possible to what native FreeBSD init function expects. + */ +u_int64_t +hammer_time_xen(start_info_t *si, u_int64_t xenstack) +{ + u_int64_t physfree; + u_int64_t *PT4 = (u_int64_t *)xenstack; + u_int64_t *PT3 = (u_int64_t *)(xenstack + PAGE_SIZE); + u_int64_t *PT2 = (u_int64_t *)(xenstack + 2 * PAGE_SIZE); + int i; + + KASSERT((si != NULL && xenstack != 0), + ("invalid start_info or xenstack")); + + xen_early_printf("FreeBSD PVH ru...