Displaying 18 results from an estimated 18 matches for "arithmat".
Did you mean:
arithmatic
2008 Dec 05
2
adding rows as arithmatic calculation on original rows
Dear R users,
Suppose I have the following data.frame:
myID myType myNum1 myNum2 myNum3
a Single 10 11 12
b Single 15 25 35
c Double 22 33 44
d Double 4 6 8
and I want to have new records:
myID myType myNum1 myNum2 myNum3
e Single 12.5 18
2004 Sep 10
2
Blocking and compression.
...;focus" of what flac
is meant to be, so I thought I'd discuss them first. Keep in mind that I
just subscribed to this list, so if these have already been gone over,
just slap me with a tuna :)
I believe the reason flac is behind some of the closed source encoders
is two fold: Blocking and arithmatic encoding.
Blocking: If the data set is local (not streaming) and we have the
opportunity to make a coupla passes on the data, its possible to
determine non fixed block sizes that fit orders of prediction closely.
I'm sure this is no surprise to all of you. Actually coming up with a
algo to d...
2010 Jun 16
1
Decoding raw vectors every other byte
...++++++++++
fl<-file.choose()
fb<-file.info(fl)$size
fc<-file(fl)
open(fc,open='rb')
seek(fc,where=offset)
dat<-readBin(fc,'raw',n=(fb-offset),size=1,signed=FALSE)
close(fc)
++++++++++++++++++
The decoding performs a combination of a simple bitwise operator and a
simple arithmatic operator on every other byte in the raw vector dat.
I can code this using a for loop (incrementing the loop counter by 2 every
pass) but would rather use vectorized operations for reasons of speed. I
can create a function with a for loop and vectorize that function but is
there perhaps an easier...
2003 Jun 02
1
(no subject)
hi!
I wanna do some arithmatic operations (addition and substraction -integer
operation) inside extensions.conf. Is there a simple way to do this. If I do
yy = ${xx} + 1 // say "xx" is initialized to '0'
the resulting "yy" will show
"0 + 1"
Obiviously not the result I ne...
2004 Sep 10
0
Blocking and compression.
...e encoding process as
> its
> a lightweight operation (assuming i/o operations are moderately
> fast).
Miroslav did some experiments with searching for optimum blocksize.
from what I remember it made at best a couple percent difference.
there was a thread about it here a while back.
> Arithmatic encoding. Rice's granularity for encoding is 1 bit.
> (obviously) However there are techniques out there to encode
> fractions
> of bits. Well, you can only encode down to the granularity of 1 bit,
> but
> by doing a bit of magic, you get the net effect of being able to
> re...
2001 Sep 07
3
State space modelling
Hi, I'm new to R and am trying to implement a state-space model, and do some
simulations looking at how well it works. Does anyone have an example I
could use as a template? I'm having trouble working out where to start, and
haven't been able to find anything similar in the help files or on the web.
My example is a surplus production fisheries model, so something similar to
that
1999 Dec 16
4
ANNOUNCE: openssh-1.2.1pre18
...nnection closed by x.x.x.x": fatal() -> log()
- Correctly handle empty passwords in shadow file. Patch from:
"Chris, the Young One" <cky at pobox.com>
- Released 1.2.1pre18
19991215
- Integrated patchs from Juergen Keil <jk at tools.de>
- Avoid void* pointer arithmatic
- Use LDFLAGS correctly
- Fix SIGIO error in scp
- Simplify status line printing in scp
- Added better test for inline functions compiler support from
Darren_Hall at progressive.com
19991214
- OpenBSD CVS Changes
- [canohost.c]
fix get_remote_port() and friends for sshd -...
2003 Jul 07
1
Shorewall 1.4.6 Beta 2
...[root@wookie root]#
[root@wookie root]# shorewall ipcalc 192.168.1.0 255.255.255.0
CIDR=192.168.1.0/24
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
[root@wookie root]#
Warning:
If your shell only supports 32-bit signed arithmatic (ash or
dash), then the ipcalc command produces incorrect information for
IP addresses 128.0.0.0-1 and for /1 networks. Bash should produce
correct information for all valid IP addresses.
3) An ''iprange'' command has been added to /sbin/shorewall.
ipran...
2011 Feb 02
0
How column names/row names are preserved in matrix calculation?
...3284073
mat13 0.7665543 -2.6496778 1.8774045 1.45703219 0.9533289
mat14 0.7245671 4.5147054 -1.3445549 0.02866729 -5.3999956
mat15 -0.2173109 -0.1053570 0.3000135 2.88350373 -0.2541405
Can somebody finalize me what is the **rule** for preserving column names
and row names for matrix arithmatics?
Thanks,
[[alternative HTML version deleted]]
2002 Apr 02
1
ext3 fs unable to stat
Hi,
I am running RH 7.2 (professional release 2.4 kernel) I have a ext3 file
system which stores large oracle "dump files" over 4GB. We write to it via
NFS which is working great, the problem is when we issue a file
largefile.dmp from the linux box it fails on anything over 4GB stating that
can't stat 'largefile.dmp' (value too large for defined data type). We can
do
2013 Sep 14
2
the problem of buying and selling
I own a lot to the folks on r-help list, especially arun who answered every
of my question and was never wrong. I am disinclined to once again ask this
question, since it is more arithmatic than technical. But, having worked 2
days on it, I realized my brain is just not juicy enough....
Here is the problem.
Trust not for freedom to the Franks---
They have a king who buys and sells.
- Lord Byron: The Isles of Greece
Suppose the French King commands you to buy and sell, an...
2008 Jan 24
3
Alternating numbers in rep()
All,
I'm trying to obtain a one-liner to generate a certain sequence of
alternatign numbers.
Consider:
> unlist(rep(list(c(1,2), c(3,4)), each = 6))
[1] 1 2 1 2 1 2 1 2 1 2 1 2 3 4 3 4 3 4 3 4 3 4 3 4
I'd like the result to be as above but continue until 38. Of course, I
could hardcode this going up to c(37,38), but is there a more elegant way?
Thanks!
David
2016 Aug 24
6
[Bug 2608] New: Signed overflow in openbsd-compat/strlcpy.c
...Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at mindrot.org
Reporter: yuanjie.huang at windriver.com
Created attachment 2866
--> https://bugzilla.mindrot.org/attachment.cgi?id=2866&action=edit
test driver of strlcpy to demo the bug.
Pointer arithmatic results in implementation defined signed integer
type, so that 's - src' in strlcpy and others may trigger signed
overflow.
When the code is compiled by gcc or clang with -ftrapv option, the
overflow would lead to program abort.
$ gcc test.c strlcpy.c...
2012 Mar 02
1
seeing feedback when R CMD check pkg runs unit tests.
good day here,
I'm maintaining a couple of R modules, both on r-forge.
tests for these modules are written making use of unit testing, and I
make use of the svUnit module, part of SciViews-R.
I also make use of examples in the .Rd files.
my question regards 'R CMD check pkg'.
if an _example_ is not run correctly, I get clear feedback on the
command line where I run 'R CMD
2003 Jul 21
0
Shorewall 1.4.6
...[root@wookie root]#
[root@wookie root]# shorewall ipcalc 192.168.1.0 255.255.255.0
CIDR=192.168.1.0/24
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
[root@wookie root]#
Warning:
If your shell only supports 32-bit signed arithmatic (ash or
dash), then the ipcalc command produces incorrect information for
IP addresses 128.0.0.0-1 and for /1 networks. Bash should produce
correct information for all valid IP addresses.
9) An ''iprange'' command has been added to /sbin/shorewall.
ipran...
2006 Sep 02
15
service restart failures
Puppet is failing to restart lighttpd using the Debian init script.
Both the default action of stop/start and using the reload action, which
basically does the same thing, fail.
It seems to be a filehandle problem. Changing the execute method
in service.rb to redirect stdout to /dev/null allows the daemon to
restart. Otherwise, I end up with a zombie process and according to
strace, ruby
2007 Apr 30
17
Managing packages which require a reboot
Hi,
I''m working on a method to manage packages which require a reboot after
being installed. I''m curious how other people are handling this problem.
Consider the resource:
pkg_deploy { "MacOSXUpdCombo10.4.9Intel.dmg": alias => macosx1049 }
I''d like to only install the package under if the following conditions
are met:
- No user is logged into the
2007 Feb 06
31
Removing circular dependant RPM files with Package.
Hello,
I just attempted to remove both the ypbind and the yp-tools packages using the package parameter with yum. As it turns out, both of these packages depend on each other.
Is there a way of forcing package removal and, if there is not, is there a way of making all packages to be removed be collapsed into the same yum command? Either of these solutions would solve the problem with the