grcobase.m

来自「有关图论程序」· M 代码 · 共 19 行

M
19
字号
function CBG=grCoBase(E)
% Function CBG=grCoBase(E) find all contrabases of digraph. 
% Input parameter: 
%   E(m,2) - the arrows of digraph;
%     1st and 2nd elements of each row is numbers of vertexes;
%     m - number of arrows.
% Output parameter:
%   CBG(ncb,nv) - the array with numbers of vertexes.
%     ncb - number of contrabasis;
%     nv - number of vertexes in each contrabasis.
%     In each row of the array BG is numbers 
%     of vertexes of this contrabasis.
% Author: Sergiy Iglin
% e-mail: siglin@yandex.ru
% personal page: http://iglin.exponenta.ru

E=E(:,[2 1]);
CBG=grBase(E);
return

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?