1.0.6 • Published 3 years ago

nv-mat-basic v1.0.6

Weekly downloads
239
License
ISC
Repository
-
Last release
3 years ago

nv-mat-basic

  • nv-mat-basic

install

  • npm install nv-mat-basic

usage

example

const mat_bsc = require('nv-mat-basic')

APIS

  • is_bigint(n)
  • just_gt_of_power_two(n)
  • index_to_range(ri,colnum)
  • $0_loc_to_index(rn,cn,colnum)
  • $0_index_to_loc(ri,colnum)
  • $1_loc_to_index(rn,cn,colnum)
  • $1_index_to_loc(ri,colnum)
  • loc_to_index(rn,cn,colnum,style=0)
  • index_to_loc(index,colnum,style=0)
  • index_get_rn(index,colnum,style=0)
  • index_get_cn(index,colnum,style=0)
  • rn_get_index(rn,colnum,style=0)
  • rnget_range(rn,colnum,style=0)
  • cnget_indexes(cn,rownum,colnum,style=0)
  • series_to_mat(arr,colnum)
  • get_submat(m,loc0,loc1,include_ei=true,style=0)
  • transpose(mat)
  • swap_row(m,rn0,rn1,style=0)
  • swap_col(m,cn0,cn1,style=0)
  • foreach(m,f,style=0)
  • cp(m)
  • map(m,f,style=0)
  • sort(m,f)

LICENSE

  • ISC