Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathjslab

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjslab - npm Package Versions

1
9

1.3.3

Diff

Changelog

Source

1.3.3

  • File 'MathObject.ts' and (their respective class and test file) renamed to MathOperation.ts.
  • CharString conversion to MultiArray implemented as previous to any operation in MathOperation.ts.
sergiolindau
published 1.3.2 •

Changelog

Source

1.3.2

  • Tests for types implemented as instanceof in 'MathObject.ts' and 'Evaluator.ts'. Method 'isThis' removed from classes.
  • Some bug fix in evaluator (not operation).
sergiolindau
published 1.3.1 •

Changelog

Source

1.3.1

  • Improvements and some bug fixes in lexer and parser. Support for cell arrays in parser and MultiArray class. Error messages in existing functions and cell array functions no yet implemented.
  • Start and stop positions (line and column) of statements in global scope stored in AST nodes.
  • Some improvements in CharString class, removing 'removeQuotes' method an creating 'quote' property to store type of quote (single or double).
sergiolindau
published 1.3.0 •

Changelog

Source

1.3.0

  • Parser implemented using ANTLR in files 'MathJSLabLexer.g4' and 'MathJSLabParser.g4'. The wrapper class for lexer and parser has been created in file Parser.ts. Need to make extensive tests.
  • File names converted to camel case.
  • The file AST.ts (Abstract Syntax Tree) has been created, and related types and interfaces defined in Evaluator.ts has been moved to AST.ts file.
sergiolindau
published 1.2.5 •

Changelog

Source

1.2.5

  • Optimizations (resulting return as number) in multi-array.ts file and code cleaning by hand in file 'parser.jison'.
sergiolindau
published 1.2.4 •

Changelog

Source

1.2.4

  • The file 'symbol-table.ts' and 'symbol-table.spec.ts' has been created.
  • Changes in the lexer to support comment blocks spaces and line breaks to separate elements within arrays. Context variables created (previous_token and matrix_context).
sergiolindau
published 1.2.3 •

Changelog

Source

1.2.3

  • The file 'configuration.ts' and 'configuration.spec.ts' has been created. Two user functions (configure and getconfig) was created to manage internal configurations of MathJSLab. Most of the settings refer to Decimal.js settings related to the accuracy of the results.
  • Namespaces wrapping external definitions in 'evaluator.ts' and 'complex-decimal.ts' files.
sergiolindau
published 1.2.2 •

Changelog

Source

1.2.2

  • Bug fix in function 'cat'.
  • User functions 'cummin', 'cummax', 'cumsum', 'cumprod', 'ndims', 'rows', 'columns', 'length', 'numel', 'isempty' and 'reshape'.
  • Bug fix in MultiArray.unparse and MultiArray.unparseMathML (null array).
  • Bug fix in MultiArray constructor (dimension.length >= 2).
  • Bug fix in MultiArray.isEmpty.
  • Functions newFilled and newFilledEach in MultiArray class moved to CoreFunctions and optimized.
  • Some methods related to multiple assignment in Evaluator modified to static functions.
sergiolindau
published 1.2.1 •

Changelog

Source

1.2.1

  • More methods and properties have been renamed to express their functions more clearly.
  • Code cleaning by hand.
  • Bug fix in MultiArray.newFilledEach (used in rand and randi functions).
sergiolindau
published 1.2.0 •

Changelog

Source

1.2.0

  • The MultiArray class now supports multidimensional arrays. More integration tests are needed. Several methods have been renamed to express their functions more clearly. Methods related to linear algebra in MultiArray class have been moved to the LinearAlgebra class in linear-algebra.ts file.
  • The core-functions.ts file and its corresponding test file were created. Functions in MultiArray class have been moved to the CoreFunctions class in core-functions.ts file. The generalized methods have been left in MultiArray class and the user functions have been moved to the CoreFunctions class. The linearizedFunctions in MultiArray class have been removed (and corresponding methods and code in Evaluator class removed too).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc