search for: rnum

Displaying 16 results from an estimated 16 matches for "rnum".

Did you mean: num
2016 Jun 17
5
ARM NEON optimization -- celt_fir()
Hi all, This is Linfeng Zhang from Google. I'll work on ARM NEON optimization in the next few months. I'm submitting 2 patches in the following couple of emails, which have the new created celt_fir_neon(). I revised celt_fir_c() to not pass in argument "mem" in Patch 1. If there are concerns to this change, please let me know. Many thanks to your comments. Linfeng Zhang
2007 Dec 16
2
question about the aggregate function with respect to order of levels of grouping elements
...s an example that shows what I mean. Does anyone know if this is just the way the aggregate function works, or are there ways to force aggregate() to keep the order of levels of factors supplied by the grouping elements? Thanks! library(chron) dts=seq.dates("1/1/01","12/31/03") rnum=rnorm(1:length(dts)) df=data.frame(date=dts,obs=rnum) agg=aggregate(df[,2],list(year=years(df[,1]),month=months(df[,1])),sum) levels(agg$month) # aggregate() automatically generates levels sorted by alphabet. [1] "Apr" "Aug" "Dec" "Feb" "Jan" &quot...
2016 Jul 14
0
[PATCH 2/5] Optimize fixed-point celt_fir_c() for ARM NEON
...defined(FIXED_POINT) + +void celt_fir_neon( + const opus_val16 *_x, + const opus_val16 *num, + opus_val16 *y, + int N, + int ord, + int arch) +{ + int i,j; + const int leftover = N & 7; + const opus_val16 *x = _x-ord; + VARDECL(opus_val16, rnum); + SAVE_STACK; + /* Extend rnum by 3 zeros to handle the case that (ord % 4) is non-zero. */ + ALLOC(rnum, ord+3, opus_val16); + for (i=0;i<ord-3;i+=4) + vst1_s16(rnum+i, vrev64_s16(vld1_s16(num+ord-i-4))); + for (;i<ord;i++) + rnum[i] = num[ord-i-1]; + rnum[ord] = rnum...
2006 Jan 29
2
problem with xul/prototype experiment: "bind" method not found
Hi everyone, I was playing around with xul + prototype, and everything seemed to be going well until I ran into a wall - there seems to be some problem I can''t explain with Function.prototype.bind, for instance when I run this code: try { new Ajax.Request("http://localhost:3000/search/hello", { onComplete: this.onHelloComplete.bind(this) }); } catch
2016 Jul 14
6
Several patches of ARM NEON optimization
I rebased my previous 3 patches to the current master with minor changes. Patches 1 to 3 replace all my previous submitted patches. Patches 4 and 5 are new. Thanks, Linfeng Zhang
2011 Apr 19
2
Simple question
...,7,9" and string3 might be "7". My bigger problem is that I probably am not handling the data.frame object properly. In other words, I might be so bass-ackward that I'm doomed to fail without handling the original read-in properly. A sample of my .csv file looks like this: Rnum,Cnum,Pnums 1,1,"1,6,7,23,29,31,34,40,45" 1,2,"4,9,22,26,30,38,44,46,47" 1,3,"2,48" 1,4,"3,16,19,41" 1,5,"8,11,12,17,25" ) Thanks, Steven Wolf [[alternative HTML version deleted]]
2007 Jan 08
8
word wrap ?
Hi, I have long lines of text stored in a DB without line breaks. Now I need to present it in fixed width with word wrap. I tried everything css (word-wrap: break-word;), the rails actionview helper (word_wrap), specifying width of the div etc. But nothing works. The reason I''m asking the question here because to me word_wrap was created to solve this exact problem but it is failing to
2009 Feb 16
24
como consultar en oracle
holaa todos ante todo un cordial saludo alguien que me pueda ayudar. se plantea lo siguiente necesito mostrar 2 campos de una tabla los cuales son mtin_mtin,mtin_descri de una tabla llamada re_tmtinv de esos dos campos se necesita obtener el codigo y la descripcion,y luego ser mostrado para despues ser agregados a un formulario. el problema que tengo es que ya tengo la vista pero esta en blanco
2012 Sep 12
6
How to append the random no.s for different variables in the same data.frame
Dear R helpers, (At the outset I sincerely apologize if I have not put forward my following query properly, though I have tried to do so.) Following is a curtailed part of my R - code where I am trying to generate say 100 random no.s for each of the products under consideration. library(plyr) n = 100 my_code = function(product, output_avg, output_stdev)     { BUR_mc = rnorm(n, output_avg,
2005 Oct 25
1
winbind or netsamlogon_cache.tdb issue
...have a idea of what could have generated this situation ? By the way, in my context could it be a solution to clear from time to time the netsamlogon_cache.tdb file (i've seen in a previous post http://groups.google.fr/group/linux.samba/tree/browse_frm/thread/43aea39f2f999fc7/7cd4c058dd74836f?rnum=1&hl=fr&q=netsamlogon_cache.tdb+&_done=%2Fgroup%2Flinux.samba%2Fbrowse_frm%2Fthread%2F43aea39f2f999fc7%2F7cd4c058dd74836f%3Ftvc%3D1%26q%3Dnetsamlogon_cache.tdb+%26hl%3Dfr%26#doc_103cdda4881a95a7 that removing this file could be a temporary solution before update of samba > In techn...
2007 Aug 02
3
Problems with Element.extend() on responseXML elements with IE
I have the following code in the "onSuccess" function of an Ajax.Request() call. The content type of the response message is "text/ xml". function interactionSuccess(request) { var root = $(request.responseXML.documentElement); ... So more or less I extend the root element of my XML response. This call triggers the onException callback. The exception is a
2007 Sep 09
4
Images larger than 40k uploaded with attachment_fu won't display
...the file system to see if that works or not. There is another thread about a bug in ActionPack that might be related, but I wondered if anyone else has run into this problem with attachment_fu? http://groups.google.ca/group/rubyonrails-talk/tree/browse_frm/thread/22d4c7cab7a0d181/a8cce55cd6a19b8e?rnum=1&q=truncating&_done=%2Fgroup%2Frubyonrails-talk%2Fbrowse_frm%2Fthread%2F22d4c7cab7a0d181%2Fa8cce55cd6a19b8e%3Flnk%3Dgst%26q%3Dtruncating%26rnum%3D1%26#doc_a8cce55cd6a19b8e Thanks! -Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subsc...
2007 Apr 18
33
LZO compression?
Hi, I don''t know if this has been discussed before, but have you thought about adding LZO compression to ZFS? One zfs-fuse user has provided a patch which implements LZO compression, and he claims better compression ratios *and* better speed than lzjb. The miniLZO library is licensed under the GPL, but the author specifically says that other licenses are available by request. Has this
2010 Mar 22
7
How to reference a select_tag within a form
Hi All, Inside my app\views\expenses\new.html.erb file, I had the code: <% form_for(@expense) do |f| %> [snip] <p> <%= f.label :vendor %><br /> <%= f.text_field :vendor %> <br /> <div id="vendor_droplist> <%= select_tag "test", options_for_select(@current_vendors.collect { |v| v.nickname }), {:multiple
2005 Oct 02
11
Repeated attacks via SSH
Everyone: We're starting to see a rash of password guessing attacks via SSH on all of our exposed BSD servers which are running an SSH daemon. They're coming from multiple addresses, which makes us suspect that they're being carried out by a network of "bots" rather than a single attacker. But wait... there's more. The interesting thing about these attacks is that
2007 Jul 22
18
db:fixtures:load order
I was trying to deal with foreign key issues related to order of fixture loading when I came across this: http://techpolesen.blogspot.com/2007/04/rails-fixture-tips.html This got me looking deeper into rails and I noticed that db:fixtures:load calls Fixtures.create_fixtures once for each fixture file. However, Fixtures.create_fixtures is capable of taking multiple files and also handle the