Git Product home page Git Product logo

ndarray-show's Issues

Misplaced dependency

index.js requires ndarray, but ndarray is in devDependencies. This breaks browserify. requirebin fails as expected (fails so can't share link) with the sample code:

var ndarray = require('ndarray');
var show = require('ndarray-show');

var m = ndarray([ 1, 2, 3, 4 ]);
console.log(show(m));

with error:

…
Error: "browserify exited with code 1"

code: 1
stderr: Error: Cannot find module 'ndarray' from '/tmp/ndarray-show11547-912-1guekh1/node_modules/ndarray-show'
…

Print format is vertical ordering?

What i expected to be print out is format like python numpy,
is it intend to be vertical ordering or am i missing something?

3 x 2 Matrix

var m = ndarray([ 1, 4, 2.34e-9, 5.55e55, 3, -990.52 ], [ 3, 2 ]);

ndarray-show result:

1.000  2.00e-9    3.000
4.000  5.55e+5 -990.520

Instead of

1.000     4.000
2.00e-9  5.55e55
3.000     -990.52 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.