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

3
LINES

< > BotCompany Repo | #1033375 // listOfListsToMatrixOfMatrices

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

Libraryless. Click here for Pure Java version (5333L/29K).

static <A> MatrixOfMatrices<A> listOfListsToMatrixOfMatrices(int w1, int w2, LL<A> l) {
  ret listToMatrix(w1, map(x -> listToMatrix(w2, x), l));
}

Author comment

Began life as a copy of #1033358

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033375
Snippet name: listOfListsToMatrixOfMatrices
Eternal ID of this version: #1033375/2
Text MD5: 9edd16b55fd75c64e2f29097400010c6
Transpilation MD5: 270dde6d6e498ced53ad6dabb49dda72
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-26 19:24:52
Source code size: 149 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 173 / 255
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033378 - listOfListsToMatrixOfMatrices_rows - supply row counts instead of column counts