Sushi2 Versions Save

Matrix Library for JavaScript

v0.0.2

7 years ago

Change behavior of jsa2mat (and mat2jsa) to intuitive way.

    var ndarray: any[] = [
      [[10, 20, 30],
      [40, 50, 60]],

      [[70, 80, 90],
      [100, 110, 120]]
    ];
    mat = $M.jsa2mat(ndarray);

From this version, mat(:, :, 1) is [[10, 20, 30], [40, 50, 60]] mat(:, :, 2) is [[70, 80, 90], [100, 110, 120]]

v0.0.0

7 years ago

First release of Sushi2. Compiled scripts for web browser is provided along with the release.