Input/Output:
L3/A1L2/A2L1/A3L2/I1L1/I2
[[ matrix ]]1 | nposition1 |
|
| zput | → | [[ matrix ]]2 | nposition2 |
|
| ||||||||||||||
[[ matrix ]]1 | { nrow mcol }1 | zput | → | [[ matrix ]]2 | { nrow mcol }2 | ||||||||||||||||||
matrix | n | position1 |
|
| z | put | → | 'name | matrix | n | position2 |
|
| ||||||||||
'name |
| ' |
|
|
|
|
|
|
| → |
| ' |
|
|
|
|
| ||||||
'name | matrix | { n | row | m | col | } | 1 | z | put | 'name | matrix | { n | row | m | col | } | 2 | ||||||
| ' |
|
|
|
|
|
|
|
| ' |
|
|
|
| |||||||||
[ vector ]1 | nposition1 |
|
| zput | → | [ vector ]2 | nposition2 |
|
| ||||||||||||||
[ vector ]1 | { nposition1 | } |
| zput | → | [ vector ]2 | { nposition2 | } |
| ||||||||||||||
'namevector' | nposition1 |
|
| zput | → | 'namevector' | nposition2 |
|
| ||||||||||||||
'namevector' | { nposition1 | } |
| zput | → | 'namevector' | { nposition2 | } |
| ||||||||||||||
{ list }1 | nposition1 |
|
| objput | → | { list }2 | nposition2 |
|
| ||||||||||||||
{ list }1 | { nposition1 | } |
| objput | → | { list }2 | { nposition2 | } |
| ||||||||||||||
'name | list | n | position1 |
|
| obj | put | → | 'name | list | n | position2 |
|
| |||||||||
' |
|
|
|
|
|
| → | ' |
|
|
|
|
| ||||||||||
'name | list | { n | position1 | } |
| obj | put | 'name | list | { n | position2 | } |
| ||||||||||
' |
|
|
|
|
|
| ' |
|
|
|
|
L = Level; A = Argument; I = item
Example: The following program uses PUTI and flag
«{ A B C } DO 'X' PUTI UNTIL
See also: GET, GETI, PUT
PVARType: | Command |
|
|
|
| |
Description: | Population Variance Command: Calculates the population variance of the coordinate values in | |||||
| each of the m columns in the current statistics matrix (ΣDAT). |
| ||||
| The population variance (equal to the square of the population standard deviation) is returned as a | |||||
| vector of m real numbers, or as a single real number if m = 1. The population variances are | |||||
| computed using this formula: |
|
|
|
| |
| 1 | n | (xk – x) | 2 |
| |
| ∑ |
|
| |||
|
| nk = 1 |
|
|
| |
| where xk is the kth coordinate value in a column, x is the mean of the data in this column, and n is | |||||
| the number of data points. |
|
|
|
| |
Access: | …µPVAR |
|
|
|
| |
Input/Output: |
|
|
|
|
|
|
|
| Level 1/Argument 1 |
|
|
| Level 1/Item 1 |
|
|
|
|
|
|
|
|
|
|
|
| → | xpvariance |
|
|
|
|
| → | [ xpvariance1, ...,xpvariancem ] |
|
|
|
|
|
|
|
See also: | MEAN, PCOV, PSDEV, SDEV, VAR |
|
|
|
| |
|
|
|
|
|
|
|
PVARS | Command |
|
|
|
| |
Type: |
|
|
|
| ||
Description: | ||||||
| (:nport:nlibrary) in the specified port. Also returns the available memory size (RAM). |
The port number, nport, must be in the range from 0 to 2.
Full Command and Function Reference