numpy-like package for node

前端 未结 9 2049
误落风尘
误落风尘 2021-01-31 01:30

During my years on Python development, I\'ve always been amazed at how much much much faster things become if you manage to rewrite that code that loops though your ndarray and

9条回答
  •  深忆病人
    2021-01-31 02:32

    scijs's ndarray is also good. link

    var mat = ndarray(new Float64Array([1, 0, 0, 1]), [2,2])
     
    //Now: 
    // 
    // mat = 1 0 
    //       0 1 
    // 
    

提交回复
热议问题