Documentation ¶
Overview ¶
matrix is a package that defines a matrix type, and operations on it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Matrix ¶
type Matrix struct {
// contains filtered or unexported fields
}
Matrix is a slice of slice of int of a specified size
func Add ¶
Add adds two matrices if their dimensions are the same It returns a new matrix with the addition results, and the validity of the operation
Click to show internal directories.
Click to hide internal directories.