generics

package
v0.40.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeMatrix2D

func MakeMatrix2D[T any](n, m int) [][]T

MakeMatrix2D returns a 2-dimensional matrix. Usage as follows `a := Make2D[uint8](dy, dx)`. Sourced from: https://stackoverflow.com/a/71781206/1908967

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL