Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.19 KB

Coverage Status Go Report Card GoDoc GitHub license

matpi

Convert matrix from gonum.mat.Matrix to PNG picture. Non-zero matrix element is black.

Example:

	m := mat.NewDense(100, 80, nil)
	for i := 0; i < 80; i++ {
		m.Set(i, i, 1.0)
	}

	err := matpi.Convert(m, "result.png", matpi.NewConfig())
	if err != nil {
		return
	}

Diagonal

Symmetrical LU matrix

Mass Matrix

Matrix for modal calculation