search for: costant

Displaying 18 results from an estimated 18 matches for "costant".

Did you mean: constant
2009 Aug 04
0
Efficient coding
...(tsrValDmnd) <- sequence - 23*3600 #head(tsrValDmnd2) #sum(head(tsrValDmnd, 24)) tsrValSub <- cbind(tsrValDmnd, tsrValCount) tsrValSub <- na.omit(tsrValSub) head(tsrValSub) if(nrow(tsrValSub) > 1) { dif <- na.omit(tsrValSub[,-1] -lag(tsrValSub[,-1],1)) head(dif) costant <- is.costant(dif) if(any(costant == FALSE)) { a <- (dif != 0) *1:nrow(dif) a <- seriesPositions(dif[abs(a[a!=0]),]) from <- min(a) - ndays *24*60*60 to <- max(a) + ndays *24*60*60 tsrValSub <- window(tsrValSub, from, to) } else { if(nrow(tsrValSub...
2013 Jan 03
2
simulation
Dear R users, suppose we have a random walk such as: v_t+1 = v_t + e_t+1 where e_t is a normal IID noise pocess with mean = m and standard deviation = sd and v_t is the fundamental value of a stock. Now suppose I want a trading strategy to be: x_t+1 = c(v_t – p_t) where c is a costant. I know, from the paper where this equations come from (Farmer and Joshi, The price dynamics of common trading strategies, 2001) that the induced price dynamics is: r_t+1 = –a*r_t + a*e_t + theta_t+1 and p_t+1 = p_t +r_t+1 where r_t = p_t – p_t-1 , e_t = v_t – v_t-1 and a = c/lambda (lambda is...
2004 Jan 04
1
array problem
Dear all, I define , for n=5 or any integer greater than 0. A<-array((1/2)^n , c(rep(2,n))) then for any i not equal to j, and 1<=i,j<=n, B<-apply(a,c(i,j),sum) now B is a 2 by 2 matrix, I also define another costant 2 by 2 matrix G, How can I change the values of each elements of array A, according the rule that, for example, i=3,j=5, A[i1,i2,m,i4,l]<-A[i1,i2,m,i4,l]*G[m,l]/B[m,l] , where m,l=1,2 and i1,i2,i4=1,2 I can control this given any i and j, however, I must do the iteration for i in 1:(n-1)...
2005 Jul 26
1
[LLVMdev] How to partition registers into different RegisterClass?
2005/7/26, Chris Lattner <sabre at nondot.org>: > Tzu-Chien Chiu wrote: > > The same problem exists when there are two types of costant registers, > > floating point and integer, and each is declared 'packed' ([4xfloat] > > and [4xint]). The instruction selector doesn't know which instruction > > it should produce because the newly defined MVT type 'packed' is > > always used for all oper...
2005 Jul 25
2
[LLVMdev] How to partition registers into different RegisterClass?
...d', the first argument of RegisterClass<>), but not the 'RegisterClass'. With two 'packed' operands, the instruction selector doesn't know whether a ADDgg, ADDgi, or an ADDgc should be generated (BuildMI() function). The same problem exists when there are two types of costant registers, floating point and integer, and each is declared 'packed' ([4xfloat] and [4xint]). The instruction selector doesn't know which instruction it should produce because the newly defined MVT type 'packed' is always used for all operands (registers), even if it's acuta...
2005 Jul 26
0
[LLVMdev] How to partition registers into different RegisterClass?
...ng assigned to GPRs. The register allocator will attempt to coallesce the GPR into an output or input register if possible. To allow this coallescing to happen, implement the TargetInstrInfo::isMoveInstr virtual method for your target. > The same problem exists when there are two types of costant registers, > floating point and integer, and each is declared 'packed' ([4xfloat] > and [4xint]). The instruction selector doesn't know which instruction > it should produce because the newly defined MVT type 'packed' is > always used for all operands (registers), ev...
2016 Dec 30
5
SCCP is not always correct in presence of undef (+ proposed fix)
...eviews.llvm.org/D28177 Any comments/feedback/testing is definitely welcome. This is a self-contained change. #### (Possible) future work If this goes in I'd like to implement constant propagation for missing IR constructs (in particular vectors), and make sure SCCP is on par with the other two costant propagation passes we have in llvm (and maybe garbage collect them). Danny suggested an improvement could be that of propagating facts in both directions (GCC does that as a separate pass https://gcc.gnu.org/svn/gcc/trunk/gcc/gimple-ssa-backprop.c). I have no immediate plans to work on this (I susp...
2012 Feb 12
0
java binding
Hi all, I'm trying to use the libvirt event system in order to notify the VM status (VM boot, reboot, crash, etc.). I must use the java binding, so I exposed some calls not present in "Libvirt-java" jna interface: virEventRunDefaultImpl() virEventRegisterDefaultImpl() (and several costant). In my java source I tried to intercept the event, using the "Connection.domainEventRegisterAny( ... )" call , but the "answer" was: "this function is not supported by the connection driver: no event support". No errors issued on the virEventRunDefaultImpl and virEv...
2010 May 05
0
Pre Call for Papers (Pre-CFP)
...of the following formats: * Openoffice.org presentation * HTML standard * Postscript * PDF * Plaintext * LaTex ====== License ====== Specify a license that allows the event organizers and distribute material that can be downloaded from the BSDday website. Thanks in advance! Hern?n Costante
2016 Dec 31
0
SCCP is not always correct in presence of undef (+ proposed fix)
...mments/feedback/testing is definitely welcome. This is a > self-contained change. > > #### (Possible) future work > If this goes in I'd like to implement constant propagation for missing > IR constructs (in particular vectors), and make sure SCCP is on par > with the other two costant propagation passes we have in llvm (and > maybe garbage collect them). > Danny suggested an improvement could be that of propagating facts in > both directions (GCC does that as a separate pass > https://gcc.gnu.org/svn/gcc/trunk/gcc/gimple-ssa-backprop.c). I have > no immediate plan...
2016 Dec 31
0
SCCP is not always correct in presence of undef (+ proposed fix)
...mments/feedback/testing is definitely welcome. This is a > self-contained change. > > #### (Possible) future work > If this goes in I'd like to implement constant propagation for missing > IR constructs (in particular vectors), and make sure SCCP is on par > with the other two costant propagation passes we have in llvm (and > maybe garbage collect them). > Danny suggested an improvement could be that of propagating facts in > both directions (GCC does that as a separate pass > https://gcc.gnu.org/svn/gcc/trunk/gcc/gimple-ssa-backprop.c). I have > no immediate plan...
2000 Jun 13
2
Openssh-2.1.1p1 and solaris 7/8
Hello, I just installed the above openssh onto a Sun Solaris 7 and Solaris 8 system. No problem with that. However, I now seem to get some rubbish processed when I login with slogin. An example: Last login: Tue Jun 13 12:31:27 2000 from jhorne.csd.plymo:tJ` ^[[?1;2c Telnet logs in okay, but just shows 'Last login...jhorne.csd.plymo'. This seems to get passed to the shell, which it of
2002 Apr 29
1
I: Problem
...uery1 0 cv 1 query1 0 rw 0 query1 0 qw 0 query1 0 ww 1 The query1 is not related with all the nodes of the scattered matrix but only with someone. The third column gives me which node is related with query1. This is the most important column. The second column with all "0" is a vector of costant that is useless. The fourth column tells me if the node considered in the second column is relevant to the query or not and also this column is not important for my work. Now, considering the query1, I want to obtain a new scattered matrix where only the nodes related with query1 appears. Starting...
2005 Jul 23
0
[LLVMdev] How to partition registers into different RegisterClass?
On Sat, 23 Jul 2005, Tzu-Chien Chiu wrote: > 2005/7/23, Chris Lattner <sabre at nondot.org>: >> What does a 'read only' register mean? Is it a constant (e.g. returns >> 1.0)? Otherwise, how can it be a useful value? > > Yes, it's a constant register. > > Because the instruction cannot contain an immediate value, a constant > value may be stored in
2016 Dec 31
4
SCCP is not always correct in presence of undef (+ proposed fix)
...initely welcome. This is a > > self-contained change. > > > > #### (Possible) future work > > If this goes in I'd like to implement constant propagation for missing > > IR constructs (in particular vectors), and make sure SCCP is on par > > with the other two costant propagation passes we have in llvm (and > > maybe garbage collect them). > > Danny suggested an improvement could be that of propagating facts in > > both directions (GCC does that as a separate pass > > https://gcc.gnu.org/svn/gcc/trunk/gcc/gimple-ssa-backprop.c). I have &g...
2005 Jul 23
3
[LLVMdev] How to partition registers into different RegisterClass?
2005/7/23, Chris Lattner <sabre at nondot.org>: > > What does a 'read only' register mean? Is it a constant (e.g. returns > 1.0)? Otherwise, how can it be a useful value? Yes, it's a constant register. Because the instruction cannot contain an immediate value, a constant value may be stored in a constant register, and it's defined _before_ the program starts by
2016 Dec 31
0
SCCP is not always correct in presence of undef (+ proposed fix)
...a >> > self-contained change. >> > >> > #### (Possible) future work >> > If this goes in I'd like to implement constant propagation for missing >> > IR constructs (in particular vectors), and make sure SCCP is on par >> > with the other two costant propagation passes we have in llvm (and >> > maybe garbage collect them). >> > Danny suggested an improvement could be that of propagating facts in >> > both directions (GCC does that as a separate pass >> > https://gcc.gnu.org/svn/gcc/trunk/gcc/gimple-ssa-backpr...
2002 Apr 15
8
Problem
Hello! If I have a matrix as 1 2 2 3 and I want to change the value 2 in 0, what can I do? Thank you -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 !)