@danielsimonjr/mathts-core 0.18.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -5
- package/dist/collection.d.ts +35 -23
- package/dist/collection.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1348 -1534
- package/dist/internal.d.ts +3 -2
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +1021 -1514
- package/dist/numeric/rng.d.ts +88 -0
- package/dist/numeric/rng.d.ts.map +1 -0
- package/dist/numeric/strides.d.ts +18 -0
- package/dist/numeric/strides.d.ts.map +1 -0
- package/dist/object.d.ts +20 -2
- package/dist/object.d.ts.map +1 -1
- package/dist/shared.d.ts +19 -0
- package/dist/shared.d.ts.map +1 -1
- package/dist/switch.d.ts +2 -4
- package/dist/switch.d.ts.map +1 -1
- package/dist/types/bignumber.d.ts +7 -0
- package/dist/types/bignumber.d.ts.map +1 -1
- package/dist/types/complex.d.ts +20 -18
- package/dist/types/complex.d.ts.map +1 -1
- package/dist/types/fraction.d.ts +5 -0
- package/dist/types/fraction.d.ts.map +1 -1
- package/dist/types/si-dimension-vector.d.ts +62 -7
- package/dist/types/si-dimension-vector.d.ts.map +1 -1
- package/dist/types/unit/Unit.d.ts.map +1 -1
- package/dist/types/unit/index.d.ts +1 -1
- package/dist/types/unit/index.d.ts.map +1 -1
- package/dist/types/unit/unit-table.d.ts +8 -2
- package/dist/types/unit/unit-table.d.ts.map +1 -1
- package/dist/types/unit/unit-types.d.ts +10 -0
- package/dist/types/unit/unit-types.d.ts.map +1 -1
- package/dist/types/unit.d.ts +1 -1
- package/dist/types/unit.d.ts.map +1 -1
- package/dist/unit-Dul_E1rh.js +5946 -0
- package/dist/wasm-as-header.d.ts +17 -0
- package/dist/wasm-as-header.d.ts.map +1 -0
- package/dist/wasm-loader.d.ts +33 -1
- package/dist/wasm-loader.d.ts.map +1 -1
- package/package.json +6 -5
- package/dist/chunk-36FOYJAP.js +0 -6091
package/dist/internal.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export { IndexError, createIndexError } from './error/IndexError.js';
|
|
|
22
22
|
export * from './factory.js';
|
|
23
23
|
export { format as formatGeneric, stringify, escape, compareText, type GeneralFormatOptions, } from './string.js';
|
|
24
24
|
export { format as formatBigNumber, toEngineering as toEngineeringBigNumber, toExponential as toExponentialBigNumber, toFixed as toFixedBigNumber, type BigNumberValue, } from './bignumber-formatter.js';
|
|
25
|
-
export type
|
|
25
|
+
export type { ComplexValue, ComplexConstructor, BigNumberConstructor, FractionConstructor, FractionValue, Numeric, PrefixDef, PrefixTable, BaseUnitDef, UnitDef, UnitComponent, UnitSystemEntry, UnitSystem, UnitJSON, ConverterFn, TypeConverters, ParseOptions, UnitFormatOptions, CreateUnitOptions, CreateUnitDefObject, UnitConfig, SubtractScalar, ScalarBinaryOp, ScalarUnaryOp, UnitDependencies, UnitInstance, UnitConstructor, } from './types/unit/unit-types.js';
|
|
26
26
|
export { createUnitClass, unitDependencies, Unit as CoreUnit } from './types/unit/index.js';
|
|
27
27
|
export type { NestedArray, IdentifiedValue } from './array.js';
|
|
28
28
|
export { arraySize, validate, validateIndexSourceSize, validateIndex, isEmptyIndex, resize, reshape, processSizesWildcard, squeeze, unsqueeze, flatten, map, forEach, filter, filterRegExp, join, identify, generalize, getArrayDataType, last, initial, concat, broadcastSizes, checkBroadcastingRules, broadcastTo, broadcastArrays, stretch, get as getArrayElement, deepMap as deepMapArray, deepForEach as deepForEachArray, clone as cloneArray, } from './array.js';
|
|
@@ -30,5 +30,6 @@ export { containsCollections, deepMap, deepForEach, reduce, scatter } from './co
|
|
|
30
30
|
export { _switch } from './switch.js';
|
|
31
31
|
export { ObjectWrappingMap, PartitionedMap, createEmptyMap, createMap, toObject, assign as assignMap, isObjectWrappingMap, } from './map.js';
|
|
32
32
|
export type { LoadingMetrics, WasmManifest } from './types/wasm-loader.js';
|
|
33
|
-
export { sha384OfBuffer, loadWasmManifest, verifyWasmIntegrity, resolvePackagedWasm, defaultWasmLocation, } from './wasm-loader.js';
|
|
33
|
+
export { sha384OfBuffer, loadWasmManifest, verifyWasmIntegrity, resolvePackagedWasm, defaultWasmLocation, WasmModuleLoader, } from './wasm-loader.js';
|
|
34
|
+
export { allocAsHeader } from './wasm-as-header.js';
|
|
34
35
|
//# sourceMappingURL=internal.d.ts.map
|
package/dist/internal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC1E,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAU7C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAoBrE,cAAc,cAAc,CAAC;AAM7B,OAAO,EACL,MAAM,IAAI,aAAa,EACvB,SAAS,EACT,MAAM,EACN,WAAW,EACX,KAAK,oBAAoB,GAC1B,MAAM,aAAa,CAAC;AAMrB,OAAO,EACL,MAAM,IAAI,eAAe,EACzB,aAAa,IAAI,sBAAsB,EACvC,aAAa,IAAI,sBAAsB,EACvC,OAAO,IAAI,gBAAgB,EAC3B,KAAK,cAAc,GACpB,MAAM,0BAA0B,CAAC;AAIlC,mBAAmB,4BAA4B,CAAC;
|
|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