search for: 1xn

Displaying 19 results from an estimated 19 matches for "1xn".

Did you mean: 1n
2003 Aug 13
2
rowsum() may return a vector instead of a matrix (PR#3737)
If all rows are in the same "group", rowsum() returns a vector instead of a (1xN) matrix, contrary to documentation: R> print(z <- rowsum(matrix(1:12, 3,4), rep("x",3))) [1] 6 15 24 33 R> dim(z) NULL It worked correctly in version 1.4.0 but was broken by version 1.6.1. I'm currently using 1.7.1 under Solaris 2.8. --please do not edit the infor...
2009 Aug 20
2
Geometric mean of rows in matrix
Is there a function or an easier way to computer geometric means of each rows in a nxn matrix and spit out in an 1xn matrix ? -- Edward Chen [[alternative HTML version deleted]]
2010 Aug 15
3
Rows index/colProds
...: > colProds(a==b) GSM1.CEL GSM2.CEL GSM1.CEL 1 0 1 > sum(colProds(a==b)) 2 -----> that gives the value of 2 that I want. The problem is: if the matrix "a" is actually a vector (matrix 1xN), the function "colProds" multiply the elements of the row as if it was a column: > a 10000_at 1 > b GSM1.CEL GSM2.CEL GSM1.CEL 1 3 1 > a==b GSM1.CEL GSM2.CEL GSM1.CEL TRUE FALSE TRUE &g...
2009 Oct 29
2
fast cumulative matrix multiplication
Hi all, I am looking for a function like cumprod() that works for matrix multiplication. In other words, I have matrices [M1, M2, ..., Mn], and I want to calculate [M1, M1%*%M2, M1%*%M2%*%M3, ..., M1%*%...%*%Mn] as quickly as possible. Right now I'm using a for() loop but it seems like there should be a faster way. Any help is appreciated! Thanks, Todd Schneider todd.w.schneider@gmail.com
2007 Sep 03
2
The quadprog package
...%\Sigma%*%\omega) Subject to (1) \iota' %*% \omega = 1 (full investment) (2) R'%*%\omega = \mu (predefined expectation value) (3) \omega \ge 0 (no short sales). Where \omega is a Nx1 vector of the weights invested in each asset \Sigma is the NxN variance-covariance matrix \iota is a 1xN vector of 1's R' is a Nx1 vector of the expected returns and \mu is a number, the postualted return of the investor I've done the following code but it doesn't make what I want it to do. The weights aren't all positive and the \mu isn't reached. What's wrong with my...
2009 Jan 25
0
Gallium NV40 Textures
..., but after that something screws up. I think the swizzler has some limitations for the dest surface. dest must be aligned to some boundary (64 bytes? 128?) i think, so that means each mip level must be aligned, and we probably aren't obeying that at the moment. probably the hw won't handle 1xN or Nx1 either. Try the progs/tests/mipmap_view, IIRC 8x8 and below is broken.
2005 Jul 26
1
/ Right division.
Dear R gurus. Is there an R function equivalent to octaves / (Right division) withouth forming the inverse of Y' using solve ? [snip - from octave docu] Right division. This is conceptually equivalent to the expression (inverse (y') * x')' but it is computed without forming the inverse of Y'. If the system is not square, or if the coefficient matrix
2007 Dec 17
0
kernlab and gram matrix
...? I couldn't find any information in this respect in the manual. The only examples for prediction were concerned with data from the input space, which i don't have, since my input space consists of graphs. I tried the following: predict(regm,x,type="response") where x is the 1xn R-matrix containing kernel values between the instance to be predicted and my training points. This won't work: Error in as.matrix(Z) : object "Z" not found. I'm using the current CRAN version of kernlab. Any help by kernlab users who had a similar task to do would be apprecia...
2007 Dec 02
1
speeding up likelihood computation
...,qq43,qq51,qq52,qq53,qq54,qq61,qq62,qq63,qq64,qq65) ######################################################################### n <- length(N) # LENGTH OF SAMPLE; SIZE OF THE MAIN LOOP lglik <- numeric(n) # INITIALIZING THE LOGLIKELIHOOD FUNCTION # CREATES A 1xn VECTOR OF ZEROS for (j in 1:n) { # START OF MAIN LOOP S <- matrix(0, 6, 6) # CREATE A 6x6 MATRIX OF ZEROS y <- numeric(15) # CREATE A 1x15 VECTOR OF ZEROS N1 <- N[j] # DESIRED FAMILY SIZE q <- 1/(1+exp(delta)) # PROBABILITY OF MALE BIRTH...
2018 Jan 11
0
Creating cluster replica on 2 nodes 2 bricks each.
Hi Jose, Gluster is working as expected. The Distribute-replicated type just means that there are now 2 replica sets and files will be distributed across them. A volume of type Replicate (1xn where n is the number of bricks in the replica set) indicates there is no distribution (all files on the volume will be present on all the bricks in the volume). A volume of type Distributed-Replicate indicates the volume is both distributed (as in files will only be created on one of the replic...
2010 Aug 23
1
Internal state indicating if a data object has NAs/no NAs/not sure (Was: Re: Speeding up matrix multiplies)
...> multiply itself, with simple nested loops. ?For multiplies in which > the number of elements in the result matrix is large, this check will > take a negligible amount of time. ?But otherwise it can drastically > slow things down. ?This is true in particular for dot products, of a > 1xN times an Nx1 matrix, giving a 1x1 result. > > I changed the code to handle dot product specially, with no need for > ISNAN checks, and otherwise to go straight to the nested loop code > (bypassing Fortran and the ISNAN checks) if the result matrix has no > more than 15 elements. ?One...
2010 Aug 23
1
Speeding up matrix multiplies
...nd if so does the matrix multiply itself, with simple nested loops. For multiplies in which the number of elements in the result matrix is large, this check will take a negligible amount of time. But otherwise it can drastically slow things down. This is true in particular for dot products, of a 1xN times an Nx1 matrix, giving a 1x1 result. I changed the code to handle dot product specially, with no need for ISNAN checks, and otherwise to go straight to the nested loop code (bypassing Fortran and the ISNAN checks) if the result matrix has no more than 15 elements. One can see that the times...
2018 Jan 23
1
[Possibile SPAM] Re: Strange messages in mnt-xxx.log
On 17 January 2018 at 16:04, Ing. Luca Lazzeroni - Trend Servizi Srl < luca at trendservizi.it> wrote: > Here's the volume info: > > > Volume Name: gv2a2 > Type: Replicate > Volume ID: 83c84774-2068-4bfc-b0b9-3e6b93705b9f > Status: Started > Snapshot Count: 0 > Number of Bricks: 1 x (2 + 1) = 3 > Transport-type: tcp > Bricks: > Brick1:
2018 Jan 10
2
Creating cluster replica on 2 nodes 2 bricks each.
Hi Nithya This is what i have so far, I have peer both cluster nodes together as replica, from node 1A and 1B , now when i tried to add it , i get the error that it is already part of a volume. when i run the cluster volume info , i see that has switch to distributed-replica. Thanks Jose [root at gluster01 ~]# gluster volume status Status of volume: scratch Gluster process
2018 Jan 11
3
Creating cluster replica on 2 nodes 2 bricks each.
...Jan 10, 2018, at 9:02 PM, Nithya Balachandran <nbalacha at redhat.com> wrote: > > Hi Jose, > > Gluster is working as expected. The Distribute-replicated type just means that there are now 2 replica sets and files will be distributed across them. > A volume of type Replicate (1xn where n is the number of bricks in the replica set) indicates there is no distribution (all files on the volume will be present on all the bricks in the volume). > > A volume of type Distributed-Replicate indicates the volume is both distributed (as in files will only be created on one of...
2018 Jan 15
1
Creating cluster replica on 2 nodes 2 bricks each.
...9:02 PM, Nithya Balachandran <nbalacha at redhat.com> > wrote: > > Hi Jose, > > Gluster is working as expected. The Distribute-replicated type just means > that there are now 2 replica sets and files will be distributed across > them. > > A volume of type Replicate (1xn where n is the number of bricks in the replica set) indicates there is no distribution (all files on the volume will be present on all the bricks in the volume). > > > A volume of type Distributed-Replicate indicates the volume is both > distributed (as in files will only be created on...
2018 Jan 12
0
Creating cluster replica on 2 nodes 2 bricks each.
...buquerque, NM 87131 On Jan 10, 2018, at 9:02 PM, Nithya Balachandran <nbalacha at redhat.com> wrote: Hi Jose, Gluster is working as expected. The Distribute-replicated type just means that there are now 2 replica sets and files will be distributed across them. A volume of type Replicate (1xn where n is the number of bricks in the replica set) indicates there is no distribution (all files on the volume will be present on all the bricks in the volume). A volume of type Distributed-Replicate indicates the volume is both distributed (as in files will only be created on one of the replic...
2008 Jul 14
2
long data frame selection error
Hello, I am trying to select the following headers from a data frame but when I try and run the command it executes halfway through and give me an error at V188 and V359. Temp <- data.frame(V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15, V16, V17, V18, V19, V20, V21, V22, V23, V24, V25, V26, V27, V28, V29, V30, V31, V32, V33, V34, V35, V36, V37, V38, V39, V40, V41, V42, V43, V44, V45,
2006 Nov 10
0
Wine release 0.9.25
...rch the patch package for source cabinet files. msi: Don't print traces for addref and release. msi: Fix a typo. imagelist: Move Nx1 assumptions about bitmaps dimensions into a single function. comctl32: Remove a redundant variable. comctl32: imagelist: Remove more 1xN assumptions. kernel32: Declare HeapQueryInformation and HeapSetInformation. kernel32: Add a stub for HeapSetInformation. riched20: Use WARN() not ERR() on unknown tokens. riched20: Initialize and free the RTF lookup table in DllMain to avoid memory leaks. msi: Fix a ha...