similar to: include statement problem

Displaying 20 results from an estimated 4000 matches similar to: "include statement problem"

2006 Sep 08
2
Multiple matrix multiplication with two 3-dimensional arrays
Hi, I need to do several matrix multiplications with the corresponding matrices forming two 3-dimentional arrays. To illustrate my problem, let's say I have the following 3-dimensional arrays: array1 <- array(1:30,dim=c(3,2,5)) array2 <- array(1:20,dim=c(2,2,5)) I know that I can get what I want with the following computation : result <- array(dim=c(dim(array1)[1],
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
2011 Jan 20
1
syntax for a list of components from a list
I'm attempting to generalise a function that reads individual list components, in this case they are matrices, and converts them into 3 dimensional array. I can input each matrix individually, but want to do it for about 1,000 of them ... This works array2 <- abind(list1[[1]],list1[[2]],list1[[3]],along=3) This doesn't array2 <- abind(list1[[1:3]],along=3) This doesn't either
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
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"
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
2013 Nov 11
0
[LLVMdev] Add a new llvm intrinsic?
Hi Jeff, It’s not really meaningful to talk about threads being created in the context of an OpenCL kernel. The other threads are always present. void kernel(int * restrict array, int * restrict array2) { int value = array[0] + get_thread_id() + 1; barrier(); array[get_thread_id()] = value; barrier(); array2[get_thread_id()] = array[0]; } In this example code, the kernel is well
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"),
2004 Oct 14
5
Photoshop "Disk Full" error, a linux filesystem NOT Samba issue
Hi all. Thought you would all be interested to know that i, like many others, am experiencing issues with Samba and Photoshop 7.0. The problem is specific to Photoshop 7.0 when saving files to a Samba share via a W2k/XP OS. Users experience a disk full error when saving from Photoshop but have no issues copying/moving etc files to/from the share outside of PS. Well, after some testing, the
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
2004 Dec 09
2
Reality Check -> Roaming Profiles
Disclaimer... I know Roaming Profiles are a modern day example of "the emperor?s new cloths". I also know that 2+2=4. Let's think Linux/Unix here a second. Preference files are stored in the user's home dir. A user can log in (text or X) multiple times, they will always get the same home dir. Thus each login instance will share those config files. The same just happens to be
2007 Aug 17
0
2 commits - libswfdec/swfdec_as_array.c test/trace
libswfdec/swfdec_as_array.c | 407 +++++++++++++++++++++++++----------------- test/trace/array2-5.swf |binary test/trace/array2-5.swf.trace | 38 +++ test/trace/array2-6.swf |binary test/trace/array2-6.swf.trace | 38 +++ test/trace/array2-7.swf |binary test/trace/array2-7.swf.trace | 38 +++ test/trace/array2.as | 77 +++++++ 8 files changed, 437
2007 Sep 04
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_video_movie_as.c test/trace
libswfdec/swfdec_as_array.c | 15 ++----- libswfdec/swfdec_video_movie_as.c | 10 +++-- test/trace/Makefile.am | 20 ++++++++++ test/trace/array-properties-5.swf |binary test/trace/array-properties-5.swf.trace | 42 ++++++++++++++++++++++ test/trace/array2-5.swf |binary
2007 Aug 17
0
Branch 'vivi' - 9 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c
libswfdec/swfdec_as_array.c | 407 ++++++++++++++++++++-------------- libswfdec/swfdec_as_function.c | 37 +-- libswfdec/swfdec_as_function.h | 4 libswfdec/swfdec_as_internal.h | 4 libswfdec/swfdec_as_interpret.c | 25 +- libswfdec/swfdec_as_native_function.c | 20 - libswfdec/swfdec_as_script_function.c | 23 +
2018 Nov 01
4
Fwd: RFC: Adding debug information to LLVM to support Fortran
*From:* flang-dev <flang-dev-bounces at lists.flang-compiler.org> *On Behalf Of *Eric Schweitz (PGI) *Sent:* Thursday, November 01, 2018 1:02 PM *To:* flang-dev at lists.flang-compiler.org *Subject:* [Flang-dev] RFC: Adding debug information to LLVM to support Fortran In order to support debugging in the Flang project, work has been done to extend LLVM debug information for the Fortran
2011 Nov 24
1
[LLVMdev] differences in IR and ELF?
I'm trying to create a GlobalVariable that is a ConstantArray. Id like each element to be a pointer to other things in the program(global variables, functions). So that they all have the same type Id like to make the elements void pointers. I think I am going about this wrong, heres how I am doing it: void writeArray(Module &M, GlobalVariable *shadow, Function *val,
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)) )) #------------------