Displaying 20 results from an estimated 2000 matches similar to: "Nonlinear optimization with constraints"
2008 Jan 16
3
Pause on graphics
My R script needs to pause or wait for a key or mouse on each graph. I used the following statement after each plot
par(ask=TRUE)
This works on Windows but not on MacOS.
Is there any way to pause on graph in MacOS?
Thanks,
Vu
[[alternative HTML version deleted]]
2016 Dec 31
2
Automatic Insertion of OpenACC/OpenMP directives
Dear Mehdi,
I've changed your example a little bit:
float saxpy(float a, float *x, float *y, int n) {
int j = 0;
for (int i = 0; i < n; ++i) {
y[j] = a*x[i] + y[I]; // Change 'I' into 'j'?
++j;
}
}
I get this code below, once I replace 'I' with 'j'. We are copying n
positions of both arrays, 'x' and 'y':
float saxpy(float a,
2016 Dec 31
0
Automatic Insertion of OpenACC/OpenMP directives
Hi,
> On Dec 31, 2016, at 8:33 AM, Fernando Magno Quintao Pereira via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Dear LLVMers,
>
> we have released a tool that uses LLVM to insert OpenACC or OpenMP
> 4.0 directives in programs. You can use the tool online here:
> http://cuda.dcc.ufmg.br/dawn/. Our tool, dawn-cc, analyzes the LLVM IR
> to infer the sizes of
2017 Jan 03
2
Automatic Insertion of OpenACC/OpenMP directives
> On Jan 3, 2017, at 7:17 AM, Jonathan Roelofs <jonathan at codesourcery.com> wrote:
>
>
>
> On 12/31/16 12:37 PM, Fernando Magno Quintao Pereira via llvm-dev wrote:
>> Dear Mehdi,
>>
>> I've changed your example a little bit:
>>
>> float saxpy(float a, float *x, float *y, int n) {
>> int j = 0;
>> for (int i = 0; i < n;
2016 Dec 31
3
Automatic Insertion of OpenACC/OpenMP directives
Dear LLVMers,
we have released a tool that uses LLVM to insert OpenACC or OpenMP
4.0 directives in programs. You can use the tool online here:
http://cuda.dcc.ufmg.br/dawn/. Our tool, dawn-cc, analyzes the LLVM IR
to infer the sizes of memory chunks, and to find dependences within
loops. After that, we use debug information to translate the low-level
information back into annotations that we
2012 Sep 12
2
[LLVMdev] [PATCH][Review request] tablegen: extend list fields
The attached patch adds a construct that enables extending the base class'
lists rather than completely overwriting them.
The patch hasn't gone through extensive testing yet (other than running
make check).
The lists can be extended either with a "+=" operator in a let statement or
placing a '"+" in front of a superclass:
- Example 1:
def D0 : C1 {
let
2012 Sep 12
0
[LLVMdev] [llvm-commits] [PATCH][Review request] tablegen: extend list fields
If you are changing the syntax, please update the BNF in the comments.
--Sean Silva
On Wed, Sep 12, 2012 at 6:16 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> The attached patch adds a construct that enables extending the base class'
> lists rather than completely overwriting them.
> The patch hasn't gone through extensive testing yet (other than running make
>
2012 Sep 14
1
[LLVMdev] [llvm-commits] [PATCH][Review request] tablegen: extend list fields
Please take a look at the attached patch.
I updated the BNF and added comments in the code.
On Wed, Sep 12, 2012 at 4:58 PM, Sean Silva <silvas at purdue.edu> wrote:
> If you are changing the syntax, please update the BNF in the comments.
>
> --Sean Silva
>
> On Wed, Sep 12, 2012 at 6:16 PM, Akira Hatanaka <ahatanak at gmail.com>
> wrote:
> > The attached
2010 Mar 22
1
SQL-select using native R methods ?
Hi
I have a problem in R that I have been trying to solve but without
success.
I am trying to join two tables on two variables : an ID and a date
(optional) that will be common between the two tables
In SQL (and SAS PROC SQL) I am a frequent user of the "select" command and
I am used to the following nomenclature :
select a.*, b.c, b.y, b.z from table1 a, table2 b where
2011 Aug 01
3
CentOS 6 driver support
Hello all,
This is the laptop I own:
HP Pavilion dv6t Quad Edition
Spec: Intel Core i7-2630QM 2.0GHz, 6GB RAM, 750GB HDD, VGA ATI Radeon HD
6490M
You can also check the spec here:
http://www.amazon.com/HP-Pavilion-dv6t-dv6tqe-Laptop/dp/B00506B7DS/ref=sr_1_3?s=electronics&ie=UTF8&qid=1312164145&sr=1-3
I am going to install CentOS 6 to it but I want to make sure that which
drivers
2011 Jul 17
2
Upgrade from CentOS 5.4 to 5.6 -> 6.0
Hi all,
I am running 5.4
After running
sudo yum clean all
sudo yum update
We got it upgraded to 5.6
cat /etc/redhat-release
CentOS release 5.6 (Final)
So, how can I get it my CentOS from 5.6 to 6.0?
[vuhung at -08 ~]$ sudo yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.vietoss.com
* extras: mirror.vietoss.com
* updates: mirror.vietoss.com
2003 Apr 02
1
Can boot return matrix?
Dear All,
I have a function which takes a n x m matrix as an argument and returns
an n x n matrix. I want to take bootstrap samples form the input matrix in
the way as each row represent a multivariate observation, so each
bootstrap sample would be an n x m matrix, and on each sample I want to
calculate the n x n matrix.
This task can be done with the sample function, but I would like to use
2006 Jan 30
5
File management!
Hi, I''m new to ROR. I was wondering how to:
1. Check if the file is being read/downloaded/....
2. Rename files
If you can help or point out any document that I need to read to
accomplish this, please do. Thanks a lot.
--
Posted via http://www.ruby-forum.com/.
2015 Apr 17
1
Asterisk 11 SRTP: unsupported crypto parameters: UNENCRYPTED_SRTCP
Hi All,
I have Asterisk 11 talking to Avaya over SIP trunk using TLS and SRTP.
On incoming calls from Avaya asterisk complains of 'unsupported crypto
parameters: UNENCRYPTED_SRTCP' and rejects the call with '488 Not
acceptable here'
Doesn't Asterisk support UNENCRYPTED_SRTCP as crypto parameters in sdp?
FYI SDP looks like this.
v=0
o=- 1429194215 1 IN IP4 XX.XX.XX.XX
s=-
2011 Jul 21
2
tripwire alternative
Hello all,
Years ago, I used to work with tripwire for system monitoring.
Last time I checked with "yum search tripwire", there is no hit.
IIRC, it used to be packed by default on older Redhat distros.
Any suggestion for an alternative of tripwire for my CentOS 5.6?
Cheers,
--
**********************************************************************
Viet Nhat General Joint Stock
2008 Sep 17
1
Exact test in nxm contingency table
Hello,
I am trying to find a permutation test that works on a general nxm table. The data set is small enough to have cells with too small counts to make chi2-approximation invalid. If the table was a 2x2 contingency table I would like to use a Fsher exact test (fisher.test) but that wont work in this general table.
Does there exist a general function for this test.
Best regards,
Magnus
2001 May 19
2
calculations on diagonals of a matrix
Given an nxm matrix A I want to compute the nxm matrix B whose ij-th
element is the sum of the elements of A lying on the diagonal that ends
with element ij, i.e.,
b_ij = a_ij + a_(i-1)(j-1) + a_(i-2)(j-2) + ...
In APL (which I no longer use), I would use the 'rotate' operator to derive
an array whose columns are diagonals of the given array and then cumulate
down columns. Is
2006 Feb 02
2
Can Ruby do this?
It may sound very simple:
1. When a user request some file, the program should authorize him
2. Then we send the file location to the browser/download manager so it
can begin to download. (something equilvalent to PHP header ("Location:
XXX")
3. Do something else before we stop the script.
The hardest part is the 3rd one, when we send back the header the script
will stopp too. I was
2003 Nov 03
3
A matrix is full rank is equal to having independent columns?
Dear R listers,
Just a simple question.
If we say an nxm matrix (n>m) is full rank of m,
does this mean that this matrix has linearly independent columns?
They are the same definition or needs some proof?
Thanks for your answer.
Fred
[[alternative HTML version deleted]]
2005 Sep 01
6
png scaling problem
scaling<-4
xywidth<-480
resolution<-150
png(filename = "c:/r/anschluss/plots/4.png", width = xywidth*scaling,
height = xywidth*scaling,pointsize = 12, bg = "white", res =
resolution*scaling)
......
barplot(xrow,col = barcolors,cex.axis=scaling, ylab="mean time till attachment in sec",cex.lab=1.2*scaling)
I tried to scale the barplot but there is one