C# Class Sharith.Factorial.FactorialFactors

Datei anzeigen Open project: PeterLuschny/Fast-Factorial-Functions

Public Methods

Method Description
Factor ( int n ) : int
FactorialFactors ( ) : System.IO
FactorialFactors ( int n ) : System.IO
SaveToFile ( string fileName ) : void
WriteFactors ( TextWriter file ) : void

Private Methods

Method Description
PrimeFactors ( int n ) : int

Method Details

Factor() public method

public Factor ( int n ) : int
n int
return int

FactorialFactors() public method

public FactorialFactors ( ) : System.IO
return System.IO

FactorialFactors() public method

public FactorialFactors ( int n ) : System.IO
n int
return System.IO

SaveToFile() public method

public SaveToFile ( string fileName ) : void
fileName string
return void

WriteFactors() public method

public WriteFactors ( TextWriter file ) : void
file System.IO.TextWriter
return void