class_docstr: A printer to convert SymPy expressions to strings of R code
class_docstr_tok: ["A","printer","to","convert","SymPy","expressions","to","strings","of","R","code"]
code: def _traverse_matrix_indices(self, mat):
      rows, cols = mat.shape
      return ((i, j) for i in range(rows) for j in range(cols))
  
imports: from __future__ import annotations
  from typing import Any
  from sympy.core.numbers import equal_valued
  from sympy.printing.codeprinter import CodePrinter
  from sympy.printing.precedence import precedence, PRECEDENCE
  from sympy.sets.fancysets import Range
label_desc: Use image node_id 7 for calling the RCodePrinter obj's underlying member method code with example usage: obj._traverse_matrix_indices(mat) and returns: unknown