"""
An example of reading a matrix from a file in .mtx format
"""

import pycubool as cb


#
#  Import matrix from file
#

path = "data/input_matrix.mtx"              # relative path to target matrix
a = cb.import_matrix_from_mtx(path)         # read matrix from file

print("Result of import matrix from file:")
print(a, sep='\n')                          # Matrix output

73ac6aba65a2dae510fe5ee06b40460a72035fdd
<mask token>

<mask token>
print('Result of import matrix from file:')
print(a, sep='\n')

<mask token>
path = 'data/input_matrix.mtx'
a = cb.import_matrix_from_mtx(path)
print('Result of import matrix from file:')
print(a, sep='\n')

<mask token>
import pycubool as cb
path = 'data/input_matrix.mtx'
a = cb.import_matrix_from_mtx(path)
print('Result of import matrix from file:')
print(a, sep='\n')

"""
An example of reading a matrix from a file in .mtx format
"""

import pycubool as cb


#
#  Import matrix from file
#

path = "data/input_matrix.mtx"              # relative path to target matrix
a = cb.import_matrix_from_mtx(path)         # read matrix from file

print("Result of import matrix from file:")
print(a, sep='\n')                          # Matrix output
