 |
Random matrix and its visualisation
Source code name: "matrix_ejml_radom_vis.py"
Programming language: Python
Topic: Linear Algebra/Matrices
DMelt Version 1. Last modified: 05/26/2016. License: Pro
https://datamelt.org/code/cache/matrix_ejml_radom_vis_7745.py
To run this script using the DMelt IDE,
copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.
from org.ejml.ops import RandomMatrices
from java.util import Random
from org.ejml.ops import MatrixVisualization
A=RandomMatrices.createSymmetric(20,-10,10,Random())
MatrixVisualization.show(A,"Small Matrix")
You see the box below because you did not login.