Navigation

Operators and Keywords

Function List:

C++ API

Automatic Variable: ans

The most recently computed result that was not explicitly assigned to a variable.

For example, after the expression

3^2 + 4^2

is evaluated, the value returned by ans is 25.

Package: octave