search for: vecb

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

Did you mean: vec
2008 Sep 10
1
Computation of contour values - Speeding up computation
Dear R useRs, i have the following code to compute values needed for a contour plot ############################################################ "myContour" <- function(a, b, plist, veca, vecb, dim) { tmpb <- seq(0.5 * b, 1.5 * b, length=dim) tmpa <- seq(0.5 * a, 1.5 * a, length=dim) z <- matrix(0, nrow=dim, ncol=dim) for(i in 1:dim) { for(j in 1:dim) { z[i, j] <- posteriorPdf(a=tmpa[j], b=tmpb[i], plist=plist, veca=vec...
2007 Jun 12
0
[PATCH] Combined checkFTB and capDirection into one checkOrientation function.
...const CompTransform *transform, + CompOutput *outputPtr, + const float points[3][3]) { CompTransform sTransform = *transform; float mvp[16]; @@ -932,90 +933,27 @@ cubeCheckFTB (CompScreen *s, float vecA[3], vecB[3]; float ortho[3]; - (*s->applyScreenTransform) (s, sAttrib, outputPtr, &sTransform); - transformToScreenSpace (s, outputPtr, -sAttrib->zTranslate, &sTransform); - - MULTM (s->projection, sTransform.m, mvp); - - pntA[0] = outputPtr->region.extents.x1;...
2004 Jun 29
2
binding rows from different matrices
Hello list, I have 3 matrices with same dimension : > veca=matrix(1:25,5,5) > vecb=matrix(letters[1:25],5,5) > vecc=matrix(LETTERS[1:25],5,5) I would like to obtain a new matrix composed by alternating rows of these different matrices (row 1 of mat 1, row 1 of mat 2, row 1 of mat 3, row 2 of mat 1.....) I have found a solution to do it but it is not very pretty and I wond...