com.jeffpalm.math
Class BinomialExpansion

java.lang.Object
  extended by com.jeffpalm.bin.Bin
      extended by com.jeffpalm.math.BinomialExpansion
All Implemented Interfaces:
Options.AfterParsing, Options.CanExcludeOption, Handler, ReallySimplePrintWriter, SimplePrintWriter

public class BinomialExpansion
extends Bin


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jeffpalm.bin.Bin
Bin.AbortProcessException, Bin.ArgIterator, Bin.ArgumentValidator, Bin.AskAboutDisplayingHelpWithNoArgs, Bin.DefaultArgInterfaces, Bin.DisplaysHelpWithNoArgs, Bin.ExceptionHandler, Bin.LogLevels, Bin.UsageException, Bin.WantsClasses
 
Nested classes/interfaces inherited from interface com.jeffpalm.util.Handler
Handler.Checker, Handler.HasInstance
 
Field Summary
 
Fields inherited from class com.jeffpalm.bin.Bin
arguments, err, out
 
Fields inherited from interface com.jeffpalm.util.Handler
DEFAULT, QUIET, THROWER
 
Constructor Summary
BinomialExpansion()
           
 
Method Summary
static double[] coefficients(double a, double b, int n)
           
static void main(java.lang.String[] args)
           
protected  void realMain()
           
 
Methods inherited from class com.jeffpalm.bin.Bin
addArgumentValidator, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, afterParsing, appendURL, argsExplanation, argsExplanationRest, argsIterator, argument, beforeMain, beforeProcess, buffer, check, checkDir, checkFile, checkTest, checkTestEqual, createFileArgValidator, createFileArgValidator, currentArg, db, db, db, db, db, db, db, db, db, debug, defaultArg, delete, demandArg, demandArg, demandArgIfNull, dieAMiserableDeath, dieAMiserableDeath, displayHelpWithNoArgs, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, dots, err, err, errln, errln, errln, errln, errln, errln, errln, errln, errln, excludeOption, exit, exit, exitAfterHelp, exitAfterVersion, fail, fail, failTest, fileList, fileList, format, format, format, format, format, format, format, format, format, format, format, format, forName, handle, handle, handle, handle, help, If, ignoresOption, illegalArg, increaseProgress, isSet, isSet, isSet, isSet, isSet, isSet, isSet, isSet, mkdirs, nextProgress, nextTest, noneProcessed, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, note, noteTest, nullCheck, nullCheck, nullCheck, numArguments, numProcessed, open, open, originalArguments, otherVerbose, out, out, out, out, out, out, out, out, out, outln, outln, outln, outln, outln, outln, outln, outln, outln, parse, parseArgs, parseIntArg, parseIntArg, path, printUsage, processAllForTests, q, q, q, q, q, q, q, q, q, quote, quote, quote, quote, quote, quote, quote, quote, quote, readable, realMain, rejectArg, rejectArg, removeArgumentValidator, runTest, runTests, sentence, sentence, sentence, sentence, sentence, sentence, sentence, sentence, sentence, setCurrentProgress, setHandler, setMaxProgress, setUseProgress, setVerbose, shift, startTime, todo, todo, transferTo, transferTo, transferTo, unsupportedArg, useProgress, useProgress, v, verbose, wantsInteractive, warn, warn, warn, warn, warn, warn, warn, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinomialExpansion

public BinomialExpansion()
Method Detail

main

public static void main(java.lang.String[] args)

realMain

protected void realMain()
                 throws java.lang.Exception
Specified by:
realMain in class Bin
Throws:
java.lang.Exception

coefficients

public static double[] coefficients(double a,
                                    double b,
                                    int n)