create#

Matrix.create(source_names: str | list = None, new_net_name: str = None, new_source_name: str = None, new_sink_name: str = None) bool#

Create a new matrix.

Parameters:
source_namesstr or list

List or str containing the content of the matrix reduction.

new_net_namestr, optional

Name of the new net. The default is None.

new_source_namestr, optional

Name of the new source. The default is None.

new_sink_namestr, optional

Name of the new sink. The default is None.

Returns:
bool

True if succeeded.