Displaying 20 results from an estimated 1000 matches similar to: "Modular inverses"
2012 Mar 28
1
rep with bigz in gmp
Hi
With package:gmp, is this an expected behavior?
> rep(1:3, rep(3, 3))
[1] 1 1 1 2 2 2 3 3 3
> rep(as.bigz(1:3), rep(3, 3))
Big Integer ('bigz') object of length 9:
[1] 1 2 3 1 2 3 1 2 3
This code is used inside `outer`, so more worse
> outer(1:3, 1:3, `*`)
[,1] [,2] [,3]
[1,] 1 2 3
[2,] 2 4 6
[3,] 3 6 9
> outer(as.bigz(1:3),
2005 May 31
4
AreskiCC - DOES IT REALLY WORK??????
Hi all,
I am quite disappointed at the application AreskiCC. I have installed
everything following the instructions but the thing doesn't want to work.
First of all, when I start the index.php page, any name/password logs in.
After the login it takes me to a page with a single option "LOGOUT"
We are monitoring the database and it seems like the application doesn't
2008 Apr 04
4
Arbitrary Precision Numbers
Hi
(If you're wondering, this is a Project Euler question :))
If I wanted to calculate the sum of the digits in the decimal representation
of 2^1000, what would be a good way to go about that? I've tried the
following methods:
# Calculate the sum of digits in the decimal representation of 2^n
# Only works for smaller values of n
bsum <- function(n) {
s <- 0
e <-
2001 Aug 26
3
Office (2K) options on Linux
I am just starting to migrate towards Linux (RedHat 7.1 Burned and one
trial install on another machine went well).
However I do alot of work for other companies on Office
(EspeciallyExcel) (generally 2K) and would like to be able to do so
without rebooting. AFAICT I have a few options.
One is to have a dedicated windows box and use a program such as VNC or
Exceed to view it (I don't like
2005 Mar 28
3
TDM04B doesn't hang up after Voicemail
Hello all,
I am having a serious problem installing my * with a TDM04B. I made everything
work, call are coming in and going out including using a GSM Box in channel
Zap/2-1. I did setup voicemail like this on extensions.conf:
[incoming]
exten => s,1,Dial(SIP/2246,20)
exten => s,2,Wait,2
exten => s,3,Voicemail(u${ME})
exten => s,4,Hangup
exten => s,102,Wait,2
exten =>
2010 Feb 26
2
Change idle timeout
Hi,
We are using a samba server as a NTLM authenticator for our web filter.
However, Samba closes the SMB connections after 60 seconds of inactivity,
causing connections from the web filter to the Samba DC to get stuck in
CLOSE_WAIT state, and failing to authenticate the users.
Is the some way, other than changing IDLE_CLOSED_TIMEOUT, or (in Samba
3.0.23) commenting the check that closes the TCP
2006 Apr 20
6
TDM2400P
We just bougth a tdm2400p with all the modules for FXO, but we are
having some troubles with the card, cause it aparently is stripping
some digits from the dialed number, we tested the same server with a
tdm400 and everything worked as expected.
We?ve already added "w" before the dialed number with no results, is
there any way to solve, is it a bug
thanks
2008 Jan 22
1
R: determinants and inverses
hello all
sorry for the following "none" R related question.
does anyone know of a reference to calculate the following identity:
|I + ABC|
where I is an identity matrix and A, B,C may not have to be square matrices?
you help will be greatly appreciated.
H. V. Henderson; S. R. Searle
SIAM Review, Vol. 23, No. 1. (Jan., 1981), pp. 53-60.
provides a result to
2005 May 15
5
AreskiCC
Hi,
I have installed AreskiCC on Slackware 10.1 with Asterisk latest CVS and
Postgres 7.4. First of all the instructions are very confusing and hard to
follow if you are not an expert. But, I managed to install it and.obviously
t doesn't work. The other instructions I found on wiki are a great effort
but incomplete. Basically the first thing that happens is that when I load
2005 May 13
1
ASTCC Compilation Error
Hi,
When trying to compile ASTCC i am getting the following error:
root@asthome:/usr/src/astcc# make install
mkdir -p /var/www
mkdir -p /var/www/html/_astcc
mkdir -p /var/www/cgi-bin/astcc-admin
chmod 755 ./astcc.agi
chmod 755 ./astcc-admin.cgi
echo | ./astcc.agi >/dev/null
Can't locate Asterisk/AGI.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.6/i486-linux /usr/lib/perl5/5.8.6
2008 Feb 13
3
isolinux not booting - old 486 with SCSI CD writer
I am trying to install Debian Linux on an an old Intel Classic R+ computer that
uses an internal Yamaha SCSI CD writer model CRW8424S connected to an Adaptec
ISA SCSI card (I think its a 1542CP). The CD writer is is the only device
connected to the SCSI card. The computer has one hard drive connected to the
on-board IDE interface, a 1.44MB 3 1/2 inch floppy and a 1.2MB 5 1/4 inch floppy.
The hard
2005 Jun 01
2
ARESKICC - Another issue
Hi all,
After finally making the web interface for AreskiCC work I am now running
into new issues.
1 - In Asterisk the manager doesn't seem to connect
2 - When I try to create the file additional_areskicc_sip.conf it says
"Could not open buddy file '/etc/asterisk/additional_areskicc_sip.conf'
Any clues?
-------------- next part --------------
An HTML
2009 Apr 17
3
Modular Arithmetic Error?
Hi,
I'm using the '%%' operator in some code, and am running into the following erroneous outcome:
> 1.2 %% 0.2
[1] 0.2
Unless I'm very mistaken, the result should be 0 (indeed, 12 %% 2 does result in 0). Furthermore:
> 1.20000000000000001 %% 0.2
[1] 0.2
> (1.2+1e17) %% .2
[1] 0
Warning message:
probable complete loss of accuracy in modulus
(Warning
2023 Jul 20
1
[PATCH drm-misc-next v8 01/12] drm: manager to keep track of GPUs VA mappings
On 20/07/2023 01:14, Danilo Krummrich wrote:
> Add infrastructure to keep track of GPU virtual address (VA) mappings
> with a decicated VA space manager implementation.
>
> New UAPIs, motivated by Vulkan sparse memory bindings graphics drivers
> start implementing, allow userspace applications to request multiple and
> arbitrary GPU VA mappings of buffer objects. The DRM GPU VA
2013 Nov 15
2
[LLVMdev] Modular arithmetic processors
I've been playing around with LLVM to write a backend for a rather "simple"
(co-)processor. Assume that only three arithmetic instructions exist: ADD
mod N, SUB mod N and MUL mod N. The modulus N is programmable and stored in
a register. No ordinary arithmetic instructions are available. The word
size is 256-bit.
In other words, the following function, b + c mod N, corresponds to
2013 Nov 15
0
[LLVMdev] Modular arithmetic processors
Hi,
My personal opinion: Just to be sure I understand what you're considering:
you want to write a backend that will produce optimized machine code for a
device with modular arithmetic instructions (not simulate such a device on
a standard CPU)? In which case, won't the same assumptions that are
embodied in the transformations for the case of unsigned 2's complement
arithmetic (in
2013 Nov 18
1
[LLVMdev] Modular arithmetic processors
Thanks for your insightful suggestions.
Yes, I am programming for a real device that does modular arithmetic (and
only modular arithmetic). The modulus N is fixed during a single launch of
a program. One way I could also come up with is to simply use add i256 %a,
%b to represent a + b mod n, and let LLVM passes to reason about possible
optimizations. However these are not semantically identical
2001 Mar 30
2
BETA release of OpenSSH-2.5.2p2 with SRP
This is to announce the availability of SRP (Secure Remote Password)
support for OpenSSH. A tarball is available on Tripod:
http://members.tripod.com/professor_tom/archives/
http://members.tripod.com/professor_tom/archives/openssh-2.5.2p2-srp5.tar.gz
(Note: Tripod requires you to LEFT click on links to download files.)
To install, unpack, configure --with-srp, and make install, then create an
2006 Feb 02
6
How do I? Same Model, Different Controllers, Different Validations?
Hi all --
The simple question is: How do I set different validations for the same
Model, when accessed in different Controllers?
Here''s the scenario: I have a store/cart app, with a customer-facing
shopping cart, and a typical Admin side. The Admin side also has an
Order Entry component, where our staff can enter orders received by fax,
telephone, etc. Both the customer-facing cart
2017 Mar 23
2
[Bug 1136] New: nft dump and -f are not perfect inverses
https://bugzilla.netfilter.org/show_bug.cgi?id=1136
Bug ID: 1136
Summary: nft dump and -f are not perfect inverses
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org