Overview
| Comment: | Changed obsolete <> to != |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
0da44dec18fabafa1ebfb0393429c5ad |
| User & Date: | gawthrop@users.sourceforge.net on 2004-03-15 11:45:13.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2004-03-15
| ||
| 16:23:31 | Removed multiple-runs bug - now just runs once! check-in: 4a616b698e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 11:45:13 | Changed obsolete <> to != check-in: 0da44dec18 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 11:44:34 | Yet another option (to allow legend). check-in: 6c202451bd user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/m/mtt_check_sigs.m
from [f2ac476a38]
to [9dbc2e2795].
1 2 3 4 5 6 7 8 9 10 11 12 13 | function N = mtt_check_sigs (outsig,insigs) ## usage: N = mtt_check_sigs (outsig,insigs) ## ## ## A signal has the columns: bond number signal causality (+1 or -1) ## and component port number M=3; ## Sanity check [N_out,M_out] = size(outsig); | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
function N = mtt_check_sigs (outsig,insigs)
## usage: N = mtt_check_sigs (outsig,insigs)
##
##
## A signal has the columns: bond number signal causality (+1 or -1)
## and component port number
M=3;
## Sanity check
[N_out,M_out] = size(outsig);
if N_out!=1
error("There must be exactly one outbond");
endif
[N_in,M_in] = size(insigs);
if (M_out!=M)||(M_in!=M)
error(sprintf("There must be exactly %i elements to a bond (number, causality, port)",M));
endif
|
| ︙ | ︙ |