Click or drag to resize

BinomialCoefficient Class

Stores a binomial coefficient in a format that allows for easily incrementing and decrementing the super and sub of the coefficient.
Inheritance Hierarchy
SystemObject
  NumberStoneBinomialCoefficient

Namespace:  NumberStone
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public class BinomialCoefficient

The BinomialCoefficient type exposes the following members.

Constructors
  NameDescription
Public methodBinomialCoefficient
Constructor
Top
Properties
  NameDescription
Public propertysub
Get or Set the sub of the coefficient
Public propertysuper
Get or Set the super of the coefficient
Public propertyvalue
gets the coefficient's value.
Top
Methods
  NameDescription
Public methodDecreaseBoth
Decreases both the super and the sub simultaneously.
Public methodDecreaseSub
Decrements the sub.
Public methodDecreaseSuper
Decrements the super.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncreaseBoth
Increases both the super and the sub simultaneously.
Public methodIncreaseSub
Increments the sub.
Public methodIncreaseSuper
Increase the super.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

For convenience, the first argument in the coefficient is called the super, and the second is called the sub.

See Also