create#
- Matrix.create(source_names=None, new_net_name=None, new_source_name=None, new_sink_name=None)[source]#
Create a new matrix.
- Parameters:
- source_names
str
,list
List or str containing the content of the matrix reduction (eg. source name).
- new_net_name
str
,optional
Name of the new net. The default is
None
.- new_source_name
str
,optional
Name of the new source. The default is
None
.- new_sink_name
str
,optional
Name of the new sink. The default is
None
.
- source_names
- Returns:
- bool
True if succeeded.