Commonly used kernel values.
More...
|
| template<typename T > |
| void | ones (T *array, const unsigned int s) |
| | Fills the kernel with ones.
|
| |
| template<typename T > |
| void | life (T *array, const unsigned int s) |
| | Fills the kernel with a pattern to run Conway's Game of Life.
|
| |
Commonly used kernel values.
◆ life()
template<typename T >
| void CellularAutomata::Kernels::life |
( |
T * |
array, |
|
|
const unsigned int |
s |
|
) |
| |
Fills the kernel with a pattern to run Conway's Game of Life.
- Template Parameters
-
- Parameters
-
| array | kernel array |
| s | kernel size |
◆ ones()
template<typename T >
| void CellularAutomata::Kernels::ones |
( |
T * |
array, |
|
|
const unsigned int |
s |
|
) |
| |
Fills the kernel with ones.
- Template Parameters
-
- Parameters
-
| array | kernel array |
| s | kernel size |