Class FMatrixComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

@Generated("org.ejml.dense.row.DMatrixComponent") public class FMatrixComponent extends JPanel
Renders a matrix as an image. Positive elements are shades of red, negative shades of blue, 0 is black.
See Also:
  • Constructor Details

    • FMatrixComponent

      public FMatrixComponent(int width, int height)
  • Method Details

    • setMatrix

      public void setMatrix(org.ejml.data.FMatrixD1 A)
    • renderMatrix

      public static void renderMatrix(org.ejml.data.FMatrixD1 M, BufferedImage image, float maxValue)
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent