Arithmetic transformations

Arithmetic

The symbols = + - * / ^ have their usual arithmetic meaning
  • Syntax yield !/10
  • {0/0} gives 0 but otherwise
  • by zero gives a missing value.
  • !^v the data (which must be positive) to the power v
  • !^0 takes natural logarithms of the data (which must be positive).

    Logical

    == ltgt lt= gt= lt gt are logical operators forming 1 if true, 0 if false. yield

    Example


     yield  !*.125
     SQRyld !=yield !^ 0.5
     LNyld !=yield !^0
     INVyld !=yield !^-1
     high !=yield !>10
    

    Return to start