Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.0
Bytescout BarCode Generator SDK 4.70.0.981
Data Puppy Lite (32-bit) 1.0
ProZ clone script 1.0.3
VideoCap Live Streaming SDK ActiveX 8.5
Magento Web to Print 1.0
dbForge Data Compare for MySQL 5.4
dbForge Query Builder for MySQL 4.3
ODBC Driver for NetSuite 1.2
Rapid CSS 2018 15.0
ByteScout PDF Extractor SDK 9.0.0.3079
TeeGrid for .NET 2018
HotelDruid 2.2.3
Metamill 8.2.2022
EXE Stealth Protector 4.23
Top Code
php recruitment software 1.24
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
Readymade MLM Products 2.01
ADO.NET Provider for ExactTarget 1.0
Faster Factorial 
File ID: 64714






Faster Factorial 
Download Faster Factorial http://code.activestate.com/recipes/577241-faster-factorial/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 10
Submit Rating:
Faster Factorial  Description
Description: If you are calling factorial() many times, it is worth to cache the computed factorials.

License: Freeware

Related: factorial

O/S:Windows

Downloads: 10



More Similar Code

This function computes log10 of the factorial. Unlike FACTORIAL, it is not limited to arguments less than 171.

Two methods are implemented, one based on the gamma function (thank you, John), as well as a direct sum. The user can choose between the two methods. The gamma method is superior and is therefore the default choice.

The function returns the log10 of the factorial, the mantissa and the exponent of the factorial,...



to find factorial using gui in matlab



If n is a positive integer,factorial(n!) is the product of all the positive integers from 1 up to the given integer.
However, different types of functions are applied,including the anonymous lambda to generate the factorial number, because it...



Intersection of two sets of positive integers (works much faster than built-in intersect)



Set difference of two sets of positive integers (much faster than built-in setdiff) which is great if you have to call it million times in a loop.



gaussleg(f,a,b,ngp)

I have found that this is on average +20 times faster than 'Gauss-Legendre' file(4560), and easier to read because it is shorter.



This is a faster implementation of MATLAB's corr2. Implemented as a mex-file generated with the ITERATOR tool that can be downloaded from www.mathworks.com

Re compile the source with MEX -O prcorr2.c

C = PRCORR2(A,B)...



This m-file produces random numbers from the negative Binomial distribution using one of four methods and it tests which is faster.



Simple program that makes it faster and easier to solve simultaneous equations using the solve command.



This function is the same as matlab's plot, but much faster for large vectors. Syntax is the same.

Only major drawback is you can't currently save and reload the plots generated without screwing them up.

Enjoy

User Review for Faster Factorial
- required fields
     

Please enter text on the image