Uses 652K of libraries. Click here for Pure Java version (49L/1K).
!include once #1035331 // EJML Include (Matrix library) static DMatrixRMaj ejmlVectorToMatrix(double... vector) { int n = vector.length; var matrix = new DMatrixRMaj(n, 1); for i to n: matrix.set(i, 0, vector[i]); ret matrix; }
Began life as a copy of #1035364
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035365 |
| Snippet name: | ejmlVectorToMatrix |
| Eternal ID of this version: | #1035365/4 |
| Text MD5: | 50a286e018f0ed6abb633bdef6351ed8 |
| Transpilation MD5: | 7d2fb205752f4eb35e695f9fb67650fa |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-02 13:16:39 |
| Source code size: | 248 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 391 / 491 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |