Overview
Comment:Added Geraint's fix for zeroing matrices
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 84118dc0fb6a1f65e5dd09a4d8862640afdb3e75041b7879275652c090525f5c
User & Date: gawthrop@users.sourceforge.net on 2000-12-01 20:55:01
Other Links: branch diff | manifest | tags
Context
2000-12-03
15:47:53
*** empty log message *** check-in: e6bc57c1cd user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-12-01
20:55:01
Added Geraint's fix for zeroing matrices check-in: 84118dc0fb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:11:13
Changed tmp name to mtt_tmp check-in: 66058f2870 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/mtt_header from [0cf51399c1] to [202c842c74].

8
9
10
11
12
13
14



15
16
17
18
19
20
21
# Copyright (C) 2000 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$



## Revision 1.15  2000/11/29 21:06:16  peterg
## Removed Npar creation - not needed??
##
## Revision 1.14  2000/11/27 11:51:43  peterg
## Added zero matrices in matlab code
##
## Revision 1.13  2000/11/09 17:19:52  peterg







>
>
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright (C) 2000 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.16  2000/12/01 17:56:30  peterg
## Removed spurious  echo '## Set matrices to zero' - thanks Geraint
##
## Revision 1.15  2000/11/29 21:06:16  peterg
## Removed Npar creation - not needed??
##
## Revision 1.14  2000/11/27 11:51:43  peterg
## Added zero matrices in matlab code
##
## Revision 1.13  2000/11/09 17:19:52  peterg
577
578
579
580
581
582
583








584
585
586
587
588
589
590

if [ ${language} = "oct" ];then
    write_DLD_header
    map_DLD_inputs ${args}
    undeclared=$(get_extra_fields ${args:-"nil"} ${output:-"nil"})
    declare_DLD_outputs ${undeclared}
    array2constant








    cat <<EOF

// BEGIN Code

EOF
    return_DLD_outputs ${output}
else







>
>
>
>
>
>
>
>







580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601

if [ ${language} = "oct" ];then
    write_DLD_header
    map_DLD_inputs ${args}
    undeclared=$(get_extra_fields ${args:-"nil"} ${output:-"nil"})
    declare_DLD_outputs ${undeclared}
    array2constant
 	case ${arg_type} in
 	    Matrix)
 		printf "  ${w}\t\t\t= zeros ${arg_size};\n"
 		;;
 	    *)
 		;;
 	esac

    cat <<EOF

// BEGIN Code

EOF
    return_DLD_outputs ${output}
else


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]