Displaying 4 results from an estimated 4 matches for "matrixtype".
Did you mean:
matrix_type
2004 May 14
3
type checking --- just a thought
hi: would it be useful to build into R an optional mechanism that
typechecks arguments? for example,
sum.across <- function ( inpmatrix : matrixtype( dim[1]>1, dim[2]>3
) ) : vector { }
# this would define a sum.across function that can take matrices
or data sets, but not vectors,
# and which indicates that it will return a vector.
xsum <- sum.across( 1:10 ); # error
repeat <- function( series : vector( di...
2007 Jun 16
1
Lines connecting the boxes in a boxplot
...quire(gplots)
boxwex=0.15
data <- read.table("all_runs_fitness.data");
colnames(data)=c("model","matrix","fitness")
boxplot(fitness ~ matrix,
data=data, boxwex=boxwex, at=(1:7 - 0.2),
main="Fitness for Matrix/Models", xlab="Matrixtype",
ylab="Fitness", ylim=c(20,100),
subset=(model=="dyn"), col="lightblue", xaxt="n", whisklty=1)
boxplot(fitness ~ matrix,
data=data, boxwex=boxwex, at = 1:7, add=TRUE,
subset=(model=="dl3"), col="mistyrose...
2020 May 26
3
Loop Unroll
Awesome, thanks!
Now I have another question. I have a matrix multiplication code. This is
my code:
#include <stdio.h>
#include <stdlib.h>
#define n 4
int main(int argc, char *argv[]) {
int i, j, k;
int A[n][n], B[n][n], C[n][n];
for(i=0;i<n;i++){
for(j=0;j<n;j++){
A[i][j] = 1;
B[i][j] = 2;
C[i][j] = 0;
}
}
2007 Dec 03
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h libswfdec/swfdec_gradient_pattern.c libswfdec/swfdec_gradient_pattern.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_pattern.c
...] =
SWFDEC_AS_CONSTANT_STRING ("hardlight")
SWFDEC_AS_CONSTANT_STRING ("getTextExtent")
SWFDEC_AS_CONSTANT_STRING ("domain")
+ SWFDEC_AS_CONSTANT_STRING ("linear")
+ SWFDEC_AS_CONSTANT_STRING ("radial")
+ SWFDEC_AS_CONSTANT_STRING ("matrixType")
+ SWFDEC_AS_CONSTANT_STRING ("box")
+ SWFDEC_AS_CONSTANT_STRING ("a")
+ SWFDEC_AS_CONSTANT_STRING ("b")
+ SWFDEC_AS_CONSTANT_STRING ("c")
+ SWFDEC_AS_CONSTANT_STRING ("d")
+ SWFDEC_AS_CONSTANT_STRING ("e")
+ SWFDEC_AS_CONSTAN...