parameters: (var, mode="python", varname = "",aux_dict={}, initial_tabs = 1,max_index=30)
return_statement: return outstring
docstring: This method converts into text the LHS matrix (only non-zero terms)
  
      Keyword arguments:
      var -- The variable to define symbolic
      mode -- The mode of output
      varname -- The name of the variables
      aux_dict -- Auxiliar dictionary
      initial_tabs -- The number of tabulations considered
      max_index -- The maximum index
docstring_summary: This method converts into text the LHS matrix (only non-zero terms)
docstring_tokens: This method converts into text the LHS matrix ( only non - zero terms )
function: def OutputSymbolicVariable(var, mode="python", varname = "",aux_dict={}, initial_tabs = 1,max_index=30):
      """ This method converts into text the LHS matrix (only non-zero terms)
  
      Keyword arguments:
      var -- The variable to define symbolic
      mode -- The mode of output
      varname -- The name of the variables
      aux_dict -- Auxiliar dictionary
      initial_tabs -- The number of tabulations considered
      max_index -- The maximum index
      """
      initial_spaces = ""
      for i in range(0,initial_tabs):
          initial_spaces += "    "
  
      outstring = ""
  
      if mode == "python":
          outstring += initial_spaces + str(var) + "\n"
      elif mode == "c":
          if "// Not supported in C:" in sympy.ccode(var):
              if "Derivative" in str(var):
                  for constantname, constantexp in aux_dict.items():
                      var = var.replace(constantname, constantexp)
                  aux_string = str(var)
                  outstring += initial_spaces + "//subsvar_" + aux_string+ "; // " + aux_string[:].upper() + "\n"
              else:
                  aux_string = str(var)
                  aux_dict[varname]= aux_string
                  outstring += initial_spaces+ " //subsvar_" + aux_string+ "; // " + aux_string[:].upper() + "\n"
          else:
              outstring += initial_spaces + sympy.ccode(var)+ ";\n"
  
      outstring = SubstituteIndex(outstring, mode, max_index)
  
      return outstring
function_tokens: def OutputSymbolicVariable ( var , mode = "python" , varname = "" , aux_dict = { } , initial_tabs = 1 , max_index = 30 ) : initial_spaces = "" for i in range ( 0 , initial_tabs ) : initial_spaces += "    " outstring = "" if mode == "python" : outstring += initial_spaces + str ( var ) + "\n" elif mode == "c" : if "// Not supported in C:" in sympy . ccode ( var ) : if "Derivative" in str ( var ) : for constantname , constantexp in aux_dict . items ( ) : var = var . replace ( constantname , constantexp ) aux_string = str ( var ) outstring += initial_spaces + "//subsvar_" + aux_string + "; // " + aux_string [ : ] . upper ( ) + "\n" else : aux_string = str ( var ) aux_dict [ varname ] = aux_string outstring += initial_spaces + " //subsvar_" + aux_string + "; // " + aux_string [ : ] . upper ( ) + "\n" else : outstring += initial_spaces + sympy . ccode ( var ) + ";\n" outstring = SubstituteIndex ( outstring , mode , max_index ) return outstring