INPUT

vectors

 Syntax: INPUT x1 { x2 ... x8 }

 Enter one set of numbers per line, that is, enter x1[j] ... x8[j] all on
 one line. Input is terminated by typing CTRL-Z. The maximum number of
 vectors that can be input with one command is 8. 

Additional Information on:

  • making_corrections
  • MATRIX

     Syntax: INPUT\MATRIX m nr nc
    
     This command is used to interactively enter data, from the terminal
     keyboard, into a matrix. A new matrix will be created. The number of
     rows, nr, and the number of columns, nc, must be entered.  Enter one
     row of the matrix per line.  Only nr rows will be requested. If the
     INPUT\MATRIX command is used in a command macro file, input will still
     be requested from the terminal keyboard.
    

    Additional Information on:

  • making_corrections
  • 1_example

     To create three vectors, X, Y, and Z, with five numbers in each vector,
     enter the following:
    
     PHYSICA: INPUT X Y Z
     Enter 3 numbers, ( CTRL-Z ends )
     (  1) >> 10 .1 1000
     (  2) >> 20 .2 2000
     (  3) >> 30 .3 3000
     (  4) >> 40 .4 4000
     (  5) >> 50 .5 5000 CTRL-Z
     PHYSICA:
    

    2_example

     To input a matrix, M, with 5 columns and 3 rows, enter the following:
    
     PHYSICA: INPUT\MATRIX M 3 5
     Enter 5 numbers
     (row  1) >> 1 2 3 4 5
     (row  2) >> 6 7 8 9 10
     (row  3) >> 11 12 13 14 15
     PHYSICA:
    
     and you will have the following matrix:
             |  1  2  3  4  5 |
        M =  |  6  7  8  9 10 |
             | 11 12 13 14 15 |