Displaying 20 results from an estimated 300 matches similar to: "speed of a vector operation question"
2014 Jun 04
4
opus_multistream_encode_float not working in libopus 1.1
On Wed, Jun 4, 2014 at 4:31 PM, Timothy B. Terriberry <tterribe at xiph.org> wrote:
> Alpha Thinktink wrote:
>> max_data_bytes=-11
>
> That value is passed in by you. I also don't think passing such a value
> would have worked in earlier releases. It indicates the size of the
> buffer you are passing to the encoder to receive the encoded output.
Actually, I'm
2003 May 16
2
Efficient subsetting
Hi, I'm facing this problem quite a lot, so it seems worthwhile
to check to see what the most efficient solution is.
I've two vectors x (values ordered) and y. I've ranges
x < x0, x0 <= x < x1, x1 <= x < x2, x2 <= x < x3, x > xn
and want to construct a subvector yprime of y which consists
of the first/last value of y whose x values are in the range.
For
2010 Feb 28
6
A slight trap in read.table/read.csv.
I had occasion recently to read in a one-line *.csv file that
looked like:
"CandidateName","NSN","Ethnicity","dob","gender"
"Smith, Mary Jane",111222333,"E","2/25/1989","F"
That "F" (for female) in the last field got transformed to
FALSE. Apparently read.csv (and hence read.table) are inferring
2012 Feb 15
0
[LLVMdev] Performance problems with FORTRAN allocatable arrays
Hi Wonsun, can you please provide a testcase.
Best wishes, Duncan.
> I've noticed that LLVM does a bad job of optimizing array indexing
> code for FORTRAN arrays declared using the ALLOCATABLE keyword.
>
> For example if you have something like the following:
>
> DOUBLE PRECISION,ALLOCATABLE,DIMENSION(:,:,:,:) :: QAV
> ...
> ALLOCATE( QAV(
2012 Feb 15
2
[LLVMdev] Performance problems with FORTRAN allocatable arrays
I've noticed that LLVM does a bad job of optimizing array indexing
code for FORTRAN arrays declared using the ALLOCATABLE keyword.
For example if you have something like the following:
DOUBLE PRECISION,ALLOCATABLE,DIMENSION(:,:,:,:) :: QAV
...
ALLOCATE( QAV( -2:IMAX+2,-2:JMAX+2,-2:KMAX+2,ND) )
...
DO L = 1, 5
DO K = K1, K2
DO J = J1, J2
DO I = I1, I2
II = I +
2002 Nov 19
1
fexact.c
Dear All,
I am using fexact.c on a C++ program I wrote. To minimize dependencies on
other files (e.g., to not need to include R.h and ctest.h ---now I only
include the R files Boolean.h, Constants.h, and Memory.h), I have re-written
all declarations of Sints as ints and, what is potentially more serious, I
have re-written the line (lines 329 and 330, in fexact.c on R-1.6.1)
/* IMAX is the
2010 Mar 09
2
speed
Hi,
I have found some example of R code :
http://commons.wikimedia.org/wiki/File:Mandelbrot_Creation_Animation_%28800x600%29.gif
When I run this code on my computer it takes few seconds.
I wanted to make similar program in Maxima CAS :
http://thread.gmane.org/gmane.comp.mathematics.maxima.general/29949/focus=29968
for example :
f(x,y,n) :=
block([i:0, c:x+y*%i,ER:4,iMax:n,z:0],
while
2010 Apr 13
2
[LLVMdev] darwin dragon-egg build issues
Hi Peter,
> Why not do this too?
I've applied this - thanks for the patch!
Ciao,
Duncan.
2012 Apr 09
2
Help with Book example of Matrix application
I found this example in an Introductory R book in the chapter on Matrices and
Arrays
The array is
> m
[,1] [,2] [,3] [,4] [,5]
[1,] 0 12 13 8 20
[2,] 12 0 15 28 88
[3,] 13 15 0 6 9
[4,] 8 28 6 0 33
[5,] 20 88 9 33 0
The code is
#returns the minimum value of d[i,j], i !=j and the row attaining
#the minimum, for square
2010 Apr 15
0
[LLVMdev] darwin dragon-egg build issues
Duncan,
Do a quick check here on x86_64-apple-darwin10
with svn llvm and svn dragon-egg against release gcc 4.5.0,
the results from the himenoBMTxpa benchmark compiled at -O3
look pretty good. With stock gcc-4.5.0, we get...
Grid-size = M
mimax = 128 mjmax = 128 mkmax = 256
imax = 127 jmax = 127 kmax =255
Start rehearsal measurement process.
Measure the performance in 3 times.
MFLOPS:
2003 Feb 26
7
XFS vs. ext3
(Sorry for cross-posting; I'm not on either ext3-users or
linux-xfs, but I thought both lists might find this interesting.
CC me with any replies or questions. Thanks.)
(The last four paragraphs contain the interesting bits.
Basically, XFS hath kick-ed the *ss of ext3 under conditions
that are, for our company, critical.)
Some listees might be interested in some testing I did the other
2001 May 29
2
Using "R" to find peaks in sampled data
This is probably a trivial question, but I did
not see it in the FAQs. Perhaps I simply need
to be pointed to some URLs.
In any case, I have some sampled data that has peaks,
and I would like to extract peak height, location, and
width, according to almost any statistical model.
Gaussian would seem to make the most sense.
There can also be "steps" increasing the amplitude
over a
2016 Jun 12
2
Patches for adding 120 ms encoding
Hi Felicia,
A few comments:
> - /* CELT can only support up to 20 ms */
> subframe_size = st->Fs/50;
> - nb_subframes = frame_size > st->Fs/25 ? 3 : 2;
> + nb_subframes = frame_size/subframe_size;
This will use six 20ms frames to make a 120ms packet, even for
SILK-only mode where frames can be up to 60ms. For SILK, two 60ms
frames would be a more
2010 Jan 11
1
K-means recluster data with given cluster centers
K-means recluster data with given cluster centers
Dear R user,
I have several large data sets. Over time additional new data sets will be created.
I want to cluster all the data in a similar/ identical way with the k-means algorithm.
With the first data set I will find my cluster centers and save the cluster centers to a file [1].
This first data set is huge, it is guarantied that cluster
2012 Aug 09
1
How to find data in a map according to coordinates?
Hello,
I have created a spatial map of temperature over an area thanks to
interpolation. So I have temperature data everywhere on my map.
My question is: how can I find temperature data on my map for a specific
location according to coordinates?
For this, I have a data frame containing 4 columns: "x" for longitude, "y"
for latitude, "z" for altitude" and
2016 Jun 27
2
Patches for adding 120 ms encoding
Attached is the amended second patch. It now extends the multistream API as
well to 80/100/120 ms and incorporates changes based on Mark's comments.
Thanks,
Felicia
On Mon, Jun 13, 2016 at 4:21 PM Felicia Lim <flim at google.com> wrote:
> Hi Mark, Jean-Marc,
>
> Thanks for your comments.
>
> On Sun, Jun 12, 2016 at 6:34 AM Mark Harris <mark.hsj at gmail.com>
2014 Apr 15
6
[PATCH 0/3] misc. cleanup
Hello,
some misc. cleanup patches for speexdsp, nothing big
I'm not sure about how to submit patches, so this is a test balloon :)
ultimately, I'd like to fix the FIXED_POINT issue, see
http://lists.xiph.org/pipermail/speex-dev/2013-December/008465.html
currently, I think the only way to find out how speexdsp has been compiled is
to resample some bytes and observe the output; which is
2005 Feb 27
1
Re: smb_proc_readX_data
/* Cc: samba list */
Vincent Marty wrote:
> Hi Ogi !
> Did you find a solution to the problem you described in a post in
> linux.samba in dec 2004 ?
> I get the same messages from Fedora Core 3 when accessing to a iMax
> under Mac Os 10.3.
Hi!
Since I started to use Debian kernel 2.6.10 (in unstable), the problem
disappeared. Fedora Core 3 uses 2.6.10 too so I don't know
2016 Jun 10
2
Patches for adding 120 ms encoding
Hi, I wondered if are there any further thoughts on these patches?
Thanks,
Felicia
On Thu, Jun 2, 2016 at 2:13 PM Felicia Lim <flim at google.com> wrote:
> OK, I've amended the second patch and also added 80 and 100 ms.
>
> Thanks,
> Felicia
>
>
> On Thu, Jun 2, 2016 at 7:20 AM Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
>
>> On 06/01/2016 02:06
2014 Jun 05
0
opus_multistream_encode_float not working in libopus 1.1
In debugging I saw:
opus_multistream_encoder.c
line 760
if(!vbr)
max_data_bytes = IMIN(max_data_bytes,
3*st->bitrate_bps/(3*8*Fs/frame_size));
max_data_bytes after this code becomes -2 where as before it was
10200. I suspect it was because st->bitrate_bps was set to -1000 to
indicate Auto bitrate. I imagine Max bitrate (-1) has a slightly
similar effect.
then in the same c file