ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


3. 19
   adensity determines the elements density of one or more binned set variables

 

logo

adensity a1 [a2 .. aN]       where a1 [a2 .. aN] are binned set variables

adensity  text  1*          ins:H_H_AH  ret:text

●  Operator adensity determines the elements density of one or more binned set variables

Use the adensity operator to display the density of a binned set variable.

 

adensity EXAMPLE

The following example shows how to display the density of one or many binned set variables.

 

adensity OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1)

①  aspl> av
    (display the augmented (or binned) symbol table)

②  aspl> adensity aa1
    (display the density of the binned set variable aa1)

③  aspl> adensity aa1 aa2
    (display the density of the binned set variables aa1 and aa2)

④  aspl> aa12 = fUU aa1 aa2
    (assign the binned set variable aa12 to the union of groups in the binned set variables aa1 and aa2)

⑤  aspl> av
    (display the augmented symbol table)

⑥  aspl> adensity aa12
    (display the density of the binned set variable aa12)

⑦  aspl> av d aa12
    (display the descriptor of the binned set variable aa12)

⑧  aspl> #a aa12
    (display the cardinality of the binned set variable aa12)