% This function performs Transitive Closure on the input path matrix 'm',
% which is a directed acyclic graph (DAG),
% using simple matrix multiplication method.
% Example:
% input: m = [ 0 1 0;
% 0 0 1;
% 0 0 0];
% output: m = [ 0 1 1;
% 0 0 1;
% 0 0 0];
引用格式
Wei-Rong Chen (2024). Transitive Closure (https://www.mathworks.com/matlabcentral/fileexchange/50143-transitive-closure), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R12
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Construction 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.1 | - |
|
|
1.0.0.0 |
|