Autor Beitrag
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Mo 20.11.06 16:40 
Callus-SOLvEr V1.0

Es handelt sich hierbei um eine Konsolenanwendung, die es ermöglicht lineare Gleichungssysteme der Form Ax = b, die in einer Textdatei gespeichert sind, zu lösen und die Lösungen in ein Resultfile zu schreiben.

Es werden 7 Methoden angeboten mit denen die Gleichungssysteme gelöst werden können:

(1) Singulärwertzerlegung
(2) LU Zerlegung
(3) QR Zerlegung
(4) Cholesky Zerlegung
(5) Inversion der Systemmatrix
(6) Iteratives Gauss-Seidel Verfahren
(7) LU Zerlegung für schwach besetzte Matrizen (sparse)

Es können nicht alle Gleichungssysteme mit jeder Methode gelöst werden. Modus 7 benötigt außerdem ein anderes Inputfile als die restlichen sechs. Für nähere Informationen tippe "solver" in der Konsole.
Das komplette Programm ist gut auf Englisch dokumentiert.

Gruß

Calculon
--
Einloggen, um Attachments anzusehen!


Zuletzt bearbeitet von Calculon am Fr 09.03.07 15:04, insgesamt 2-mal bearbeitet
Calculon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Do 08.03.07 17:41 
So Leute,

bevor das Semester wieder los geht haue ich hier mal die neueste Version von meiner heiß begehrten (2 Downloads in zig Monaten - davon einer ich :mrgreen: ) Konosolenanwendung drauf. Also wie oben beschrieben war das ganze mal als SOLvEr für lineare Gleichungssysteme konzipiert aber im Laufe der Zeit habe ich das Programm in alle Richtungen erweitert und ich selbst nutze es hauptsächlich für Automatisierungszwecke. Mit selbst erstellten Skripts kann Callus so ziemlich einiges automatisieren.

Genug gelabert, hier ein Beispiel aus meinem Alltag:

Ich lieg' im Bett und will noch was kucken dafür benutze ich den Media Player Classic und ich weiß nach ca. 45 Minuten (=2700 sec) schlaf' ich ein. Also in meinem vorher erstellten Skript hab' ich rein geschrieben:
Zitat:

delay(2700)
kill mplayerc.exe

Ich muss morgen aber früh aufstehen und stelle deshalb meinen Wecker mit Ansage und öffne dann eine playlist:
Zitat:

timer(09.03.07,07:30:00)
say ,good morning calculon! Time to go to the stupid university! Wake up!
open c:\dokumente und einstellungen\user\eigene dateien\radiostations\trenchtown_fm.pls

Während die Ansage mich sanft weckt und mit angenehmer Musik im Hintergrund mach' ich mich dann auf und weiß in 20 Minuten (=1200 sec) muss ich raus und kann dann meinen Rechner runterfahren:
Zitat:

delay(1200)
cmd /c shutdown -s -f -c "So long suckers!" -t 10


Das oben aufgeführte Skript speichere ich in einer Datei und führe es in der Konsole mit "run [Dateiname]" aus.

So nutze ich das ganze. Jeder Befehl, der in der Konsole eingegeben werden kann, kann auch im Skript abgearbeitet werden (außer "run").

Hier eine Liste der bislang unterstützten Befehle:
ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
{
       Browsing
       ========

       cd       --> change directory
                    Usage: cd [directory]
       cd..     --> superior folder
       dir      --> shows files and subdirectories
       ls       --> shows files and subdirectories
       path     --> shows the current path
       explorer --> opens the explorer in the current path
       open     --> opens a file (*.exe and other known files)
                    Usage: open [filename.ext]
       find     --> finds files in selected directories
                    Usage: find [filename],[directory],[directory],...
                    Type "find" for concrete examples.
       copy     --> copies a file from one place to another
                    Usage: copy "[from *\filename.ext]" "[to *\filename.ext]"
       move     --> moves a file from one place to another
                    Usage: move "[from *\filename.ext]" "[to *\filename.ext]"
       delete   --> deletes a file
                    Usage: delete [filename.ext]
       rename   --> renames a file or a directory
                    Usage: rename "[old filename.ext]" "[new filename.ext]"
                           rename "[old directoryname]" "[new directoryname]"
       mkdir    --> makes a new directory
                    Usage: mkdir [directory]
       cpdir    --> copies a directory to another directory
                    Usage: cpdir "[directory]" "[to directory]"
       mdir     --> moves a directory to another directory
                    Usage: mdir "[from directory]" "[to directory]"
       rmdir    --> removes a directory
                    Usage: rmdir [directory]
                    NOTE: All files and subdirectories will be deleted!


       SOLvEr
       ======

       param        --> shows the editable parameters and settings
       format       --> allows to format the solution vector/s in the resultfile
                        which are of the type double (15 digits precision)
                        Usage: format [all digits]:[decimal places]
       sparse       --> converts a full matrix to a sparse matrix
                        Usage: sparse [filename.ext]
                        Type "sparse" for further informations.
       mode         --> changes solution mode
                        Usage: mode 1 (or) mode svd
                               mode 2 (or) mode lu (only if square)
                               mode 3 (or) mode qr
                               mode 4 (or) mode chol (only if square/symmetric)
                               mode 5 (or) mode inv (only if square)
                               mode 6 (or) mode gs (only if square/symmetric)
                               mode 7 (or) mode spar (only if sparse/square)
                        Type "mode" for further informations.
       chfile       --> changes the default output filename to a new one
                        Usage: chfile [filename.ext]
       solve        --> solves the linear equation/s in a textfile using the
                        active solution mode
                        Usage: solve [filename.ext]
                        Type "solve" for further informations.
       show results --> shows results in the console;
                        only "solve"-function-results will be shown


       Matrix-Operations
       =================

       add   --> addition of two matrices
                 Type "add" for further informations.
       sub   --> subtraction of two matrices
                 Type "sub" for further informations.
       mult  --> multiplication of two matrices
                 Type "mult" for further informations.
       smult --> multiplication of every element of a matrix with a scalar
                 Type "smult" for further informations.
       sdiv  --> division of every element of a matrix by a scalar
                 Type "sdiv" for further informations.
       inv   --> inversion of a square nonsingular matrix
                 Type "inv" for further informations.
       trans --> transposing a matrix
                 Type "trans" for further informations.

       Type "oper" for concrete examples.


       Editor
       ======

       create  --> creates a textfile
                   Usage: create [filename.ext],[number of lines]
                   Type "create" for further informations.
       read    --> opens a textfile to the console
                   Usage: open [textfile.ext]
       insert  --> inserts strings into a textfile
                   Usage:
                   insert [c],[filename.ext],[from..to linenr],[columnnr],"[string]"
                   insert [l],[filename.ext],[linenr],,"[string]"
                   Type "insert" for further informations.
       trim    --> removes blank spaces at the beginning or the end of a textfile
                   Usage: trim [l/r/a],[filename.ext]
                   Type "trim" for further informations.
       replace --> replaces all selected strings in a text-file by a defined string
                   Usage: replace [c/n],[filename.ext],"[find string]","[replace by]"
                   Type "replace" for further informations.
       count   --> identifies unknown dimension of a matrix
                   averages dimensions if not well-defined
                   Usage: count [filename.ext]
       encrypt --> encrypts a textfile using the blowfish method
                   Usage: encrypt [filename.ext]
                   Type "encrypt" for further informations.
       decrypt --> decrypts a blowfish-encoded file
                   Usage: decrypt [filename.ext]
                   Type "decrypt" for further informations.

       Type "edit" for concrete examples.


       System
       ======

       full    --> switches to full screen mode
       small   --> switches to normal screen mode
       time    --> shows current time and date
       delay   --> executes a delay
                   Usage: delay([integer-value in seconds])
       timer   --> holds the program until the input date/time has been reached
                   Usage: timer([date],[time])
                   Type "timer" for a concrete example.
       say     --> uses installed speak-voice to speak text-messages
                   Usage: say ,[text-message]
                          say ff,[filename.ext]
                   Type "say" for concrete examples.
       process --> shows active process-list
       kill    --> terminates an open task
                   Usage: kill [filename.ext]
       cmd     --> sends commands to cmd.exe
                   Usage: cmd /c [command]
                   Type "cmd" for concrete examples
       .       --> allows to send an url-address to your browser
                   Usage: .[url] (without "http://www.")
       exit    --> ends the application


       Other
       =====

       param    --> shows the editable parameters and settings
       save ini --> saves the current (param) settings to "callus.ini"
                    Type "save" for further informations.
       default  --> defaults changed settings
                    Type "default" for further informations.
       clear    --> clears the window
       color    --> changes colors of the console
                    Usage [bg/fg/sp],[color]
                    Type "color" for further informations
       run      --> executes batch jobs
                    Usage: run [filename.ext]
                    Type "run" for a concrete example.

       You can also use the console as a calculator. Type "calc" to view the
       supported functions.


       Documentation
       =============

       help    --> shows command list 
       solver  --> short SOLvEr manual with examples
       oper    --> shows examples of matrix-operations
       edit    --> shows examples of editor-operations
       about   --> informations about SOLvEr
       credits --> some credits
}


Over & Out

Been back to School :cry:

Calculon
--
DarkHunter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 477

Win XP
D3 Prof, D2005 PE
BeitragVerfasst: Do 08.03.07 19:06 
Beeindruckend,

das Programm gefällt mir.
Diese Sprachausgabe ist einfach genial.
Mal sehen was ich mir damit alles automatisiere :D

_________________
I believe that every human has a finite number of heart-beats. I don't intend to waste any of mine running around doing exercises.
- Neil Armstrong
Calculon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Fr 09.03.07 15:12 
DarkHunter hat folgendes geschrieben:
Beeindruckend,

das Programm gefällt mir.

Vielen Dank! :D Schön mal eine Reaktion zu hören und dann noch so eine gute!

DarkHunter hat folgendes geschrieben:
Diese Sprachausgabe ist einfach genial.

Hier kannst du dir wenn du willst kostenlos eine deutsche weibliche Stimme (ScanSoft Steffi) runterladen. Sie klingt ein wenig wie die Stimme bei Navis. Nach dem Installieren unter Systemsteuerung --> Sprachein-/ausgabe --> Stimmenauswahl von Microsoft Sam auf Steffi umswitchen und dann mit Callus ausprobieren!

Gruß

Calculon
--