opensource4u
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

opensource4u


 

 BREAKDOWN FIRST FACTOR WITH GMP

اذهب الى الأسفل 
كاتب الموضوعرسالة
abdo
عضو مرشح للاشراف
عضو مرشح للاشراف



عدد المساهمات : 253
تاريخ التسجيل : 01/01/2012

BREAKDOWN FIRST FACTOR WITH GMP Empty
مُساهمةموضوع: BREAKDOWN FIRST FACTOR WITH GMP   BREAKDOWN FIRST FACTOR WITH GMP Emptyالسبت مارس 26, 2016 3:55 pm

BREAKDOWN FIRST FACTOR WITH GMP


DECOMPOSITION FACTEURS PREMIERS AVEC GMP





Voici un programme développé en Visual C++ 6.0 qui calcule la décomposition en facteurs premiers d'un nombre entier positif éventuellement de grande taille. On peut très largement dépasser la limite des int et même des __int64. La bibliothèque gmp donc utilisée pour cette raison. La documentation gmp-man-4.1.2.pdf est encore disponible. La méthode de calcul est simplement la méthode naïve. Le temps de calcul est très variable, il peut être excessivement long quand on rencontre un nombre premier de très grande taille. C'est en fait, un exemple simple pour montrer l'utilisation de gmp. Pour un test de primalité, ce n'est pas toujours un très bon exemple. On s'intéresse ici uniquement à la décomposition en facteurs premiers.



______________________________________________________________________






Here is a program developed in Visual C ++ 6.0, which calculates the prime decomposition of a positive integer possibly large factors. It may very well exceed the limit of int and even __int64. The library gmp is used for this reason. The gmp-man 4.1.2.pdf documentation is still available. The calculation method is simply naive method. The calculation time is very variable, it may be too long when meeting a first number of very large. This is actually a simple example to demonstrate the use of gmp. For a primality test, it is not always a very good example. Here we are interested only in the prime factorization.








_________________________________________________________________________








هذا البرنامج تم تطويره في Visual C ++ 6.0 والذي يحسب التحليل الرئيسي لعدد صحيح موجب وايضا عوامل كبيرة. قد تتجاوزها بشكل جيد للغاية و ايضا الحد من كثافة لهذا السبب: تم انشاء برنامج الرصد العالمي وثائق 4.1.2.pdf
وبرنامج الرصد العالمي يعمل على تسهيل طريقة الحساب .
هو طريقة ساذجة. و ايضا حساب الوقت وهو متغير جدا، قد تكون طويلة جدا لدى لقائه عددا كبيرة جدا.
هذا هو في الواقع مثال بسيط لشرح استخدام برنامج الرصد العالمي. لاختبار بريماليتي أنها ليست دائما مثالا جيدا للغاية. 










______________________________________________________________________






للتحميل من رابط مباشر اضغط الرابط الموجود بالاسفل
download







http://adf.ly/1YmvVK
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
BREAKDOWN FIRST FACTOR WITH GMP
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
opensource4u :: مشاريع مفتوحة المصدر فيجوال بيسك دوت نت و يجوال بيسك 6 (Open source projects vb.net ) :: مشاريع الفيجوال بيسك6-
انتقل الى: