186 lines
5.0 KiB
Plaintext
186 lines
5.0 KiB
Plaintext
=======================================
|
||
= =
|
||
= HP 2000 PART 5 (MATRACIES) =
|
||
= =
|
||
= CAPTURED BY =
|
||
= =
|
||
= BLITZIOD ?? & GALACTUS ** =
|
||
= =
|
||
= of =
|
||
= =
|
||
= THE ELITE HACKERS GUILD =
|
||
= =
|
||
=======================================
|
||
|
||
|
||
MATRICES
|
||
********
|
||
|
||
|
||
|
||
|
||
1. MAT ADD. & SUB. 2. MAT ASSIGNMENT 3. MAT...CON
|
||
4. MAT...IDN 5. MAT INPUT 6. MAT...INV
|
||
7. MAT MULT. 8. MAT PRINT 9. MAT PRINT#
|
||
10. MAT PRINT USING 11. MAT PRINT# USING 12. MAT READ
|
||
13. MAT READ# 14. MAT SCALAR MULT. 15. MAT...TRN
|
||
16. MAT...ZER
|
||
ENTER YOUR CHOICE, '0' TO STOP?1
|
||
|
||
|
||
|
||
|
||
MAT ADD. & SUB.
|
||
|
||
|
||
GEN FORM: MAT ARRAY NAME = ARRAY NAME + ARRAY NAME
|
||
|
||
OR
|
||
|
||
MAT ARRAY NAME = ARRAY NAME - ARRAY NAME
|
||
|
||
|
||
|
||
MAT ADD ADDS TWO MATRICES WITH THE SAME DIMENSIONS. (EX. MAT C=A+B).
|
||
OR, IN THE CASE OF SUBRACTION, IT SUBTRACTS TWO MATRICES
|
||
WITH THE SAME DIMENSIONS. (EX. MAT C=A-B).
|
||
NOTE: THE SAME ARRAY MAT APPEAR ON BOTH SIDES OF THE EQUAL SIGN
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?2
|
||
|
||
|
||
|
||
|
||
|
||
MAT ASSIGNMENT STATEMENT
|
||
|
||
|
||
GEN FORM: MAT ARRAY NAME=ARRAY NAME
|
||
|
||
THIS STATEMENT IS USED TO SET ONE ARRAY EQUAL TO ANOTHER ARRAY OF THE SAME
|
||
DIMENSIONS. EX. MAT A=B
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?3
|
||
|
||
|
||
|
||
|
||
MAT....CON STATEMENT
|
||
|
||
|
||
GEN FORM: MAT ARRAY NAME=CON [NEW DIMENSIONS]
|
||
|
||
THE MAT CON STATEMENT SET ALL THE ELEMENTS OF AN ARRAY
|
||
EQUAL TO ONE. (EX. MAT C=CON(5,10) , MAT D=CON )
|
||
|
||
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?4
|
||
|
||
|
||
|
||
|
||
MAT...IDN STATEMENT
|
||
|
||
|
||
|
||
GEN FORM: MAT ARRAY NAME=IDN [NEW DIMENSIONS]
|
||
|
||
THE MAT...IDN STATEMENT SETS UP AN IDENTITY MATRIX.
|
||
|
||
MAT INPUT STATEMENT
|
||
|
||
|
||
GEN. FORM: MAT INPUT [ARRAY LIST]
|
||
|
||
MAT INPUT ALLOWS YOU TO ENTER ENTIRE ARRAYS FROM THE
|
||
TERMINAL. SINGLE ELEMENTS MAY ALSO BE ENTERED. (EX. MAT INPUT A, OR
|
||
MAT INPUT A(4,4))
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?5
|
||
|
||
|
||
|
||
|
||
MAT INPUT STATEMENT
|
||
|
||
|
||
GEN. FORM: MAT INPUT [ARRAY LIST]
|
||
|
||
MAT INPUT ALLOWS YOU TO ENTER ENTIRE ARRAYS FROM THE
|
||
TERMINAL. SINGLE ELEMENTS MAY ALSO BE ENTERED. (EX. MAT INPUT A, OR
|
||
MAT INPUT A(4,4))
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?6
|
||
|
||
|
||
|
||
|
||
|
||
|
||
MAT...INV STATEMENT
|
||
|
||
GEN. FORM: MAT ARRAY NAME = INV[ARRAY NAME|
|
||
|
||
THIS STATEMENT INVERTS A SPECIFIED ARRAY. BOTH ARRAYS USED
|
||
IN THIS STATEMENT MUST BE SQUARE AND OF THE SAME DIMENSIONS. THE SAME
|
||
ARRAY MAY APPEAR ON BOTH SIDES OF THE EQUATION
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?7
|
||
|
||
|
||
|
||
|
||
|
||
|
||
MAT MULTIPLICATION STATEMENT
|
||
|
||
GEN. FORM: MAT ARRAY NAME = ARRAY NAME 1 * ARRAY NAME 2
|
||
|
||
THE MAT MULTIPLICATION STATEMENT SETS A SPECIFIED ARRAY
|
||
EQUAL TO THE PRODUCT OF TWO ARRAYS. THE SAME ARRAY NAME MAY NOT APPEAR
|
||
ON BOTH SIDES OF THE EUQUAL SIGN. THE NUMBER OF COLUMNS IN ARRAY 1
|
||
MUST EQUAL THE NUMBER OF ROWS IN ARRAY 2.
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?8
|
||
|
||
|
||
|
||
|
||
MAT PRINT STATEMENT
|
||
|
||
GEN. FORM: MAT PRINT ARRAY PRINT LIST [PRINT DELIMITER]
|
||
|
||
THE MAT PRINT STATEMENT IS USED TO DISPLAY ENTIRE ARRAYS OR
|
||
PORTIONS OF ARRAYS. WHEN USING THIS STATEMENT, PLACING COMMAS BETWEEN
|
||
ARRAYS TO BE PRINTED WILL CAUSE THE ARRAY TO BE SPACED OUT, WHILE ON THE
|
||
OTHER HAND IF SEMICOLONS ARE USED THE ARRAY IS PACKED TOGETHER.
|
||
(EX. MAT PRINT A,B , MAT PRINT A;B).
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?9
|
||
|
||
|
||
|
||
|
||
MAT PRINT# STATEMENT
|
||
|
||
GEN. FORM: MAT PRINT #FILE NUMBER,[RECORD NUMBER];END
|
||
|
||
OR
|
||
|
||
|
||
MAT PRINT #FILE NO,[REC. NO.];ARRAY WRITE LIST[PRINT DELIMITER[END]]
|
||
|
||
MAT PRINT # STATEMENT IS USED TO PRINT ENTIRE ARRAYS
|
||
ON A SPECIFIED FILE. IT IS USED THE SAME WAY THE PRINT# STATEMENT IS.
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?10
|
||
|
||
|
||
|
||
|
||
MAT PRINT USIN STATEMENT
|
||
|
||
GEN. FORM: MAT PRINT USING FORMAT PART [;ARRAY PRINT LIST]
|
||
|
||
THE MAT PRINT USING STATEMENT ALLOWS YOU TO CONTROL THE
|
||
OUTPUT OF ARRAYS, OR PORTIONS OF ARRAYS. IT IS USED JUST LIKE THE
|
||
PRINT USING STATEMENT, UTILIZING AN 'IMAGE'. SEE PRINT USING FOR MORE
|
||
INFORMATION.
|
||
|
||
ENTER YOUR CHOICE, '0' TO STOP?11
|
||
|
||
|
||
|
||
|
||
PRINTED TO ASCII FILES. IT MAY NOT BE USED WITH BASIC FORMATTED FILES.
|
||
|
||
|
||
=======================================
|
||
= END OF PHILE =
|
||
=======================================
|
||
|
||
Downloaded from P-80 Systems.....
|
||
|
||
|