Keithley SourceMeter 2600 Series Reference Manual page 115

Table of Contents

Advertisement

Series 2600 System SourceMeters Reference Manual TSP Programming Fundamentals 2-63
string.lower(s)
string.rep(s, n)
string.sub(s, i [,j])
string.upper(s)
Math library functions
This library is an interface to most of the functions of the ANSI C math library. All
trigonometric functions work in radians. The functions math.deg() and
math.rad()
math.abs(x)
math.acos(x)
math.asin(x)
math.atan(x)
math.atan2(y,x)
math.ceil(x)
math.cos(x)
math.deg(x)
math.exp(x)
math.floor(x)
math.log(x)
math.log10(x)
math.max(x, y, ...)
math.min(x, y, ...)
math.mod(x, y)
Returns a copy of the string s with all uppercase letters
changed to lowercase.
Returns a string that is the concatenation of n copies of the
string s.
Returns the substring of s that starts at i and continues until j.
i and j may be negative. If j is absent, then it is assumed to
be equal to –1, which is the same as the string length. In
particular, the call
with length j, and
length i.
Returns a copy of the string s with all lowercase letters
changed to uppercase.
convert between radians and degrees.
Returns the absolute value of the argument x.
Returns the principal value of the trigonometric arc cosine
function of x.
Returns the principal value of the trigonometric arc sine function
of x.
Returns the principal value of the trigonometric arc tangent
function of x.
Returns the principal value of the trigonometric arc tangent
function of y/x.
Returns the smallest floating-point number not less than x whose
value is an exact mathematical integer.
Returns the trigonometric cosine function of x.
Returns the value of x in degrees, where x is in radians.
Returns the exponential function of x; that is, e
base of the natural logarithms.
Returns the largest floating-point number not greater than x
whose value is an exact mathematical integer.
Returns the natural logarithm function of x.
Returns the base-10 logarithm function of x.
Returns the maximum value of its numeric argument(s).
Returns the minimum value of its argument(s).
Returns an approximation to the mathematical value f such that f
has the same sign as x, the absolute value of f is less than the
absolute value of y, and there exists an integer k such that k*y+f
= x.
Return to
Section 2 topics
string.sub(s,1,j)
returns a suffix s with
string.sub(s, -i)
2600S-901-01 Rev. A / May 2006
returns a prefix s
x
, where e is the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents