Displaying 20 results from an estimated 800 matches similar to: "Multiple matrix multiplication with two 3-dimensional arrays"
2007 Aug 18
1
doubt about string comparison
I have two large arrays of strings array1 with 180000 names and array2 with 24000 names ,I want to find the common names in both of them.
My arrays are for example
Array1 Array2
GAP4
HIST1B-histamine....
MFG12 SNRPD-signal induced...
CFH1A
2013 Aug 29
10
Concatenate two arrays
Hello again ruby community!
I just learned how to add two arrays(I know, i know).
My program looked like this
array1=[1,2,3]
array2=[4,5,6]
array_sum=array1+array2
I thought pretty simple stuff, they are combined. However, now i am
looking to define that code as a method and I do not understand how to
create the correct number of arguments, so when the method is called
back it gives me my
2014 May 22
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
On May 22, 2014, at 3:51 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Thu, May 22, 2014 at 4:42 PM, Louis Gerbarg <lgg at apple.com> wrote:
> The problem that the above transform is technically illegal because “When indexing into a (optionally packed) structure, only i32 integer constants are allowed (when using a vector of indices they must all be the same
2008 Mar 27
1
Nothing happened when I using t.test throuth RSPerl
Hi,
I've just started using RSPerl. Though also tests in directory "/usr/local/lib/R/library/RSPerl/tests/" are passed successfully, I meet the problem with the following codes;
use strict;
use warnings;
use R;
use RReferences;
my @array1=1..10;
my @array2=1..39;
&R::initR("--silent");
&R::library("RSPerl");
my $tt=&R::call("t.test",
2011 Sep 22
2
create variables through a loop
HI, Dear R community,
I am trying to created new variables and put into a data frame through a
loop.
My original data set:
head(first)
probe_name chr_id position array1
1 C-7SARK 1 849467 10
2 C-4WYLN 1 854278 10
3 C-3BFNY 1 854471 10
4 C-7ONNE 1 874460 10
5 C-6HYCN 1 874571 10
6 C-7SCGC 1 874609 10
I have
2010 Aug 31
4
pasting together 2 character arrays
If possible I would like to combine two different character arrays in combinations
Array1 <- c("height","weight","age","sex")
Array2 <- c("trt0","trt1","trt2")
I would like to combine these two character vectors to end up with such ...
Array3
"height.trt0.trt1"
"height.trt0.trt2"
2005 Jun 14
1
t.test using RSPerl
Hi,
I've just started using R and RSPerl. I have some code as follows:
&R::initR("--no-save");
&R::call("t.test", (\@array1, \@array2));
where @array1 and @array2 are both 1-dimensional arrays in Perl having 54675 elements each. On execution the output is as follows:
Calling R function name `t.test', # arguments: 3
1) Arg type 3
Got a reference to a
2007 Jan 03
2
accessing arrays
hi all. how can i adress a array directly. for example i wanna give array 1
other labels than array 2. How can I overcome this problem?
...this doesn't work
tab <- array(1:8, c(2, 2, 2))
dimnames(tab[,,1]) <- list(c("No","Yes"), c("No","Yes"),c("ARRAY1"))
dimnames(tab[,,2]) <- list(c("big","small"),
2011 Aug 22
1
select columns array2 not equal to 10
Dear R community,
I have a data set like the following:
probe_name chr_id position array1 array2 array3 array4 array5 array6
array7
1 C-3AAAA 10 16566949 10 10 10 10 10 10
10
2 C-3AAAB 17 33478940 10 10 10 10 10 10
10
3 C-3AAAC 3 187369224 10 10 2 10 10 1 10
4 C-3AAAD 8 28375041 10
2018 Jan 26
1
RFC: Using link-time optimization to eliminate retpolines
Hi,
Sean Silva via llvm-dev wrote:
> Wouldn't a branch funnel open the door to a type 1 attack?
Only if the code looks exactly as you wrote it. If I understand this
correctly the problem with indirect branches is that the "gadget", the
code leaking the data, could be *anywhere* in the binary, giving the
attacker much more freedom. So restricting these calls to one of the
2006 Jun 16
0
a method to trim composite objects?
dear R users,
please, consider the following code you may run:
setClass("my.class1",
representation(
my.list = "list",
my.array1 = "array"),
prototype=prototype(
my.list =list(),
my.array1 =array(0,c(3,3,3))
))
#------------------
2007 Jan 10
2
correlation value and map
Dear R-help community,
I have 2 different arrays of precipitation data each of the same dimensions of
[longitude, latitude, time] dim=[30,32,43], called array1 and array2. I need to
correlate them. This is the code I used to get one overall correlation value for
the whole of the area of interest:
> result <- cor(array1,array2,use="complete.obs")
> result
This give me a
2014 May 23
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
----- Original Message -----
> From: "Chandler Carruth" <chandlerc at google.com>
> To: "Louis Gerbarg" <lgg at apple.com>
> Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Sent: Thursday, May 22, 2014 7:09:49 PM
> Subject: Re: [LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
>
>
>
>
>
2018 Jan 26
0
RFC: Using link-time optimization to eliminate retpolines
Wouldn't a branch funnel open the door to a type 1 attack?
E.g. if the code looks like this, then a branch funnel basically turns into
a standard type 1 pattern AFAICT:
struct Base {
virtual int f(long) = 0;
};
struct A : Base {
int f(long x) override {
return 0;
};
};
struct B : Base {
int f(long x) override {
// As in listing 1 in
2009 Jul 15
0
Fwd: DLLs
Thanks for your help with this problem about dynamic linked libraries.
I thought I had it solved, but apparently not.
Below is a small piece of Pascal code that I compile into a library.
When I load the library using dyn.load R becomes very unstable.
The Mac GUI crashes in all kinds of situations --even moving a window
can sometimes crash it.
Running from the command line (I thought the
2003 Dec 31
1
modify permissions fail on new file server.
Hello,
I'm using winbindd with samba 3.0.1. Everything starts up as expected
and tests return the expected results (wbinfo and getent). Files
created via windows clients are create with the proper ownership and
group membership. When I attempt to modify the permissions via the
windows security tab (add another group, change ownership for example)
I'll get a win pop up saying
2006 Jul 26
1
Calling another method in the same controller
Hi, probably this is realy simple, but for some reason i don''t see it.
probably i still don''t think object orriented :)
lets say i have a piece of code which generates an array based on a few
inputs.
within a controller i want to use this code to generate three arrays,
all based on different input variables how do i do that?
can i call another method within a method? if so,
2012 May 17
2
glm convergence warning
Hi,
When I run the following code :
Y <- c(rep(0,35),1,2,0,6,8,16,43)
cst <- log(choose(42, 42:1))
beta <- 42:1
tau <- (beta^2)/2
fit <- glm(formula = Y ~ offset(cst) + beta + tau, family = poisson)
fit
fit$converged
glm prints a warning saying that the algorithm did not converge.
However, fit$converged takes the value TRUE.
I don't understand why fit$converged is not
2014 May 22
4
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
Recently I posted a patch to migrate certain GEPs between basic blocks in cases where doing so would improve the ability of instcombine to merge into more complicated addressing mode (r209049 and r209065). After some build to failures it was rolled back. I now have a patch that no longer causes the regressions I was seeing, but it also no longer can optimize the case I was trying to optimize. As
2004 Dec 09
2
include statement problem
hi all...
i have a little problem with an include statement in my smb.conf.
what i want to achieve is to allow the "administrator" user access to
"read/write/browse" to all the users home drives under "/array2/samba/homes"
can anyone see why even after the include file was added, the
administrator user is not able to browse /array2/samba/homes/* ?
[homes]