ASPL Manual v 1.00
© 2024 by SetSphere.COM


F

   ASPL Examples

This reference includes many examples using ASPL with the sample workspaces WORKSPACE1 that shipped with the product.

■ Monitoring Water Level

Sequence Operatorssssssssssss

BlaiseQR put at your fingertip a powerful set of sequence operators that perform sequence comparison on your set variables. These sequence operators are called seqops and are ready to unleash their powerful operations at the ASPL command prompt. The seqops are premier in the use of computer systemic data analysis, and they can do any of the following:

 

■ Installing the Samples Data

Installing the Samples Dataaaaaaaaaa

       an obj: like a frm: with Just an HTML bay12.html
view obj bay12.html

 MAJOR BAY WATER LEVEL
From Archive
       an obj: like a frm: with Just an HTML jaco.html
view obj jaco.html

 MAJOR Jaco Hmmm
From Archive

 

Example F.1

START ASPL

To start the ASPL interpreter

aspl> av c123
    (view internals of set variable c123)

aspl:17> vav c123

                   c123  #(c123)=8
 
   avor      = c123  
   avsr      = c&`_ a1 a2 a3
   avxp      = tsetop
   avTyP     = TyP_GADasop
   avPcurl   = 
   avPgopvr    -
   avLop     = c&
   avLvr     = a1 a2 a3
   avLgn     = /tmp/aa1 /tmp/aa2 /tmp/aa3
   avus      = root
   avtm      = 2020-07-15 07:59:16 



AS BEING SET IN THE SHELL:
--------------------------
ASPL_CONFIG=/root/WS,WS3,10,10,10,1000,30,2,0,0,0

 

Example F.2

DO OPERATION

Do some operations

aspl> av c123
    (view internals of set variable c123)

aspl:17> vav c123

                   c123  #(c123)=8
 
   avor      = c123  
   avsr      = c&`_ a1 a2 a3
   avxp      = tsetop
   avTyP     = TyP_GADasop
   avPcurl   = 
   avPgopvr    -
   avLop     = c&
   avLvr     = a1 a2 a3
   avLgn     = /tmp/aa1 /tmp/aa2 /tmp/aa3
   avus      = root
   avtm      = 2020-07-15 07:59:16 



 

Example F.3

LEAVE ASPL

Say bye to quit the ASPL interpreter

aspl> av c123
    (view internals of set variable c123)

aspl:17> vav c123

                   c123  #(c123)=8
 
   avor      = c123  
   avsr      = c&`_ a1 a2 a3
   avxp      = tsetop
   avTyP     = TyP_GADasop
   avPcurl   = 
   avPgopvr    -
   avLop     = c&
   avLvr     = a1 a2 a3
   avLgn     = /tmp/aa1 /tmp/aa2 /tmp/aa3
   avus      = root
   avtm      = 2020-07-15 07:59:16 



AS BEING SET IN THE SHELL:
--------------------------
ASPL_CONFIG=/root/WS,WS3,10,10,10,1000,30,2,0,0,0

 

Operation F.1

Anchor Tit Placeholder

①  aspl> c123 = c& a1 a2 a3
    (c123 is assigned all checksums intersections of a1 a2 a3)

aspl:17> vav c123

                   c123  #(c123)=8
 
   avor      = c123  
   avsr      = c&`_ a1 a2 a3
   avxp      = tsetop
   avTyP     = TyP_GADasop
   avPcurl   = 
   avPgopvr    -
   avLop     = c&
   avLvr     = a1 a2 a3
   avLgn     = /tmp/aa1 /tmp/aa2 /tmp/aa3
   avus      = root
   avtm      = 2020-07-15 07:59:16 



②  aspl> adisplay c123
    (print out c123)

Image File

aspl> av c123
    (view internals of set variable c123)

aspl:17> vav c123

                   c123  #(c123)=8
 
   avor      = c123  
   avsr      = c&`_ a1 a2 a3
   avxp      = tsetop
   avTyP     = TyP_GADasop
   avPcurl   = 
   avPgopvr    -
   avLop     = c&
   avLvr     = a1 a2 a3
   avLgn     = /tmp/aa1 /tmp/aa2 /tmp/aa3
   avus      = root
   avtm      = 2020-07-15 07:59:16 



③   Just dump the rest to a file

④   av c123
    (this is a table of within operation 4)

                           pstree on MIC to view program pstree -p | grep convo



setop trTyp function-name setOp setLit
f&  17  setop_17_f_intersection  setoid  setop 
fP  65  setop_65_f_partition  psetoid  psetop 
fU  17  setop_17_f_union  setoid  setop 
f\  17  setop_17_f_difference  setoid  setop 
fD  17  setop_17_f_symdiff  setoid  setop 
f@  17  setop_17_f_uniqual  setoid  setop 
d&  17  setop_17_d_intersection  setoid  setop 



f& 17 setop_17_f_intersection setoid setop
fP  65  setop_65_f_partition  psetoid  psetop 
fU  17  setop_17_f_union  setoid  setop 
f\  17  setop_17_f_difference  setoid  setop 
fD  17  setop_17_f_symdiff  setoid  setop 
f@  17  setop_17_f_uniqual  setoid  setop 
d&  17  setop_17_d_intersection  setoid  setop 



AS BEING SET IN THE SHELL:
--------------------------
ASPL_CONFIG=/root/WS,WS3,10,10,10,1000,30,2,0,0,0

 

Displays F.1

THESE SCREEN(s) - Title for Displays
 -E- Disp. F.1   [THESE SCREEN(s)][Title for Displays]

To multiply matrix A and matrix B and put the result in C

①  aspl> A = data(1)
    (Init Matrix A)

②  aspl> B = data(2)
    (Init Matrix B)

③  aspl> C = A x B
    (Multiply Matrices)