Displaying 9 results from an estimated 9 matches for "splitvalue".
2004 Aug 12
4
truly object oriented programming in R
...fPoints==1) {
diameter = 0.;
for(int j=0; j<d; j++) center[j] = points[0][j];
left = null;
right = null;
}
else {
int middlePoint =
sortedIndices[split_dim][numOfPoints/2];
double splitValue = points[middlePoint][split_dim];
middlePoint =
sortedIndices[split_dim][numOfPoints/2-1];
double splitValue_small =
points[middlePoint][split_dim];
int left_size = numOfPoints/2;
int right_size = numOfPoints - left_size;...
2009 Aug 22
2
[LLVMdev] PR4174
...Execute || isa<PHINode> is probably best.
>>
>> Another two "hacks" are needed: for BranchInst and for IntrinsicInst.
>>
>> Patch attached.
>
> IntrinsicInst isn't necessarily safe...
Without IntrinsicInst we break test/Transforms/LoopIndexSplit/
SplitValue-2007-08-24-dbg.ll.
-Jakub
2009 Aug 22
2
[LLVMdev] PR4174
...;hacks" are needed: for BranchInst and for
>>>> IntrinsicInst.
>>>>
>>>> Patch attached.
>>>
>>> IntrinsicInst isn't necessarily safe...
>>
>>
>> Without IntrinsicInst we break
>> test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll.
>
> Checking for isa<DbgInfoIntrinsic> is safe.
Ah, right :) Thanks for your help. I hope that everything is OK now.
New patch attached.
-Jakub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr4174-3.patch
Type: application/octe...
2009 Aug 22
0
[LLVMdev] PR4174
...y best.
>>>
>>> Another two "hacks" are needed: for BranchInst and for IntrinsicInst.
>>>
>>> Patch attached.
>>
>> IntrinsicInst isn't necessarily safe...
>
>
> Without IntrinsicInst we break
> test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll.
Checking for isa<DbgInfoIntrinsic> is safe.
-Eli
2009 Aug 22
0
[LLVMdev] PR4174
...are needed: for BranchInst and for IntrinsicInst.
>>>>>
>>>>> Patch attached.
>>>>
>>>> IntrinsicInst isn't necessarily safe...
>>>
>>>
>>> Without IntrinsicInst we break
>>> test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll.
>>
>> Checking for isa<DbgInfoIntrinsic> is safe.
>
> Ah, right :) Thanks for your help. I hope that everything is OK now.
>
> New patch attached.
Looks fine, I think. I should probably consider some changes to
isSafeToSpeculativelyExecute, though....
2011 Dec 02
3
find and replace string
Dear all,
I would like to search in a string for the second occurrence of a symbol and replace the symbol after it
For example my strings look like
sta_+1+0_field2ndtry_0000$01.cfg
I want to find the digit that comes after the second +, in that case is zero
and then over a loop create the strings below
sta_+1+0_field2ndtry_0000$01.cfg
sta_+1+1_field2ndtry_0000$01.cfg
2009 Aug 22
0
[LLVMdev] PR4174
On Fri, Aug 21, 2009 at 4:53 PM, Jakub Staszak<kuba at gcc.gnu.org> wrote:
>
> On Aug 21, 2009, at 8:46 PM, Eli Friedman wrote:
>
>> On Fri, Aug 21, 2009 at 3:29 PM, Jakub Staszak<kuba at gcc.gnu.org> wrote:
>>>
>>> On Aug 21, 2009, at 7:31 PM, Eli Friedman wrote:
>>>
>>>> On Fri, Aug 21, 2009 at 2:06 PM, Jakub Staszak<kuba at
2004 Aug 12
9
Giving a first good impression of R to Social Scientists
Dear all,
in the coming Winter Semester, I will be a teaching assistant for a course
in Survival Analysis. My job will be to do the lab sessions. The software
used for these lab sessions will be R. Most of the students have a
background in social sciences and the only stats package they used so far is
most likely SPSS.
So I assume they might be quite surprised the first time they see R
2009 Aug 21
1
[LLVMdev] PR4174
On Aug 21, 2009, at 8:46 PM, Eli Friedman wrote:
> On Fri, Aug 21, 2009 at 3:29 PM, Jakub Staszak<kuba at gcc.gnu.org>
> wrote:
>>
>> On Aug 21, 2009, at 7:31 PM, Eli Friedman wrote:
>>
>>> On Fri, Aug 21, 2009 at 2:06 PM, Jakub Staszak<kuba at gcc.gnu.org>
>>> wrote:
>>>>
>>>> Hello,
>>>>