Displaying 7 results from an estimated 7 matches for "amt1".
Did you mean:
amt
2007 Jan 25
3
Sum multiple columns individually
Can you sum a few columns at a time?
I tried
x =Calc.find(:all, :select => "sum(amt1) amt1, sum(amt2) amt2"
:conditions => ["where date > ?", date] )
The sql seems to function properly, but I wasn''t able to grab the
values. These just failed
x.amt1
x.send("amt1")
I tried changing up the query to use
sum(amt1) as amt1
sum(amt1) ''...
2017 Sep 15
2
Changes to 'ADJCALLSTACK*' and 'callseq_*' between LLVM v4.0 and v5.0
...lue, SDNPOutGlue,
SDNPVariadic]>;
def MYret : SDNode<"MYISD::RET_FLAG", SDTNone,
[SDNPHasChain, SDNPOptInGlue,
SDNPVariadic]>;
let hasCtrlDep = 1, hasSideEffects = 1 in {
def ADJCALLSTACKDOWN : Pseudo<(outs), (ins i32imm:$amt1, i32imm:$amt2),
[(MYCallseqStart timm:$amt1,
timm:$amt2)]>;
def ADJCALLSTACKUP : Pseudo<(outs), (ins i32imm:$amt1, i32imm:$amt2),
[(MYCallseqEnd timm:$amt1, timm:$amt2)]>;
}
def: Pat<(MYret), (JMP_Ret (i32 LR...
2017 Sep 15
0
Changes to 'ADJCALLSTACK*' and 'callseq_*' between LLVM v4.0 and v5.0
...c]>;
> def MYret : SDNode<"MYISD::RET_FLAG", SDTNone,
> [SDNPHasChain, SDNPOptInGlue,
> SDNPVariadic]>;
>
> let hasCtrlDep = 1, hasSideEffects = 1 in {
> def ADJCALLSTACKDOWN : Pseudo<(outs), (ins i32imm:$amt1, i32imm:$amt2),
> [(MYCallseqStart timm:$amt1,
> timm:$amt2)]>;
> def ADJCALLSTACKUP : Pseudo<(outs), (ins i32imm:$amt1, i32imm:$amt2),
> [(MYCallseqEnd timm:$amt1, timm:$amt2)]>;
> }
>
> def...
2017 Sep 19
1
Changes to 'ADJCALLSTACK*' and 'callseq_*' between LLVM v4.0 and v5.0
...",
SDTNone,
[SDNPHasChain, SDNPOptInGlue, SDNPVariadic]>;
let hasCtrlDep = 1,
hasSideEffects = 1,
isCodeGenOnly = 1,
Defs = [SP],
Uses = [SP] in {
def ADJCALLSTACKDOWN : Pseudo<(outs),
(ins i32imm:$amt1, i32imm:$amt2),
[(MyCallseqStart timm:$amt1, timm:$amt2)]>;
def ADJCALLSTACKUP : Pseudo<(outs),
(ins i32imm:$amt1, i32imm:$amt2),
[(MyCallseqEnd timm:$amt1, timm:$amt2)]>;
}
def Custom_CALL...
2013 Oct 17
1
Reshape
...ot;02/01/2013","12/01/2012","12/01/2012")
df <- data.frame(Person,Amount,Date)
I would like to transpose the Amount data so that I can get the total amount paid by person and date.
So, it would look something like:
##Want it to look like:
Person Date Amt1 Amt2
1 12/01/2012 100 10
1 01/01/2013 100 10
1 02/01/2013 100 10
2 12/01/2012 50 150
I have been working with reshape, but I am having trouble getting it to look exactly right.
Thank you,
K
2002 Apr 30
3
Labeling matrix data
Hello all -
I am sorry if this simple question is addressed in somewhere else. But, I couldn't find it. It's been for about a week using R. . .
My problem is:
Reading matrix data with "scan" does not seem to allow me to incorporate matrix labels (columns, and rows).
If I use read.table, I can import the lables. But, the problem is, I don't know how I make this data as
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...,
>> "if (!$src1.new) $dst=memw($src2+#$src3)",
>> []>;
>>
>> // Deallocate stack frame.
>> let Defs = [R29, R30, R31], Uses = [R29], neverHasSideEffects = 1 in {
>> - def DEALLOCFRAME : LDInst<(outs), (ins i32imm:$amt1),
>> + def DEALLOCFRAME : LDInst2<(outs), (ins i32imm:$amt1),
>> "deallocframe",
>> []>;
>> }
>> @@ -1741,8 +1741,8 @@ def STrid_indexed : STInst<(outs),
>> [(store DoubleRegs:$src3...