tenzr::TorusDimensions¶
Extents of a three-dimensional torus network.
#include <torus_model.h>
Public Functions¶
| Name | |
|---|---|
| int64_t | TotalNodes() const Total number of nodes in the torus. |
| std::string | ToString() const Render the dimensions as a string. |
Public Attributes¶
| Name | |
|---|---|
| int64_t | kx |
| int64_t | ky |
| int64_t | kz |
Public Functions Documentation¶
function TotalNodes¶
Total number of nodes in the torus.
function ToString¶
Render the dimensions as a string.
Return: Human-readable dimension string.
Render the torus dimensions as kx x ky x kz (N nodes).