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
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Aqua Data Studio 19.5
ConyEdit for Windows 1.1.1
GetOrgChart 2.5.3.0
Database Workbench Pro 5.6.0
.Net VCL for Delphi 1.0.0.0
Top Code
MCU 8051 IDE 1.4.7
Project and Process Management Software 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
GUI for fuzzy based Washing Machine 1.0
ZOOM / PAN CONTROLS With Dynamic Image & Settings 1.0
Panel Method Based 2-D Potential Flow Simulator 1.0
MLM Unilevel Plan Script 1.0.4
MLM Software ONE 1.5.46
queue and stack classes 1.0
Taxi Management System - Vaama Taxi 1.0
Online Vacation Rental Booking Website Script 4.3.0
Ticket Booking System 1.0
CoffeeCup Free HTML Editor 8.0
Uber for E-Scooters 1.0
HTMLPad 2007 Pro 8.3
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
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