Searched refs:linear_val (Results 1 – 1 of 1) sorted by relevance
99 def get_2d(self, linear_val): argument109 return linear_val % self.cols112 return linear_val % self.rows114 val_x = linear_val % self.cols115 val_y = linear_val / self.cols