Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1010951 // nthColumn

JavaX fragment (include)

static <A> L<A> nthColumn(LL<A> matrix, int idx) {
  new L<A> l;
  for (L<A> row : matrix)
    l.add(get(row, idx));
  ret l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010951
Snippet name: nthColumn
Eternal ID of this version: #1010951/1
Text MD5: 0052caf85034d0065035d9aa4057088f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-10 01:09:02
Source code size: 132 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 376 / 445
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)