IntegerPartition Class

Represents an integer partition.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public sealed class IntegerPartition : IEquatable<IntegerPartition>
Inheritance
Object    IntegerPartition
Implements
IEquatableIntegerPartition

Properties

Elements Gets the elements of the partition.
Rank Gets the rank of the partition.
Values Gets the values in the partition.

Methods

Conjugate Computes the conjugate partition.
Equals(IntegerPartition) Determines whether another partition is equal to this one.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetPartitions Enumerates all partitions of the given integer
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

Operators

Equality(IntegerPartition, IntegerPartition) Determines whether two partitions are equal.
Inequality(IntegerPartition, IntegerPartition) Determines whether two partitions are not equal.

See Also