code: def solve_upper_triangular(A, b):
      """Solves Ax=b when A is upper triangular."""
      return _solve_triangular_common(A, b, lower=False)
  
imports: from __future__ import print_function
  from __future__ import division
  import numpy
  from scipy.sparse import dok_matrix
  from scipy.linalg import solve_triangular
label_desc: Use image node_id 16 for calling a global function with example usage: solve_upper_triangular(A, b) and returns: _solve_triangular_common