Returns given date as string with format "YYYY-MM-DD hh:mm:ss.ms".
Date.
Formatted string of date.
Returns 2D array of numbers with each element initialized to given value.
Dimension 1.
Dimension 2.
Initial value for each element in 2D array.
2D array.
Determines if given value is boolean true or false. Returns true if (a) val is boolean and true, (b) val is numeric and not zero, or (c) val is string "true" (case insensitive), otherwise returns false.
Value.
True or false.
Returns chart as text table. Called by solver.saySolution.
Puzzle object.
Zero-based index of first noun type to display in chart.
True if chart has solution, otherwise false.
Text table.
Returns given name with first letter capitalized.
Name.
Name with first letter capitalized.
Returns multi-line string as one line with new lines replaced by given separator.
String.
Separator.
String with new lines replaced by separator.
Determines if given value is a boolean.
Value.
True if given value is a boolean, otherwise false.
Determines if value of given string is an integer.
String value.
True if value of given string is an integer, otherwise false.
Returns true if integer value of noun's name is not divisible by given number, otherwise false.
Noun.
Number.
True if integer value of noun's name is not divisible by given number, otherwise false.
Determines if given value is a number.
Value.
True if given value is a number, otherwise false.
Solves system of n linear equations with n variables x[0], x[1], ..., x[n-1] using Gaussian Elimination and Backward Substitution. Note: This is an augmented matrix, so there is an additional column; hence, n is one less than the number of columns.
1D array of solutions.
Returns integer value of given string. Note: Returns zero if string is null, while parseInt returns NaN.
String value.
Integer value of string.
Returns given string converted to title case.
String.
String converted to title case.
Generated using TypeDoc
Helper module for the Mystery Master Logic Puzzle Solver.
mysterymaster.com. All rights reserved.
Michael Benson
2021-08-31