Displaying 20 results from an estimated 10000 matches similar to: "matrix not working"
2010 May 29
3
[LLVMdev] Vectorized LLVM IR
Le 29 mai 2010 à 01:08, Bill Wendling a écrit :
> Hi Stéphane,
>
> The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some short examples of where LLVM doesn't do as well as the equivalent scalar code?
>
> -bw
>
> On May 28, 2010, at 12:13 PM, Stéphane Letz wrote:
We are actually testing LLVM for the Faust language
2010 May 29
0
[LLVMdev] Vectorized LLVM IR
On Sat, May 29, 2010 at 12:42 AM, Stéphane Letz <letz at grame.fr> wrote:
>
> Le 29 mai 2010 à 01:08, Bill Wendling a écrit :
>
>> Hi Stéphane,
>>
>> The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some short examples of where LLVM doesn't do as well as the equivalent scalar code?
>>
>> -bw
>>
2011 Apr 28
1
Subscript out of Bounds
I currently have this code:
for(j in 2:n){
for(i in 1:(j-1)){
# Make sure the inputs are for the matrix "m"
input1=rownames(m)[i]
input2=colnames(m)[j]
q=t[(t$Rec1==input1 & t$Rec2==input2),output]
if(length(q)==0){
q=t[(t$Rec1==input2 & t$Rec2==input1),output]
}
m[i,j]=mean(q)
m[j,i]=mean(q)
m[j,j]=mean(q)
}}
I already created a
2006 Oct 06
1
transactions not work for array?
Hi,
I have a transaction block as follow:
begin
Hello.transaction(input1,input2)
input1.save
for i in 0 to count
input2[i].input1_id = input1.id
input2[i].save
end
end
rescue
end
I have used validates_uniqueness_of for input2 in the model
The problem is, when there is duplicate record in input2, input1 and the
first record in input2
2010 May 29
1
[LLVMdev] Vectorized LLVM IR
On Sat, May 29, 2010 at 1:18 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Sat, May 29, 2010 at 12:42 AM, Stéphane Letz <letz at grame.fr> wrote:
>>
>> Le 29 mai 2010 à 01:08, Bill Wendling a écrit :
>>
>>> Hi Stéphane,
>>>
>>> The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some
2005 Mar 05
1
vector memory allocation?
Hi all,
I have a vector size allocation problem with R 2.0.1 (script and output
shown):
> var1 <- sum (input1 * input2, na = TRUE)
> gc()
used (Mb) gc trigger (Mb)
Ncells 199327 5.4 785113 21.0
Vcells 71039552 542.0 206003790 1571.7
> var2 <- sum (input1 * input2 / input2, na = TRUE)
Error: cannot allocate vector of size 524288 Kb
input1 and
2007 Jun 05
2
.activate() behaviour
Hi all,
I''m trying to understand why the following code doesnt work...
----------------------------------------------------------------------------------------
<html>
<head>
<title>blabla</title>
<script type="text/javascript" src="prototype.js"></script>
</head>
<body>
<form action="bllalba">
2000 Nov 02
1
Pl. provide and Input for var.test (PR#716)
I want to use var.test function of ctest library. I was able to generate the
output from R on the input given by rnorm. But when I store the same data set
provided by rnorm into a file, and then read a file into a dataframe, then on
using the dataframe as a parameter to var.test function - it gives an error
"not enough x observations".
I'll explain the above mentioned problem of
2010 Feb 10
4
Readjusting the OUTPUT csv file
Dear R helpers
I have some variables say ABC, DEF, PQR, LMN and XYZ. I am choosing any three varaibles at random at a time for my analysis and name these files as input1.csv, input2.csv and input3.csv. So if I choose variables say ABC, DEF and PQR, I am passing the specifications of these variables to input1.csv, input2.csv and input3.csv respectively.
This means in another case even if I
2011 Jul 05
1
Executing a function several time, how to save the output
Hi all,
I try to exceute a function "myfun" that should use as input "input1.csv"
and "input2.csv" .
Then I try to save the output dat33 on a csv file (on per each time I
execute input1..input 2 and so on). So my problem is how to finally obtain
several csv file with "ggt1.csv", "ggt2.csv".
The program creates ggt1.csv but
BUT when runs
2010 May 28
0
[LLVMdev] Vectorized LLVM IR
Hi Stéphane,
The SSE support is the LLVM backend is fine. What is the code that's generated? Do you have some short examples of where LLVM doesn't do as well as the equivalent scalar code?
-bw
On May 28, 2010, at 12:13 PM, Stéphane Letz wrote:
> Hi,
>
> We are experimenting directly generating vectorized LLVM IR (using <8 x float> kind of types), then compiling the code
2007 Feb 25
3
Macros in R
Dear members,
I have started to work with R recently and there is one thing which I could
not solve so far. I don't know how to define macros in R. The problem at
hand is the following: I want R to go through a list of 1:54 and create the
matrices input1, input2, input3 up to input54. I have tried the following:
for ( i in 1:54) {
input[i] = matrix(nrow = 1, ncol = 107)
2010 May 28
3
[LLVMdev] Vectorized LLVM IR
Hi,
We are experimenting directly generating vectorized LLVM IR (using <8 x float> kind of types), then compiling the code to SSE on a 64 bits machine. Right now the equivalent code in scalar mode sill outperform the SSE one.
What is the quality of the SSE support in X86 LLVL backend? Are they any specific things to be aware of to improve the speed?
Thanks
Stéphane Letz
2000 Nov 14
3
2 plots 1 figure
How do you obtain two plots on the same figure?
for example
plot(rnorm(100)
plot(rnorm(100),type="l")
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2013 Mar 11
0
[LLVMdev] How to unroll reduction loop with caching accumulator on register?
I tried to manually assign each of 3 arrays a unique TBAA node. But it does
not seem to help: alias analysis still considers arrays as may-alias, which
most likely prevents the desired optimization. Below is the sample code
with TBAA metadata inserted. Could you please suggest what might be wrong
with it?
Many thanks,
- D.
marcusmae at M17xR4:~/forge/llvm$ opt -time-passes -enable-tbaa -tbaa
2008 Mar 07
3
Error
Hello!
I need some help, because I don't know how this error means: Error:
variables ?Output1?, ?Output2?, ?Output3?, ?Output4?, ?Output5? were
specified with different types from the fit
Execution halted
Can you help me?
Thank You
2008 Jan 25
2
How can I join two lists?
How can I join two lists? I have q1 and q2 and I want to merge them. I
have tried to use the comand merge, but not work. Any solutions? Thanks!
> q1
$Input1
7.84615384615385
0.5
$Input2
8.92307692307692
-3.2
$Input3
4.53846153846154
-5
> q2
$Input1
7.84615384615385
2
$Input2
8.92307692307692
-0.3125
$Input3
2000 Nov 02
0
Pl. provide and Input for var.test (PR#719)
I want to use var.test function of ctest library. I was able to generate the
output from R on the input given by rnorm. But when I store the same data set
provided by rnorm into a file, and then read a file into a dataframe, then on
using the dataframe as a parameter to var.test function - it gives an error
"not enough x observations".
I'll explain the above mentioned problem of
2000 Nov 02
0
Pl. provide and Input for var.test (PR#718)
I want to use var.test function of ctest library. I was able to generate the
output from R on the input given by rnorm. But when I store the same data set
provided by rnorm into a file, and then read a file into a dataframe, then on
using the dataframe as a parameter to var.test function - it gives an error
"not enough x observations".
I'll explain the above mentioned problem of
2000 Nov 02
0
Pl. provide and Input for var.test (PR#720)
I want to use var.test function of ctest library. I was able to generate the
output from R on the input given by rnorm. But when I store the same data set
provided by rnorm into a file, and then read a file into a dataframe, then on
using the dataframe as a parameter to var.test function - it gives an error
"not enough x observations".
I'll explain the above mentioned problem of