Overview
Comment: | Create vectors using zeros(N,1) - avoids new octave default to row vector - more reps now included |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a453020289fffe992d52d94a18c8e0f2 |
User & Date: | gawthrop@users.sourceforge.net on 2004-06-20 13:34:11 |
Other Links: | branch diff | manifest | tags |
Context
2004-06-20
| ||
13:53:06 | Initialise for numpar as well check-in: 657d7472ea user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
13:34:11 |
Create vectors using zeros(N,1) - avoids new octave default to row vector - more reps now included check-in: a453020289 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
10:18:00 | Explicitly size vectors - avoid default row vector bug check-in: 67d03faf90 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/mtt_header from [70a9b440f6] to [fd7c161201].
︙ | ︙ | |||
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.56 2003/04/17 20:07:33 geraint ## Added rule to create _sese.m ## ## Revision 1.55 2002/10/30 01:15:20 gawthrop ## Now gives correct-size matrices for dm rep. ## ## Revision 1.54 2002/07/11 13:00:23 geraint | > > > | 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.57 2004/06/20 10:18:00 gawthrop ## Explicitly size vectors - avoid default row vector bug ## ## Revision 1.56 2003/04/17 20:07:33 geraint ## Added rule to create _sese.m ## ## Revision 1.55 2002/10/30 01:15:20 gawthrop ## Now gives correct-size matrices for dm rep. ## ## Revision 1.54 2002/07/11 13:00:23 geraint |
︙ | ︙ | |||
287 288 289 290 291 292 293 294 295 296 297 298 299 300 | ;; cse) states=yes; inputs=yes; parameters=yes; output='mttdx,mtte' args=$eqnargs ;; csex) states=yes; inputs=yes; parameters=yes; output=mttedx args=$eqnargs | > | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | ;; cse) states=yes; inputs=yes; parameters=yes; output='mttdx,mtte' args=$eqnargs zeromatrices='dx,e' ;; csex) states=yes; inputs=yes; parameters=yes; output=mttedx args=$eqnargs |
︙ | ︙ | |||
325 326 327 328 329 330 331 332 333 334 335 336 337 338 | parameters=no; declareinputs=no; else states=yes; parameters=yes; declareinputs=yes declarestates=yes fi ;; logic) states=no; inputs=no; parameters=yes; output=mttopen | > | 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | parameters=no; declareinputs=no; else states=yes; parameters=yes; declareinputs=yes declarestates=yes zeromatrices=u fi ;; logic) states=no; inputs=no; parameters=yes; output=mttopen |
︙ | ︙ | |||
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | ;; ode) states=yes; inputs=yes; parameters=yes; output='mttdx' args=$eqnargs ;; odeo) states=yes; inputs=yes; parameters=yes; output='mtty' args=$eqnargs ;; ode2odes) states=no; inputs=no; parameters=no; output='mtt_data' args='x0,par,simpar' | > > | 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 | ;; ode) states=yes; inputs=yes; parameters=yes; output='mttdx' args=$eqnargs zeromatrices='dx' ;; odeo) states=yes; inputs=yes; parameters=yes; output='mtty' args=$eqnargs zeromatrices='y' ;; ode2odes) states=no; inputs=no; parameters=no; output='mtt_data' args='x0,par,simpar' |
︙ | ︙ | |||
379 380 381 382 383 384 385 386 387 388 389 390 391 392 | ;; sese) states=yes; inputs=yes; parameters=yes; output="mttdx,mtty"; args=$eqnargs; ;; sm) states=no; inputs=no; parameters=yes; output='mtta,mttb,mttc,mttd' args=mttpar; | > | 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 | ;; sese) states=yes; inputs=yes; parameters=yes; output="mttdx,mtty"; args=$eqnargs; zeromatrices="dx,y"; ;; sm) states=no; inputs=no; parameters=yes; output='mtta,mttb,mttc,mttd' args=mttpar; |
︙ | ︙ | |||
411 412 413 414 415 416 417 418 419 420 421 422 423 424 | state) states=no; inputs=no; parameters=yes; output=mttx args=mttpar declarestates=yes ;; sim) states=no; inputs=no; parameters=no; output='y,x,t' args='x0,par,simpar,u' | > | 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | state) states=no; inputs=no; parameters=yes; output=mttx args=mttpar declarestates=yes zeromatrices=x ;; sim) states=no; inputs=no; parameters=no; output='y,x,t' args='x0,par,simpar,u' |
︙ | ︙ | |||
575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 | ;; d) N=$Ny; M=$Nu ;; e) N=$Nx; M=$Nx ;; edx) N=$Nx; M=1 ;; y) N=$Ny; M=1 ;; open) N=$Nx; M=1 ;; ax) N=$Nx; M=1 ;; *) | > > > > > > > > > | 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 | ;; d) N=$Ny; M=$Nu ;; e) N=$Nx; M=$Nx ;; x) N=$Nx; M=1 ;; dx) N=$Nx; M=1 ;; edx) N=$Nx; M=1 ;; y) N=$Ny; M=1 ;; u) N=$Nu; M=1 ;; open) N=$Nx; M=1 ;; ax) N=$Nx; M=1 ;; *) |
︙ | ︙ |