python/pycubool/io.py
def import_matrix_from_mtx(path: str):
    """
    Read matrix from file in the mtx format.

    :param path: Path and name of the file with matrix
    :return: Matrix created from data
    """

    shape, rows, cols, nvals = read_mtx_file(path)
    return Matrix.from_lists(shape=shape, rows=rows, cols=cols, is_sorted=False, no_duplicates=False)

    Read matrix from file in the mtx format.

    :param path: Path and name of the file with matrix
    :return: Matrix created from data
    
Read matrix from file in the mtx format.
Read matrix from file in the mtx format .
def import_matrix_from_mtx(path: str):
    shape, rows, cols, nvals = read_mtx_file(path)
    return Matrix.from_lists(shape=shape, rows=rows, cols=cols, is_sorted=False, no_duplicates=False)
def import_matrix_from_mtx ( path : str ) : shape , rows , cols , nvals = read_mtx_file ( path ) return Matrix . from_lists ( shape = shape , rows = rows , cols = cols , is_sorted = False , no_duplicates = False )
Read matrix from file in the mtx format.
Read matrix from file in the mtx format .
"""
    Read matrix from file in the mtx format.

    :param path: Path and name of the file with matrix
    :return: Matrix created from data
    """
Matrix created from data
Matrix created from data
path
str
Path and name of the file with matrix
Path and name of the file with matrix