search for: modulus

Displaying 20 results from an estimated 262 matches for "modulus".

Did you mean: modules
2006 Jan 30
4
Integer bit size and the modulus operator
I am a statistician and I come up to an interesting problem in cryptography. I would like to use R since there are some statistical procedures that I need to use. However, I run into a problem when using the modulus operator %%. I am using R 2.2.1 and when I calculate modulus for large numbers (that I need with my problem) R gives me warnings. For instance if one does: a=1:40; 8^a %% 41 one obtains zeros which is not possible since 8 to any power is not a multiple of 41. In addition when working with number...
2001 Apr 28
2
Modulus operator??
I'm trying to do a modulus operator in R-1.2.2 on Windows -- specific version: R : Copyright 2001, The R Development Core Team Version 1.2.2 Patched (2001-03-22) Here's what the R language manual says: "R contains a number of operators. They are listed in the table below. [snip] % Modulus, binary" Here...
2008 Nov 03
1
How to calculate modulus of complex number
suppose I have following complex number : a = -0.0475983+0.5364486i This number I got as an eigen value of a matrix. Now I would like to calculate the Modulus of this complex number. Is there any function for doing that? Regards, -- View this message in context: http://www.nabble.com/How-to-calculate-modulus-of-complex-number-tp20308154p20308154.html Sent from the R help mailing list archive at Nabble.com.
2006 Nov 22
3
odd behaviour of %%?
Dear R Helpers, I am trying to extract the modulus from divisions by a sequence of fractions. I noticed that %% seems to behave inconsistently (to my untutored eye), thus: > 0.1%%0.1 [1] 0 > 0.2%%0.1 [1] 0 > 0.3%%0.1 [1] 0.1 > 0.4%%0.1 [1] 0 > 0.5%%0.1 [1] 0.1 > 0.6%%0.1 [1] 0.1 > 0.7%%0.1 [1] 0.1 > 0.8%%0.1 [1] 0 > 0.9%...
2003 May 19
4
modulus operator?
Is there a modulus operator in R? Anna
2011 Nov 03
2
[PATCH 4 of 5] virtio: avoid modulus operation
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted in vring_new_virtqueue()). Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> --- drivers/virtio/virtio_ring.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c --- a/arch/x86/lgue...
2011 Nov 03
2
[PATCH 4 of 5] virtio: avoid modulus operation
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted in vring_new_virtqueue()). Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> --- drivers/virtio/virtio_ring.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c --- a/arch/x86/lgue...
2003 May 19
0
FW: modulus operator?
try "%%" as the modulus operator and "%/%" for integer division eg 5%%2 equals 1 John Marsland > > -----Original Message----- > > From: Anna H. Pryor [mailto:anna at ptolemy.arc.nasa.gov] > > Sent: 19 May 2003 16:56 > > To: R Help > > Subject: [R] modulus operator? > >...
2004 Dec 08
2
Modulus Problem
R users, I am having a problem with the modulus operator for large numbers as follows, a <- 2 n <- 561 ## n is the first Carmichael number, so by Fermat's Little Theorem the below should equal zero. (a^(n-1) - 1) %% n [1] 2.193172e+152 ## Seems that R and Fermat disagree ## Also, 1000000000000000000 %% 11 [1] -32 This seems like a...
2000 Jul 06
1
factorial(), modulus()
Dear R friends, I was wondering if there were factorial and modulus functions out there that I've somehow overlooked? -P. -- Peter L. Hurd, Ph.D. phurd at uts.cc.utexas.edu http://www.zo.utexas.edu/research/phurd fax 512.471-3878 Section of Integrative Biology, University of Texas, Austin TX 78712 USA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2001 Apr 28
1
modulus operator gets syntax error (PR#925)
Full_Name: M. Edward Borasky Version: 1.2.2 OS: both Windows 2000 and Red Hat Linux 7.1 Submission from: (NULL) (208.130.245.188) According to the R language manual, "%" is the modulus operator. However, on both Windows and Linux, I get a syntax error when I type records <- 100000 records % 1000 I tried wrapping the operands with "as.integer ()" but that didn't help either. This is version 1.2.2 of R; I haven't had a chance to try it with R-1.2.3 yet, but i...
2013 Oct 03
0
DH modulus size
With the default openssh configuration, the selected cipher is aes128-ctr. This means that dh_estimate gets called with bits=128, so dh_estimate selects a DH modulus size of 1024 bits. This seems questionable. Since the NSA seems to be sniffing most internet traffic, keeping SSH sessions secure against after-the-fact offline attack matters, and 1024-bit DH is not convincingly secure against well-funded adversaries. (On the other hand, 128-bit symmetric keys...
2015 May 29
16
Call for testing: OpenSSH 6.9
Hi, OpenSSH 6.9 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This release contains some substantial new features and a number of bugfixes. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is
2005 Feb 07
1
moduli(5) changes
Hi folks, This applies to src/share/man/man5/moduli.5 in the OpenBSD source tree, and doesn't seem to apply to the portable OpenSSH, so I've sent this change here instead of via Bugzilla. The wording of moduli(5) implies that sshd puts more thought about which modulus it selects than it really does. The following patch corrects this. Simon. -- Simon Burge <simonb at wasabisystems.com> NetBSD Development, Support and Service: http://www.wasabisystems.com/ Index: moduli.5 ================================================...
2006 Jan 30
2
[R] Integer bit size and the modulus operator (PR#8541)
.../2006 11:32 AM, Ionut Florescu wrote: >>> I am a statistician and I come up to an interesting problem in >>> cryptography. I would like to use R since there are some statistical >>> procedures that I need to use. >>> However, I run into a problem when using the modulus operator %%. >>> >>> I am using R 2.2.1 and when I calculate modulus for large numbers >>> (that I need with my problem) R gives me warnings. For instance if >>> one does: >>> a=1:40; >>> 8^a %% 41 >>> one obtains zeros which is not p...
2007 Dec 07
0
Studentized maximum modulus distribution
Can anyone tell me how to calculate quantiles of the studentized maximum modulus distribution using R? Thanks! __________________ Rob Kabacoff, Ph.D. www.statmethods.net [[alternative HTML version deleted]]
2015 Jun 06
4
[Bug 2412] New: make tests does not PASS all tests with SNAP openssh-SNAP-20150607.tar.gz
....................................................... 98 tests ok test_sshkey: .......................................................................... 74 tests ok test_bitmap: .. 2 tests ok test_kex: .....................................WARNING: /var/openssh/etc/moduli does not exist, using fixed modulus .WARNING: /var/openssh/etc/moduli does not exist, using fixed modulus .WARNING: /var/openssh/etc/moduli does not exist, using fixed modulus ...WARNING: /var/openssh/etc/moduli does not exist, using fixed modulus WARNING: /var/openssh/etc/moduli does not exist, using fixed modulus ......WARNING: /va...
2007 Dec 10
2
Help with encryption
So I have this key information that I got by generating a private and public key in VB, but it gave it to me in the form of a modulus and exponent in an XML file. Now, I need to encrypt some stuff in ruby using that info. On this site: http://blog.internautdesign.com/2007/11/2/ruby-openssl-rsa-public-key-from-modulus-and-exponent/comments/165, they explain how to do that, but clearly this info is in integer format so I need to co...
2004 Dec 09
1
Modulus Bug (PR#7409)
R Developers, 1000000000000000000 %% 11 [1] -32 I now understand that integers cannot be larger than .Machine$integer.max, but because the above produces a result than is patently wrong instead of an error, I'm reporting this as a bug. Thank you for the incredible contributions all of you have made in developing the R platform. Best, Robert Robert McGehee Geode Capital Management, LLC 53
2018 Mar 02
1
Sieve filter imapflags with "flagvar" not working
its quite likely fixed in 0.4.22 ---Aki TuomiDovecot oy -------- Original message --------From: Larry Rosenman <larryrtx at gmail.com> Date: 02/03/2018 19:55 (GMT+02:00) To: Konstantinos Tsakiltzidis <ktsakiltzidis at modulus.gr>, dovecot at dovecot.org Subject: Re: Sieve filter imapflags with "flagvar" not working I don't remember if this was fixed in 0.4.21 or not, but it's definitely fixed in 0.5.0, which requires dovecot 2.3. -- Larry Rosenman???????????????????? http://www.lerctr.org/~ler P...