iCAx开思网

标题: 【资料】UG自带的函数 [打印本页]

作者: idesign    时间: 2002-6-29 02:07
标题: 【资料】UG自带的函数
Name
  Description
   
abs
  Absolute Value, abs(x) = |x|
   
acos
  Arc Cosine, acos(x) = arc cos(x), (result in radians)
   
asin
  Arc Sine, asin(x) = arc sin(x), (result in radians)
   
atan
  Arc Tangent, atan(x) = arc tan(x), (result in radians)
   
atan2
  Arc Tangent, atan2(x, y) = arc tan(x / y), (result in radians)
   
ceil
  Ceiling, ceil(x) = x is a real number, function returns closest integer greater than or equal to x if a=ceil(.1), a evaluates to 1
   
cos
  Cosine, cos(x) = cos(x), (x must be in degrees)
   
cosh
  Hyperbolic Cosine, cosh(x) = cosh(x)
   
deg
  Degree Conversion, deg(x) converts radians to degrees.
   
exp
  Exponential, exp(x) = ex
   
fact
  Factorial, fact(x) = x!
   
floor
  Floor, floor(x) = x is a real number, function returns closest integer less than or equal to x if a=floor(.1), a evaluates to 0
   
hypot
  Hypotenuse, hypot(x, y) = /x2 + y2
   
log
  Natural Logarithm, log(x) = ln (x) = loge (x)
   
log10
  Common Logarithm, log10(x) = log10(x)
   
rad
  Radian Conversion, rad(x) converts degrees to radians
   
sin
  Sine, sin(x) = sin(x), (x must be in degrees)
   
sinh
  Hyperbolic Sine, sinh(x) = sinh(x)
   
sqrt
  Square Root, sqrt (x) = /x
   
tan
  Tangent, tan(x) = tan(x), (x must be in degrees)
   
tanh
  Hyperbolic Tangent, tanh(x) = tanh(x)
   
trnc
  Truncate, trnc(x) removes any fractional portion (all digits to the right of the decimal point) from the number x
   
pi()
  Takes no arguments and returns the value of pi
  




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3