search for: cond21

Displaying 11 results from an estimated 11 matches for "cond21".

Did you mean: cond2
2024 Aug 09
3
If loop
...> cat (v) > #2 > > On Fri, 9 Aug 2024, 09:03 Steven Yen, <styen at ntu.edu.tw> wrote: > > > Thanks. Hmm. The loop is doing what it is supposed to do. > > > > > try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE, > > + cond12=FALSE,cond21=FALSE){ > > + # *************************************************** > > + # Testing if loop > > + # *************************************************** > > + if(joint12){ > > + {print ("joint12"); cat(joint12,"\n")} > > + {print ("mar...
2024 Aug 09
1
If loop
Thanks. Hmm. The loop is doing what it is supposed to do. > try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE, +??????????????? cond12=FALSE,cond21=FALSE){ + # *************************************************** + # Testing if loop + # *************************************************** + if(joint12){ +?? {print ("joint12"); cat(joint12,"\n")} +?? {print ("marg1"); cat(marg1,"\n")} + } else if (marg1) {...
2024 Aug 09
2
If loop
...lt;- function() { v <<- v+1 } funC() cat (v) #2 On Fri, 9 Aug 2024, 09:03 Steven Yen, <styen at ntu.edu.tw> wrote: > Thanks. Hmm. The loop is doing what it is supposed to do. > > > try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE, > + cond12=FALSE,cond21=FALSE){ > + # *************************************************** > + # Testing if loop > + # *************************************************** > + if(joint12){ > + {print ("joint12"); cat(joint12,"\n")} > + {print ("marg1"); cat(marg1,"\n&...
2024 Aug 09
1
If loop
...2) } if (marg1) { print("marg 1") cat(marg1) } Would probably be my diagnostic approach On Fri, 9 Aug 2024, 04:45 Steven Yen, <styen at ntu.edu.tw> wrote: > Can someone help me with the if loop below? In the subroutine, I > initialize all of (joint12,marg1,marg2,cond12,cond21) as FALSE, and call > with only one of them being TRUE: > > ,...,joint12=FALSE,marg1=FALSE,marg2=FALSE,cond12=FALSE,cond21=FALSE,,,, > > joint12 seems to always kick in, even though I call with, e.g., marg1 > being TRUE and everything else being FALSE. My attempts with if... else...
2024 Aug 09
3
If loop
Can someone help me with the if loop below? In the subroutine, I initialize all of (joint12,marg1,marg2,cond12,cond21) as FALSE, and call with only one of them being TRUE: ,...,joint12=FALSE,marg1=FALSE,marg2=FALSE,cond12=FALSE,cond21=FALSE,,,, joint12 seems to always kick in, even though I call with, e.g., marg1 being TRUE and everything else being FALSE. My attempts with if... else if were not useful. Pleas...
2024 Aug 09
1
If loop
...abels<-c(labels,lab.p2) ? } else if(cond12){ ??? labels<-c(labels,lab.pc12) ? } else { ??? labels<-c(labels,lab.pc21) ? } On 8/9/2024 11:44 AM, Steven Yen wrote: > Can someone help me with the if loop below? In the subroutine, I > initialize all of (joint12,marg1,marg2,cond12,cond21) as FALSE, and > call with only one of them being TRUE: > > ,...,joint12=FALSE,marg1=FALSE,marg2=FALSE,cond12=FALSE,cond21=FALSE,,,, > > joint12 seems to always kick in, even though I call with, e.g., marg1 > being TRUE and everything else being FALSE. My attempts with if... &g...
2011 Jul 17
0
[LLVMdev] Trying to optimize out store/load pair
...i32 0, i32 6 %bVal = getelementptr inbounds %struct.AKEKernelContext* %.compoundliteral, i32 0, i32 7 %threadID = getelementptr inbounds %struct.AKEKernelContext* %.compoundliteral, i32 0, i32 8 %.idx.i = getelementptr %struct.AKEKernelContext* %.compoundliteral, i64 0, i32 7 br label %for.cond21.preheader for.cond21.preheader: ; preds = %for.inc152, %entry %indvar10 = phi i64 [ %indvar.next11, %for.inc152 ], [ 0, %entry ] %tmp20 = mul i64 %indvar10, 3840 %tmp2227 = or i64 %tmp20, 1 %tmp2428 = or i64 %tmp20, 2 %tmp26 = trunc i64 %indvar10 to i32 br l...
2011 Jul 17
0
[LLVMdev] Trying to optimize out store/load pair
...ral, i32 0, i32 6 %bVal = getelementptr inbounds %struct.AKEKernelContext* %.compoundliteral, i32 0, i32 7 %threadID = getelementptr inbounds %struct.AKEKernelContext* %.compoundliteral, i32 0, i32 8 %.idx.i = getelementptr %struct.AKEKernelContext* %.compoundliteral, i64 0, i32 7 br label %for.cond21.preheader for.cond21.preheader: ; preds = %for.inc152, %entry %indvar10 = phi i64 [ %indvar.next11, %for.inc152 ], [ 0, %entry ] %tmp20 = mul i64 %indvar10, 3840 %tmp2227 = or i64 %tmp20, 1 %tmp2428 = or i64 %tmp20, 2 %tmp26 = trunc i64 %indvar10 to i32 br label %...
2024 Aug 11
1
Printing
...(Last update: 08.11.24)", ??? "\ny1.level=",???? y1.level, ??? "? y2.level=",???? y2.level, ??? "\njoint12 =",???? joint12, ??? "\nmarg1 =",?????? marg1, ??? "\nmarg2 =",?????? marg2, ??? "\ncond12 =",????? cond12, ??? "\ncond21 =",????? cond21, ??? "\nCovariance matrix:",vb.method, ??? "\nWeighted =",??????? weighted, ??? "\nAt means =",??????? mean, ??? "\nProb x 100 =",????? times100, ??? "\ntesting ="????? ,?? testing, ??? "\nuse_bb_and_vbb = ",use_...
2024 Aug 11
1
Printing
...; ??? "\ny1.level=",???? y1.level, > ??? "? y2.level=",???? y2.level, > ??? "\njoint12 =",???? joint12, > ??? "\nmarg1 =",?????? marg1, > ??? "\nmarg2 =",?????? marg2, > ??? "\ncond12 =",????? cond12, > ??? "\ncond21 =",????? cond21, > ??? "\nCovariance matrix:",vb.method, > ??? "\nWeighted =",??????? weighted, > ??? "\nAt means =",??????? mean, > ??? "\nProb x 100 =",????? times100, > ??? "\ntesting ="????? ,?? testing, > ??? "...
2024 Aug 11
3
Printing
...",???? y1.level, >> ???? "? y2.level=",???? y2.level, >> ???? "\njoint12 =",???? joint12, >> ???? "\nmarg1 =",?????? marg1, >> ???? "\nmarg2 =",?????? marg2, >> ???? "\ncond12 =",????? cond12, >> ???? "\ncond21 =",????? cond21, >> ???? "\nCovariance matrix:",vb.method, >> ???? "\nWeighted =",??????? weighted, >> ???? "\nAt means =",??????? mean, >> ???? "\nProb x 100 =",????? times100, >> ???? "\ntesting ="????? ,?? testi...