Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CartesianProduct ¶
func CartesianProduct[T any](vs ...[]T) [][]T
CartesianProduct returns the cartesian product of the input vectors as a vector of vectors, each with length the same as the number of input vectors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.