search for: array2

Displaying 20 results from an estimated 50 matches for "array2".

Did you mean: array
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 inserti...
2007 Sep 04
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_video_movie_as.c test/trace
...| 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 test/trace/array2-5.swf.trace | 2 + test/trace/array2-6.swf |binary test/trace/array2-6.swf.trace | 2 + test/trace/array2-7.swf |binary test/trace/array2-7....
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_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 + libswfdec/swfdec_as_script_function.h | 3 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...
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] browseable = no writeable = Yes include = /etc/samba/%U path = /array2/samba/homes/%U force create mode...
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" "weight.trt0.trt1" "weight.trt0.trt2" "age.trt0.trt1" "age.t...
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 array_sum. I have been trying many di...
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], dim(array2)[2], dim(array1)[3])) for (i in 1: dim(array1)[3]) { result[,,i] <- array1[,,i]%*%array2[,,i] } My question is : Is there a more e...
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...
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 array2 <- abind((list1[[1]]:(list1[[3]]),along=3) Any thoughts how I can make this work for larger numbers? Thanks J =============================== Dr. Ji...
2014 May 22
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
...%array1 = type [2 x i32] %array2 = type [2 x %array1] ; Function Attrs: ssp uwtable define i32 @test2(%array2* %dm, i1 %tmp4, i64 %tmp9, i64 %tmp19)...
2006 Jun 16
0
a method to trim composite objects?
...= "list", my.array1 = "array"), prototype=prototype( my.list =list(), my.array1 =array(0,c(3,3,3)) )) #------------------ setClass("my.class2", representation( my.array2 = "array", my.array3 = "array"), prototype=prototype( my.array2 =array(0,c(3,3,3)), my.array3 =array(0,c(3,3,3)) )) #------------------ x <- new("my.class1") x at my.list[...
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 single value but I'm not convinced it is actually a correlation value...
2011 Sep 22
2
create variables through a loop
...obe_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 48 other array data from a list result.fun array2=result.fun[[1]] array3=result.fun[[2]] . . I want the following results: probe_name chr_id position array1 array2 array3 1 C-7SARK 1 849467 10 10 10 2 C-4WYLN 1 854278 10 10 10 3 C-3BFNY 1 854471 10 10 10 4 C-7ONNE...
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", (\@array1, \@array2)) print $tt; I got the messages: Can't locate package RFunctionReference for @RReferences::ISA at testR.pl line 4. Use of uninitialized value in print a...
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 synchronized; there are no data races on any elements of either array. However, the results will differ if we CS...
2007 Jan 03
2
accessing arrays
...lem? ...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"), c("small","big"),c("ARRAY2")) -- View this message in context: http://www.nabble.com/-R--accessing-arrays-tf2913929.html#a8142071 Sent from the R help mailing list archive at Nabble.com.
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 value 10 Here now!2) Arg type 3 Got a reference to a value 10 Here now!Ca...
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
libswfdec/swfdec_as_string.c | 31 +++--- libswfdec/swfdec_color_as.c | 9 - libswfdec/swfdec_interval.c | 2 test/image/.gitignore | 2 test/trace/Makefile.am | 27 +++++ test/trace/array2-8.swf |binary test/trace/array2-8.swf.trace | 40 ++++++++ test/trace/fromcharcode-other-5.swf |binary test/trace/fromcharcode-other-5.swf.trace | 124 ++++++++++++++++++++++++++ test/trace/fromcharcode-other-6.swf |binary test/trace/fr...
2014 May 23
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
...br label %bb3 > > bb3: ; preds = %bb2, %bb1 > %phi = phi %struct1* [ %tmp10, %bb1 ], [ %tmp20, %bb2 ] > %tmp24 = getelementptr inbounds %struct1* %phi, i64 0, i32 1 > > %tmp25 = load i32* %tmp24, align 4 > ret i32 %tmp25 > } > > > %array1 = type [2 x i32] > %array2 = type [2 x %array1] > > ; Function Attrs: ssp uwtable > define i32 @test2(%array2* %dm, i1 %tmp4, i64 %tmp9, i64 %tmp19) { > bb: > br i1 %tmp4, label %bb1, label %bb2 > bb1: ; preds = %bb5 > %tmp10 = getelementptr inbounds %array2* %dm, i64 %tmp9, i32 0 > br label %bb3 &gt...