search for: triplets

Displaying 20 results from an estimated 186 matches for "triplets".

Did you mean: triples
2008 Mar 13
3
fast way to compare two matrices of combinations
I have a list (length 750), each element containing a vector of unique strings (unique gene ids), with length up to ~40 (median 15). I want to compile a matrix of all possible triplets and their frequency within gene elements. Using combn and a lot of looping, I am accomplishing this but it is VERY slow. I've tried to figure out a way to vectorize this, using "match" and "%in%", but can't get my mind around it. Below is my code. sig.tf.pairs is th...
2017 Aug 30
1
non-standard base64 functions in tinc 1.1
I noticed that the base64 functions in util.c don't produce the same results as other versions that implement RFC 1421 (and its successors). This results in PEM files that can only be decoded by tinc itself. Is this intentional? Below is a diff to make tinc's base64 functions match what everyone else does. This will break existing key files, though, which is unfortunate. - todd diff
2011 Nov 04
1
Creating a sequence from two samples with several constraints (frequency and repeats)
I'm attempting to create a sequence for an experiment and am hoping I can use R to create it. It has several constraints: (1) It is made up of two sequences (red and green) that have 4 different repeating triplets (e.g. T1=ABC T2=DEF T3=GHI JKL) (2) Each sequence has the following constraints: (a) there cannot be repeating triplets (e.g. T1 T1), (b) there cannot be repeating triplet pairs (e.g. T1 T2 T1 T2) (3) Triplets occur with the following frequency: T1=20, T2=23, T3=26, T4=36 (same for red and green se...
2001 Aug 30
1
imagenrgb: Function to display RGB images in R
...t3d[,,3] <- round(rescale(mat3d[,,3],oldmin=mini[3],oldmax=maxi[2],newmax=ngris-1)) } #stretching #2. Generates z vectors from a (m,n,3) array. i1 <- rep(1:m,rep(n,m)) i2 <- rep(1:n,m) tripletes <-cbind(mat3d[cbind(i1,i2,1)],mat3d[cbind(i1,i2,2)],mat3d[cbind(i1,i2,3)]) #Note: triplets are ordered by rows #3. Generates RGB colors: tripletes <- tripletes/ngris cols <- rgb(tripletes[,1],tripletes[,2],tripletes[,3]) #Formats vector of color codes as (m,n) matrix: dim(cols) <- c(n,m) cols <- t(cols) #Generates vector of unique colors: cols.unicos <- uni...
2001 Dec 19
2
how to get unique vectors
First, happy holidays, everyone! Thanks to the R team for bringing out 1.4 before the new year. I have 10000 integer triplets stored in A[1:10000, 1:3]. I would like to find the unique triplets among the 10000 ones with possible duplications. What is the easiest way for this. I know the function unique(), which apply to a vector, not the 10000*3 array in my problem. Thanks in advance. Jason ===== Jason G. Liao, Ph.D....
2005 Feb 13
2
row equality.
I think that this is an easy one... I have a matrix where each row is an (x,y,z) triplet. Given a potential (xnew,ynew,znew) triplet I want to know if the matrix already contains a row with the new values (the space already has that point). I can do it using a for loop, but I would like to know if there is anyway in which I can do it without the for loop. I do it now like this (this
2010 Jul 07
0
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
On Jul 7, 2010, at 12:22 AM, 吴伟 wrote: > Hi all, > I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now? I don't think that LLVM supports mips64 yet... Bruno? -Chris > Thanks. >
2010 Jul 07
2
[LLVMdev] llvm-gcc : Did not get a target machine! Triplet is mips64el-unknown-linux-gnu
Hi all, I met this error(title) when i was trying to compile llvm-gcc-4.2-2.7 on loongson2f,a mips compatible platform.I also failed to build a cross-compiler and the error message was the same . Is that means llvm-gcc cannot support mips back-end now? Thanks. Here is my configure options: $export TARGET=mips64el-unknown-linux-gnu $../../src/llvm-gcc-4.2-2.7.source/configure
2013 Mar 28
2
[LLVMdev] [cfe-dev] Handling SRet on Windows x86
On Thu, Mar 28, 2013 at 1:46 PM, Anton Korobeynikov <asl at math.spbu.ru> wrote: >> Sounds fine to me. I just wanted some convenient and consistent naming. >> I think it conflicts a bit with the triples (-win32 currently means >> msvc I think), > Right. But this is again a historical (and LLVM-specific) artifact, > because I doubt anyone uses such triplet outside to
2005 May 31
4
On SSH
Hello, does anybody know how to achieve the following with SSH... a) accept RSA authentication for all but root from any IP b) accept RSA authentication for root from a couple IPs/Netmasks c) accept password authentication for all but root from a dozen Netmasks d) accept password authentication for root from 3 local netmasks only ie. make authentication depend on the
2006 Mar 02
1
extracting RGB values from a colorspace class object
...9; package, I have not been able to figure out how the plot() method converts colorspace coordinates to RGB values for display on the screen. I am convert between colorspaces with the various as() methods... but cannot seem to find a way to extract RGB (i.e. for displaying on a computer screen) triplets from color space coordinates. Here is a sample of the data that I am working with: H V C x y Y 2.5Y 0.2 2 1.43 0.97 0.237 2.5Y 0.4 2 0.729 0.588 0.467 2.5Y 0.6 2 0.563 0.491 0.699 2.5Y 0.6...
2013 Mar 28
0
[LLVMdev] [cfe-dev] Handling SRet on Windows x86
On Thu, Mar 28, 2013 at 1:49 PM, Eric Christopher <echristo at gmail.com>wrote: > On Thu, Mar 28, 2013 at 1:46 PM, Anton Korobeynikov <asl at math.spbu.ru> > wrote: > >> Sounds fine to me. I just wanted some convenient and consistent naming. > >> I think it conflicts a bit with the triples (-win32 currently means > >> msvc I think), > > Right.
2016 Jul 07
2
Red Neuronal complicada categorías
Estimados Les consulto por redes neuronales, hay diversos artículos como los siguientes (el último tienen un error actualmente). Pero mi pregunta va un poco por otro lado. http://www.r-bloggers.com/build-your-own-neural-network-classifier-in-r/ http://www.r-bloggers.com/classification-using-neural-net-in-r/ Básicamente se puede calcular un valor, por ejemplo doblar 2,4 grados a la derecha, luego 1
2006 Jul 09
1
package:Matrix handling of data with identical indices
In the Matrix package v. 0.995-11 I see that the dgTMatrix Class for compressed, sparse, triplet-form matrices handles Identically indexed data instances by summing their values, e.g., library(Matrix) (Mt <- new("dgTMatrix", i = as.integer(c(0,0,1,1,4)), j = as.integer(c(0,1,2,2,4)), x = as.double(1:5), Dim = as.integer(c(5,5)))) ## 5 x 5 sparse Matrix of class
2006 Jul 09
1
package:Matrix handling of data with identical indices
In the Matrix package v. 0.995-11 I see that the dgTMatrix Class for compressed, sparse, triplet-form matrices handles Identically indexed data instances by summing their values, e.g., library(Matrix) (Mt <- new("dgTMatrix", i = as.integer(c(0,0,1,1,4)), j = as.integer(c(0,1,2,2,4)), x = as.double(1:5), Dim = as.integer(c(5,5)))) ## 5 x 5 sparse Matrix of class
2012 Dec 18
1
Breaking out of multiple loops
Hey all, I'm currently working through the problems at Project Euler -- this question came up while working on Problem 9 (http://projecteuler.net/problem=9): "A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a^2 + b^2 = c^2. For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the
2007 Jul 02
1
[LLVMdev] suggestion: multiple results from function call.
Hello A suggestion to LLVM (assembly) language designers. It could be worthwhile to extend the LLVM language http://llvm.org/docs/LangRef.html#i_call so that calls may return more than one result (for example, Common lisp functions can return more than one result). The intent could be to extend the ABI calling conventions to permit a function to return a few results (all in registers), instead
2004 Oct 16
3
Cox PH Warning Message
Hi, Can anybody tell me what the message below means and how to overcome it. Thanks, Neil Warning message: X matrix deemed to be singular; variable 2 in: coxph(Surv(age_at_death, death) ~ project$pluralgp + project$yrborn + ......... >
2016 Jul 09
2
Red Neuronal complicada categorías
Hola, Esta es una forma de hacerlo... Mira que lo primero que he modificado es el fichero "x.csv" para sustituir los espacios en los nombres por "_". Y también he quitado los acentos y las eñes... He utilizado el paquete RNNS y la función "mlp()" para ajustar la red. #------------------------------------------- > x <- read.csv("x.csv",
2013 Apr 16
4
pv-grub will cause page fault if build with flag -fstack-protector
Hi, List, In checking the page fault problem when using pv-grub to start domU in opensuse12.3[1], found that the problem is caused by ''-fstack-protector'' flag which is introduced in rpm build: export EXTRA_CFLAGS_XEN_TOOLS="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_TRADITIONAL="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_XEN="$RPM_OPT_FLAGS" with