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

12
LINES

< > BotCompany Repo | #1035323 // EJML Experiments

JavaX (incomplete)

1  
lib 1400578 // ejml-simple (matrix library)
2  
lib 1400579 // ejml-core
3  
lib 1400580 // ejml-ddense
4  
5  
import org.ejml.simple.*;
6  
7  
var matrix = new SimpleMatrix(new double[][] { {1, 2}, {3, 4 } });
8  
print(matrix);
9  
print(trace := matrix.trace());
10  
print(deg := matrix.determinant());
11  
12  
var evd = new SimpleEVD(matrix);

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035323
Snippet name: EJML Experiments
Eternal ID of this version: #1035323/1
Text MD5: 680902647c9e8549964c907d5642eb84
Author: stefan
Category: javax
Type: JavaX (incomplete)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-01 03:13:37
Source code size: 318 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 55 / 58
Referenced in: [show references]