Displaying 7 results from an estimated 7 matches for "matrixb".
Did you mean:
matrix
2017 Mar 20
1
Fwd: Possible memory problems with mallloc when called with .C()
...double superior(double x, double i, double m){
double op1 = r_abs(x-(i)/(m));
double op2 = r_abs(x-(i-1)/(m));
return max(op1,op2);
}
double termino1, termino2, f, g, t, h1, h2, l=1.0, m=n-k;
unsigned long int i, j, filas;
double **matrixA, **matrixB;
matrixA = (double **) malloc((k+1)*sizeof(double *));
matrixB = (double **) malloc((k+1)*sizeof(double *));
for (i=0; i <= k; i++) {
matrixA[i] = (double *) malloc(n*sizeof(double));
matrixB[i] = (double *) malloc(n*sizeof(double));
for (j=0; j <...
2007 Dec 31
1
help with matrix
Hi, dear all:
I am a beginner. I appreciate any help or hint from you.
I am trying to do calculation with matrices. I have 3 matrices. One is matrixA, 2nd is matrixB, and last is matrixC.
Here is matrixA:
1.8511.40.0831.001
0.8771.30.1161.33
1.9021.21.1020.302
0.8640.1261.110.252
1.8230.2161.0020.307
Next is matrixB:
0.8761.770.1930.328
0.8911.0090.2381.004
0.8641.1150.2760.22
0.8871.3060.1660.239
0.8521.0011.0080.251
Last is matrixC:
0.5 1....
2009 Jul 20
3
Write in file matrices of sifferent size
Hi list,
How to save a list content into a text file?
Please consider example below, I have two numeric matrices that I bundle into a list & give each list element a name
Example:
> matrixA <- matrix(0,5,4)
> matrixB <- matrix(1,7,13)
> matrixList <- list(matrixA,matrixB)
> names <- c("Matrix A","Matrix B")
> names <- names(matrixList)
How could I get the list in a txt as below:
"
Matrix A
(Matrix A element 1,1), (Matrix A element 1,2), ...
(Matrix A eleme...
2006 May 22
2
Matrix in 3D
Dear R Users,
Is it possible to add another (third) index to matrix (as in MATLAB). For some analysis e.g. finite mixture models is necessary. Simple example
i<-3
matrix[, , i]<-matrixA[, ,i]%*%matrixB[, , i]
I would appreciate any help
Rob
2005 Oct 24
0
error messages in matrix multiplication
...ain the message - Warning message: Error in A %*% B :
non-conformable arguments
With (b) I obtain the message - Warning message:NAs produced by integer
overflow in: sum(A * A) * sum(B * B) :
(a) Matrix
testA <-read.table("c:\\matrixA.txt",header=T)
testB <-read.table("c:\\matrixB.txt",header=T)
A<-as.matrix(testA)
B<-as.matrix(testB)
cosineDissimilarity <- sum(A%*%B)/sqrt(sum(A%*%A)*sum(B%*%B))
(b) pointwise
testA <-read.table("c:\\matrixA.txt",header=T)
testB <-read.table("c:\\matrixB.txt",header=T)
A<-as.matrix(testA)
B<...
2013 Nov 19
7
Quadrified GTX 480 VT-d passthrough. CUDA 5.5 in Linux partial success
...to patch
Xen or reboot the entire machine =) It doesn''t seem to matter what CUDA app
I''m running, here is matrixMul
for example:
matrixMul# ./matrixMul
[Matrix Multiply Using CUDA] - Starting...
GPU Device 0: "Quadro 6000" with compute capability 2.0
MatrixA(320,320), MatrixB(640,320)
Computing result using CUDA Kernel...
done
Performance= 227.22 GFlop/s, Time= 0.577 msec, Size= 131072000 Ops,
WorkgroupSize= 1024 threads/block
Checking computed result for correctness: Result = PASS
Note: For peak performance, please refer to the matrixMulCUBLAS example.
Anyhoo, does a...
2013 Nov 18
0
Quadrified GTX 480 VT-d passthrough. CUDA 5.5 in Linux partial success!
...to patch
Xen or reboot the entire machine =)
It doesn''t seem to matter what CUDA app I''m running, here is matrixMul
for example:
matrixMul# ./matrixMul
[Matrix Multiply Using CUDA] - Starting...
GPU Device 0: "Quadro 6000" with compute capability 2.0
MatrixA(320,320), MatrixB(640,320)
Computing result using CUDA Kernel...
done
Performance= 227.22 GFlop/s, Time= 0.577 msec, Size= 131072000 Ops,
WorkgroupSize= 1024 threads/block
Checking computed result for correctness: Result = PASS
Note: For peak performance, please refer to the matrixMulCUBLAS example.
Anyhoo, does a...