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

7
LINES

< > BotCompany Repo | #1027393 // getColumn - get certain column of LL<A>

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (2258L) is out of date.

static <A> L<A> getColumn(int col, Cl<L<A>> matrix) {
  ret map(matrix, row -> get(row, col));
}

static <A> L<A> getColumn(Cl<L<A>> matrix, int col) {
  ret getColumn(col, matrix);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027393
Snippet name: getColumn - get certain column of LL<A>
Eternal ID of this version: #1027393/2
Text MD5: 711c54dea4703daa2a74fdd1fcc76ce7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-17 11:49:14
Source code size: 185 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 115 / 170
Version history: 1 change(s)
Referenced in: [show references]