Displaying 8 results from an estimated 8 matches for "absdiff".
Did you mean:
bsdiff
2011 Sep 13
2
Selecting row indices from a data.frame by a factor and simple calculation (miniumum)
Hello
I wish to extract the row indices from a data.frame in which a column contains numeric data by calculating the minimum value, but grouped on another column factor:
An example data.frame:
Code absdiff
NY14/3070 2
NY14/3070 4
NY14/3070 1
NY14/5459 5
NY14/5459 7
So in this case the factor is Code and the numeric vector is absdiff
The query would return row indices 3 and 4 which have the minimum values for the factor.
I am sure it would involve some combina...
2012 May 09
2
ergm model, nodematch with diff=T
...run a model including sociality and
selective mixing effects for different groups, the model runs (and
converges) but I get a warning as follows:
mod <- ergm(network ~ edges + gwesp(0, fixed=T) + nodefactor("code") +
nodematch("code", diff=T)+ nodecov("vulnEVI") + absdiff("vulnEVI"))
Observed statistic(s) nodematch.code.5, nodematch.code.6, and
nodematch.code.8 are at their smallest attainable values. Their coefficients
will be fixed at -Inf.
The model nevertheless runs and converges and produces the following output:
==========================
Summary of...
2001 Feb 27
1
using fmod in C code to be loaded into R
..., everything will be Ok.
This works with rnorm, for example. What am I doing wrong here?
Sincerely, Faheem Mitha.
***************************************************************************
#include <R.h>
#include <Rinternals.h>
#include <Rmath.h>
double absdiff(double *array, Sint *narray, Sint *lag, double
*diffarray)
{
int i;
for(i=0; i < *narray - *lag; i++)
diffarray[i] = fmod(array[i + *lag] - array[i],1);
}
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.a...
2016 May 28
4
sum elements in the vector
Hi Rail,
Below 2 revisions might be of your interest which Detect SAD patterns and
emit psadbw instructions on X86.:
http://reviews.llvm.org/D14840
http://reviews.llvm.org/D14897
Intrinsics related to absdiff revisons :
http://reviews.llvm.org/D10867
http://reviews.llvm.org/D11678
Hope this helps.
Regards,
Suyog
On Sat, May 28, 2016 at 4:20 AM, Rail Shafigulin via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi Shahid.
>
> Do you mind providing a concrete example of X86 code where...
2016 May 30
0
sum elements in the vector
...M, suyog sarda <sardask01 at gmail.com> wrote:
> Hi Rail,
>
> Below 2 revisions might be of your interest which Detect SAD patterns and
> emit psadbw instructions on X86.:
>
> http://reviews.llvm.org/D14840
> http://reviews.llvm.org/D14897
>
> Intrinsics related to absdiff revisons :
>
> http://reviews.llvm.org/D10867
> http://reviews.llvm.org/D11678
>
> Hope this helps.
>
> Regards,
> Suyog
>
> On Sat, May 28, 2016 at 4:20 AM, Rail Shafigulin via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> Hi Shahid.
>>...
2016 May 27
0
sum elements in the vector
Hi Shahid.
Do you mind providing a concrete example of X86 code where an intrinsic was
added (preferrable with filenames and line numbers)? I'm having difficulty
tracking down the steps you provided.
Any help is appreciated.
On Mon, Apr 4, 2016 at 9:02 PM, Shahid, Asghar-ahmad <
Asghar-ahmad.Shahid at amd.com> wrote:
> Hi Rail,
>
>
>
> We had done this for generation
2020 Jun 05
0
Wine release 5.10
...get_width.
mshtml: Add IHTMLTableCell::height property implementation.
mshtml: Add IHTMLTableCell::width property implementation.
gdiplus/tests: Introduce compare_uint helper.
ieframe: Return S_FALSE in IWebBrowser2::get_Document when returning NULL.
gdiplus: Introduce absdiff helper.
quartz/tests: Fix -Wabsolute-value warnings.
jscript: Support ES5 Array.prototype.sort arguments handling.
jscript: Support context argument in Array.prototype.forEach.
jscript: Throw proper exception in RegExp.prototype.toString when called on non-RegExp object....
2016 Apr 04
7
sum elements in the vector
My target has an instruction that adds up all elements in the vector and
stores the result in a register. I'm trying to implement it in my compiler
but I'm not sure even where to start.
I did look at other targets, but they don't seem to have anything like it (
I could be wrong. My experience with LLVM is limited, so if I missed it,
I'd appreciate if someone could point it out ).