Skip to content

Commit a024180

Browse files
committed
chore: revert History changes
1 parent ae271c2 commit a024180

File tree

18 files changed

+0
-151
lines changed

18 files changed

+0
-151
lines changed

src/core/function/import.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ export function importFactory (typed, load, math, importedFactories) {
5959
*
6060
* create, all
6161
*
62-
* History:
63-
*
64-
* v0.2 Created
65-
* v0.7 Changed second parameter to an options object
66-
* v2 Dropped support for direct import of a module by name
67-
*
6862
* @param {Object | Array} functions Object with functions to be imported.
6963
* @param {Object} [options] Import options.
7064
*/

src/expression/parse.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,6 @@ export const createParse = /* #__PURE__ */ factory(name, dependencies, ({
8282
*
8383
* evaluate, compile
8484
*
85-
* History:
86-
*
87-
* v0.9 Created
88-
* v0.13 Switched to one-based indices
89-
* v0.14 Added `[1,2;3,4]` notation for matrices
90-
* v0.18 Dropped the `function` keyword
91-
* v0.20 Added ternary conditional
92-
* v0.27 Allow multi-line expressions; allow functions that receive
93-
* unevaluated parameters (`rawArgs`)
94-
* v3 Add object notation; allow assignments internal to other
95-
* expressions
96-
* v7.3 Supported binary, octal, and hexadecimal notation
97-
*
9885
* @param {string | string[] | Matrix} expr Expression to be parsed
9986
* @param {{nodes: Object<string, Node>}} [options] Available options:
10087
* - `nodes` a set of custom nodes

src/function/algebra/polynomialRoot.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export const createPolynomialRoot = /* #__PURE__ */ factory(name, dependencies,
5252
* math.polynomialRoot(-2, 0, 1) // [1.4142135623730951, -1.4142135623730951]
5353
* math.polynomialRoot(2, -2, 1) // [1 + i, 1 - i]
5454
* math.polynomialRoot(math.complex(1,3), math.complex(-3, -2), 1) // [2 + i, 1 + i]
55-
*
5655
* // cubic
5756
* math.polynomialRoot(-6, 11, -6, 1) // [1, 3, 2]
5857
* math.polynomialRoot(-8, 0, 0, 1) // [-1 - 1.7320508075688774i, 2, -1 + 1.7320508075688774i]
@@ -62,10 +61,6 @@ export const createPolynomialRoot = /* #__PURE__ */ factory(name, dependencies,
6261
* See also:
6362
* cbrt, sqrt
6463
*
65-
* History:
66-
*
67-
* v11.4 Created
68-
*
6964
* @param {... number | Complex} coeffs
7065
* The coefficients of the polynomial, starting with with the constant coefficent, followed
7166
* by the linear coefficient and subsequent coefficients of increasing powers.

src/function/arithmetic/log.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,6 @@ export const createLog = /* #__PURE__ */ factory(name, dependencies, ({ typed, t
4141
*
4242
* exp, log2, log10, log1p
4343
*
44-
* History:
45-
*
46-
* v0.0.2 Created
47-
* v0.2 Add optional base argument
48-
* v0.3 Handle Array input
49-
* v0.5 Handle Matrix input
50-
* v0.16 Handle BigNumber input
51-
* v0.21 Support negative BigNumbers
52-
* v11 Drop Array/Matrix support in favor of explicit map of
53-
* the scalar log function, to avoid confusion with the log
54-
* of a matrix
55-
* v14 Allow value and base to be Fractions, when the log is rational
56-
*
5744
* @param {number | BigNumber | Fraction | Complex} x
5845
* Value for which to calculate the logarithm.
5946
* @param {number | BigNumber | Fraction | Complex} [base=e]

src/function/matrix/map.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ export const createMap = /* #__PURE__ */ factory(name, dependencies, ({ typed })
4545
*
4646
* filter, forEach, sort
4747
*
48-
* History:
49-
*
50-
* v0.13 Created
51-
* v1.1 Clone the indices on each callback in case callback mutates
52-
* v13.1 Support multiple inputs to the callback
53-
*
5448
* @param {Matrix | Array} x The input to iterate on.
5549
* @param {Function} callback
5650
* The function to call (as described above) on each entry of the input

src/function/relational/compare.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ export const createCompare = /* #__PURE__ */ factory(name, dependencies, ({ type
5858
*
5959
* equal, unequal, smaller, smallerEq, larger, largerEq, compareNatural, compareText
6060
*
61-
* History:
62-
*
63-
* v0.19 Created
64-
* v4 Changed to compare strings by numerical value
65-
*
6661
* @param {number | BigNumber | bigint | Fraction | Unit | string | Array | Matrix} x First value to compare
6762
* @param {number | BigNumber | bigint | Fraction | Unit | string | Array | Matrix} y Second value to compare
6863
* @return {number | BigNumber | bigint | Fraction | Array | Matrix} Returns the result of the comparison:

src/function/string/format.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,6 @@ export const createFormat = /* #__PURE__ */ factory(name, dependencies, ({ typed
118118
*
119119
* print
120120
*
121-
* History:
122-
*
123-
* v0.4 Created
124-
* v0.7 Round to a consistent number of digits (rather than decimals)
125-
* v0.15 Added multiple number notations and configurable precision
126-
* v3 Added support for JSON objects
127-
* v9 Added binary, hexadecimal, and octal notations
128-
*
129121
* @param {*} value Value to be stringified
130122
* @param {Object | Function | number} [options] Formatting options
131123
* @return {string} The formatted value

src/function/utils/numeric.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ export const createNumeric = /* #__PURE__ */ factory(name, dependencies, ({ numb
4848
*
4949
* number, fraction, bignumber, bigint, string, format
5050
*
51-
* History:
52-
*
53-
* v6 Created
54-
* v13 Added `bigint` support
55-
* v14.2.1 Prefer mathjs `bigint()` to built-in `BigInt()`
56-
*
5751
* @param {string | number | BigNumber | bigint | Fraction } value
5852
* A numeric value or a string containing a numeric value
5953
* @param {string} outputType

src/type/bigint.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ export const createBigint = /* #__PURE__ */ factory(name, dependencies, ({ typed
6464
* number, bignumber, boolean, complex, index, matrix, string, unit
6565
* round, floor, ceil, fix
6666
*
67-
* History:
68-
*
69-
* v13 Created
70-
* v14.2.1 Added conversion options
71-
*
7267
* @param {string | number | BigNumber | bigint | Fraction | boolean | Array | Matrix | null} [value] Value to be converted
7368
* @param {Object} [options] Conversion options with keys `safe` and/or `round`
7469
* @return {bigint | Array | Matrix} The created bigint

src/type/boolean.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ export const createBoolean = /* #__PURE__ */ factory(name, dependencies, ({ type
2929
*
3030
* bigint, bignumber, complex, index, matrix, string, unit
3131
*
32-
* History:
33-
*
34-
* v0.11 Created
35-
* v0.16 Added conversion from BigNumber
36-
* v14.2.1 Added conversion from bigint
37-
*
3832
* @param {string | number | boolean | Array | Matrix | null} value A value of any type
3933
* @return {boolean | Array | Matrix} The boolean value
4034
*/

0 commit comments

Comments
 (0)