| 8 | ) |
| 9 | |
| 10 | type Matrix[T constraints.Integer] struct { |
| 11 | elements [][]T |
| 12 | rows int |
| 13 | columns int |
| 14 | } |
| 15 | |
| 16 | // NewMatrix creates a new Matrix based on the provided arguments. |
| 17 | func New[T constraints.Integer](rows, columns int, initial T) Matrix[T] { |
nothing calls this directly
no outgoing calls
no test coverage detected