def matrix_tensor_product(*product):
    if isinstance(product[0], Matrix):
        return _sympy_tensor_product(*product)
    elif isinstance(product[0], numpy_ndarray):
        return _numpy_tensor_product(*product)
    elif isinstance(product[0], scipy_sparse_matrix):
        return _scipy_sparse_tensor_product(*product)
Simple function to return value from XML
dataset/ETHPy150Open sympy/sympy/sympy/physics/quantum/matrixutils.py/matrix_tensor_product--crossover with--dataset/ETHPy150Open saltstack/salt/salt/returners/nagios_return.py/_getText