Class Tableau<LHSWidth, RHSWidth>
Type parameters
LHSWidth: number
RHSWidth: number
Constructors
constructor
- new Tableau<LHSWidth, RHSWidth>(rows: Tuple<Row<LHSWidth, RHSWidth>, LHSWidth>): Tableau<LHSWidth, RHSWidth>
Type parameters
LHSWidth: number
RHSWidth: number
Parameters
rows: Tuple<Row<LHSWidth, RHSWidth>, LHSWidth>
Returns Tableau<LHSWidth, RHSWidth>
Methods
getLHS
- getLHS(): Tuple<Tuple<number, RHSWidth>, LHSWidth>
Returns Tuple<Tuple<number, RHSWidth>, LHSWidth>
getLHSFirsts
- getLHSFirsts(): Tuple<number, LHSWidth>
Returns Tuple<number, LHSWidth>
Private lhsGet
- lhsGet(x: number, y: number): number
Private lhsSet
- lhsSet(x: number, y: number, value: number): void
Parameters
x: number
y: number
value: number
Returns void
solve
- solve(): Tuple<Tuple<number, RHSWidth>, LHSWidth>
Returns Tuple<Tuple<number, RHSWidth>, LHSWidth>
Static from
- from<LHSWidth, RHSWidth>(input: Tuple<[Tuple<number, LHSWidth>, Tuple<number, RHSWidth>], LHSWidth>): Tableau<LHSWidth, RHSWidth>
Type parameters
LHSWidth: number
RHSWidth: number
Parameters
input: Tuple<[Tuple<number, LHSWidth>, Tuple<number, RHSWidth>], LHSWidth>
Returns Tableau<LHSWidth, RHSWidth>
Gets the left-hand side of the tableau