| Language Reference |
takes the natural logarithm
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
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.