Displaying 20 results from an estimated 300 matches similar to: "Function to find prime numbers"
2009 Mar 02
2
Goldbach partitions code
Folks,
I put up a brief note describing my naive attempts to compute Goldbach
partitions, starting with a brute-force approach and refining
progressively.
http://jostamon.blogspot.com/2009/02/goldbachs-comet.html
I'd welcome your suggestions on improvements, alternatives, other
optimisations, esp. to do with space vs time tradeoffs.
Is this an example interesting enough for
2010 Jun 14
3
Prime Numbers Pkgs - Schoolmath is broken
Looking for a recommended package that handles prime number computations.
Tried the following unsuccessfully:
primeFactors() in the R.basic package failed to install.
primes() and primlist are broken in Schoolmath pkg on CRAN.
My analysis can be found here http://j.mp/9BNI9q
Not sure what the procedure is for getting things fixed, so I've cross-posted to r-dev as well.
--njg
2010 Jun 14
3
Prime Numbers Pkgs - Schoolmath is broken
Looking for a recommended package that handles prime number computations.
Tried the following unsuccessfully:
primeFactors() in the R.basic package failed to install.
primes() and primlist are broken in Schoolmath pkg on CRAN.
My analysis can be found here http://j.mp/9BNI9q
Not sure what the procedure is for getting things fixed, so I've cross-posted to r-dev as well.
--njg
2010 Sep 21
1
Prime Factorization
Hi everyone, I have a very quick question:
Is there a ready-made function in R or any R packages to find the prime
factorization of an integer?
--
View this message in context: http://r.789695.n4.nabble.com/Prime-Factorization-tp2548877p2548877.html
Sent from the R help mailing list archive at Nabble.com.
2007 Nov 19
6
Dedicated MGS?
This may be in the documentation. If so, I missed it.
If a site has multiple Lustre file systems, the documentation implies
that there only needs to be a single MGS for an entire site
(regardless of the number of file systems). However, I also know
it is fairly common to have a combined MGS/MDT. So here are the
questions.
1. If we are going to have several Lustre file systems,
2001 Apr 03
2
the "primes" file
In message <Pine.LNX.4.30.0104031615270.8678-100000 at holly.crl.go.jp>, Tom Holro
yd writes:
>SRP has different requirements from Diffie-Hellman. In particular,
>for SRP the generator must be primitive. It turns out that the "primes"
>file contains only safe primes with primitive generators, and is thus
>ideal for SRP, but so far in OpenSSH it has only been used for
2009 Jun 06
0
Fitting with Beta-prime
Hi,
I need to fit my data with beta-prim distribution. I found the function in
the package VGAM: betaprime and betaff. I don't know how can I make it work.
I know that i need to calculate the parameters that describe this function
on my distribution. But for exemple I don't understand the "link function.
And then How can I plot my data fitted?
Can you help me out with this?
Thanks
2013 Sep 20
0
PRIME-RAILS Suite of components for RAILS
Hello my name is Lázaro Nixon and I am PrimeFaces Team member, we do a
popular suite of components for Java server faces (primefaces.org), and I
am doing a new project that provide helpers for using core of PrimeFaces on
ruby on rails aka Prime-Rails. It will provide a many helpers for
components based on PrimeUI(primefaces.org/primeui<http://www.primefaces.org/primeui>),
a javascript
2013 Sep 27
0
[Bug 69876] Revers prime sometime freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
Aaron Plattner <aplattner at nvidia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|aplattner at nvidia.com |nouveau at lists.freedesktop.o
| |rg
2013 Sep 27
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
Ilia Mirkin <imirkin at alum.mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Revers prime sometime |[NVC3] Reverse prime
|freezes the machine |sometimes freezes the
|
2013 Sep 27
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #3 from Mike <michele.cane at gmail.com> ---
With 3.10 is working fine. Have not tried with 3.11. I recompiled 3.12-rc1
without vgaswitcheroo and the problem persists.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Sep 29
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #4 from Kevin N. <vekinn at gmail.com> ---
I experience the same thing with my Thinkpad t530 and NVS 5400m in Optimus mode
with 3.12-rc2 on Fedora 19.
Locks up if I use xrandr or try to do anything with the displayport unless I
have it plugged in at boot.
Works fine if I change in bios to discrete nvidia.
--
You are
2013 Oct 07
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #5 from Emil Velikov <emil.l.velikov at gmail.com> ---
There has been quite a few changes in the window you've mentioned. Thus to
narrow it down further you can try - boot with "nouveau.config=MSI=0" to
disable MSI interrupts(introduced in 3.12)
If that does not help git bisect might be in order :)
--
You are
2013 Oct 07
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> ---
Had a typo previously, the correct argument is
nouveau.config=NvMSI=0
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Oct 08
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #7 from Mike <michele.cane at gmail.com> ---
Created attachment 87285
--> https://bugs.freedesktop.org/attachment.cgi?id=87285&action=edit
dmesg output from nouveau.debug=trace
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was
2013 Oct 08
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #8 from Mike <michele.cane at gmail.com> ---
(In reply to comment #6)
> Had a typo previously, the correct argument is
> nouveau.config=NvMSI=0
The behaviour remain the same with nouveau.config=NvMSI=0
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An
2013 Oct 11
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #9 from Mike <michele.cane at gmail.com> ---
When nouveau.runpm=0 no freeze occurs.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Oct 11
0
[Bug 70389] [prime] unsynchronised rendering on secondary displays
https://bugs.freedesktop.org/show_bug.cgi?id=70389
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|chris at chris-wilson.co.uk |nouveau at lists.freedesktop.o
| |rg
QA
2013 Oct 16
0
[Bug 69876] [NVC3] Reverse prime sometimes freezes the machine
https://bugs.freedesktop.org/show_bug.cgi?id=69876
--- Comment #10 from Mike <michele.cane at gmail.com> ---
If after xrandr --setprovideroffloadsink nouveau Intel
i turn on the card with, for example, DRI_PRIME glxgers
and then I
xrandr --setprovideroutputsource nouveau Intel
there is no freeze
--
You are receiving this mail because:
You are the assignee for the bug.
--------------
2013 Nov 13
0
[Bug 70389] [prime] unsynchronised rendering on secondary displays
https://bugs.freedesktop.org/show_bug.cgi?id=70389
--- Comment #1 from Kevin Murphy <kemurphy.cmu at gmail.com> ---
Also experiencing this on a Thinkpad T530 running Arch with kernel 3.11.6.
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 21f5
Control: I/O+ Mem+