Language Reference

LOG Function

takes the natural logarithm

LOG( matrix)

where matrix is a numeric matrix or literal.

The LOG function is the scalar function that takes the natural logarithm of each element of the argument matrix. An example of a valid statement follows:

  
    c = { 1 2 3 }; 
    b=log(c); 
    print b; 
  
               B 
  
         0 0.6931472 1.0986123
 

Previous Page | Next Page | Top of Page