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.

1  
static <A> L<A> getColumn(int col, Cl<L<A>> matrix) {
2  
  ret map(matrix, row -> get(row, col));
3  
}
4  
5  
static <A> L<A> getColumn(Cl<L<A>> matrix, int col) {
6  
  ret getColumn(col, matrix);
7  
}

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: 190 / 269
Version history: 1 change(s)
Referenced in: [show references]