Mojo function
get_warp_coords
get_warp_coords[BN: Int, WN: Int]() -> Tuple[Int, Int]
Return (warp_row, warp_col) for the current warp given a BN×WN grid.
Python-style: var row, col = get_warp_coords[BN, WN]().
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!