'analysis of rhs when lhs is not array'

def _analyze_rhs_classes_no_lhs_array(self, rhs):

    if (isinstance(rhs, ir.Expr) and (rhs.op == 'call')):
        call_name = 'NULL'
        if (rhs.func.name in self.numpy_calls.keys()):
            call_name = self.numpy_calls[rhs.func.name]
            if (call_name == 'dot'):
                assert ((len(rhs.args) == 2) or (len(rhs.args) == 3))
                in1 = rhs.args[0].name
                in2 = rhs.args[1].name
                if ((not self._isarray(in1)) or (not self._isarray(in2))):
                    return
                assert (self._get_ndims(in1) == 1)
                assert (self._get_ndims(in2) == 1)
                c1 = self.array_shape_classes[in1][0]
                c2 = self.array_shape_classes[in2][0]
                self._merge_classes(c1, c2)
    return
