[go: nahoru, domu]

Skip to content

Konstantin8105/matpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages