Home  Contact Us  Search  Site Map  Downloads  Careers

UNIPASS™ Built In Functions

Listed below are 61 UNIPASS™ built-in functions. The notation 'argf' implies an argument that can be a function as well as a variable. In the following examples, rand1, rand2, rand3, rand4 and rand5 are assumed to be random variables, while ranf1, ranf2 and randf3 are previously defined random functions. The suffix number indicates the order of these random variables and random functions. In the UNIPASS™ Function Library, the random variables have precedence over the random functions.

 

Function Name

Description

ABS(argf)

absolute value of a single variable or function or some combination of the two

Examples: ABS(rand1); ABS(randf1); ABS(rand1 + rand2); ABS(rand1 +randf1)

ACOS(argf)

arccosine of a single variable or function or some combination of the two with output in radian

Examples: ACOS(rand1); ACOS(randf1); ACOS(rand1 + rand2); ACOS(rand1 +randf1); ACOS(0.1)

ACOSD(argf)

arccosine of a single variable or function or some combination of the two with output in degree

Examples: ACOSD(rand1); ACOSD(randf1); ACOSD(rand1 + rand2); ACOSD(rand1 +randf1), ACOSD(0.1)

ANSYS(arg)

Interface function with finite element software ANSYS (under development).

Example: ANSYS(1)

ASIN(argf)

arcsine of single variable or function or some combination of the two with output in radian

Examples: ASIN(rand1); ASIN(randf1); ASIN(rand1 + rand2);ASIN(rand1 +randf1); ASIN(0.1)

SIND(argf)

arcsine of a single variable or function or some combination of the two with output in degree unit

Examples: ASIND(0.1); ASIND(rand1); ASIND(randf1); ASIND(rand1 + rand2); ASIND(rand1 +randf1)

ATAN(argf)

arctangent of a single variable or function or some combination of the two with output in radian

Examples: ATAN(10); ATAN(rand1); ATAN(randf1); ATAN(rand1 + rand2); ATAN(rand1 +randf1)

ATAND(argf)

arctangent of a single variable or function or some combination of the two with output in degree

Examples: ATAND(10); ATAND(rand1); ATAND(randf1); ATAND(rand1 + rand2); ATAND(rand1 +randf1)

CDF(argi, argj)

CDF value of random variable "argi" at the current value of "argj"

Examples:

CDF(rand2, rand1) = Frand2(rand1), where Frand2 is CDF of rand2

CDF(rand2, randf1) = Frand2(randf1), where Frand2 is CDF of rand2

CDF(rand2, 1.5) = Frand2(1.5), where Frand2 is CDF of rand2

CDFIN(argi, argj)

Inverse CDF of random variable "argi" at the current specified value of "argj"

Examples:

CDFIN(rand2, rand5) = F-1 rand2 (rand2 < current value of rand5)

CDFIN(rand2, randf1) = F-1 rand2 (rand2 < current value of randf1)

CDFIN(rand2, 1.5) = F-1 rand2 (rand2 < 1.5)

CHIS(argfi, argfj)

Chi squared CDF at the current specified value of “argfi” with “argfj” degree of freedom

Examples: CHIS(rand1, rand3); CHIS(randf2, randf1); CHIS(rand1, rand2+randf1)

CHISIN(argf, argf)

Inverse Chi squared CDF at the specified value of argf1 with argf2 degree of freedom

Examples: CHISIN(rand1, rand3); CHISIN(randf2, randf1), CHIS(rand1, rand2+randf1)

COS(argf)

cosine of a single variable or function or some combination of the two in radian

Examples: COS(rand1); COS(randf1); COS(rand1 + rand2); COS(rand1 +randf1); COS(10)

COSD(argf)

cosine of a single variable or function or some combination of the two in degree

Examples: COSD(rand1); COSD(randf1); COSD(rand1 + rand2); COSD(rand1 +randf1), COSD(10)

COSH(argf)

hyperbolic cosine of a single variable or function or some combination of the two

Examples: COSH(rand1); COSH(randf1); COSH(rand1 + rand2); COSH(rand1 +randf1), COSH(10)

COTAN(argf)

cotangent of a single variable or function or some combination of the two in radian

Examples: COTAN(rand1); COTAN(randf1); COTAN(rand1 + rand2); COTAN(rand1 +randf1), COTAN(10)

COTAND(argf)

cotangent of a single variable or function or some combination of the two in degree

Examples: COTAND(rand1); COTAND(randf1); COTAND(rand1 + rand2); COTAND(rand1 +randf1); COTAND(10)

EXP(argf)

exponential of a single variable or function or some combination of the two

Examples: EXP(rand1); EXP(randf1); EXP(rand1 + rand2); EXP(rand1 +randf1); EXP(2)

EXTERNAL(argi)

An external response extracted from the output file of an external software. Each unique argi identifies an external response quantity defined using the external interface window. This function is used by the generic interface to access external software.

GAMMA(argf)

Gamma function at the current specified value of argf

Examples: GAMMA(rand1); GAMMA(randf2); GAMMA(rand2+rand4)

NT(argf)

integer portion of a single variable or function or some combination of the two

Examples: INT(rand1); INT(randf1); INT(rand1 + rand2); INT(rand1 +randf1)

LOG(argf)

natural logarithm of a single variable or function or some combination of the two

Examples: LOG(rand1); LOG(randf1); LOG(rand1 + rand2); LOG(rand1 +randf1), LOG(12)

LOG10(argf)

base 10 logarithm of a single variable or function or some combination of the two

Examples: LOG10(10); LOG10(rand1); LOG10(randf1); LOG10(rand1 + rand2); LOG10(rand1 +randf1)

MAX(argfi, argfj)

maximum value between two single variables, or two constants, or two functions, or some combination of them

Examples: 

MAX(rand2, randf1) = maximum value between rand2 and randf1

MAX(rand2, 3.0) = maximum value between rand2 and 3.0

MAX(rand2, 3.0+rand3-randf1) = maximum value between rand2 and (3.0+ rand3-randf1)

MAXA(argfi, argfj)

maximum of absolute value between two single variables, or two constants, or two functions, or some combination of them

Examples:

MAXA(rand2, randf1) = maximum value between |rand2| and |randf1|

MAXA(rand2, 3.0) = maximum value between |rand2| and 3.0

MAXA(rand2, 3.0+rand3-randf1) = maximum value between |rand2| and |3.0+ rand3-randf1|

MAXAV(argi, argj)

maximum value among the absolute values of the single variables, or functions starting with "argi" and ending with "argj"

Example: MAXAV(rand2, randf1) = maximum value among |rand2|, |rand3|, |rand4|, |rand5|, and |randf1|

MAXV(argi, argj)

maximum value among the single variables, or functions starting with "argi" and ending with "argj"

Example: MAXV(rand2, randf1) = maximum value among rand2, rand3, rand4, rand5, and randf1

MEAN(arg)

mean of the random variable "arg".

Examples: MEAN(rand2) = mean of random variable rand2

MIN(argfi, argfj)

minimum value between two single variables, or two constants, or two functions or some combination of them

Examples:

MIN(rand2, randf1) =  minimum value of rand2 and randf1

MIN(rand2, 3.0) = minimum value of rand2 and 3.0

MIN(rand2, 3.0+rand3-randf1) = minimum value of rand2 and (3.0+ rand3-randf1)

MINA(argfi, argfj)

minimum of absolute value between two single variables, or two constants, or two functions, or some combination of them

Examples:

MINA(rand2, randf1) = minimum value between |rand2| and |randf1|

MINA(rand2, 3.0) = minimum value between |rand2| and 3.0

MINA(rand2, 3.0+rand3-randf1) = minimum value between |rand2| and |3.0+ rand3-randf1|

MINAV(argi, argj)

minimum value among the absolute values of the single variables, or functions starting with "argi" and ending with "argj"

Example: MINAV(rand2, randf1) = minimum value among |rand2|, |rand3|, |rand4|, |rand5|, and |randf1

MINV(argi, argj)

minimum value among the single variables, or functions starting with "argi" and ending with "argj"

Example: MINV(rand2, randf1) = minimum value among rand2, rand3, rand4, rand5, and randf1

MOD(argfi, argfj)

Used to divide two numbers and return only the remainder.

Examples:

MOD(rand2, randf1) = the remainder of rand2/randf1

MOD(rand2, 3.0) = the remainder of rand2/3.0

MOD(rand2, 3.0+rand3-randf1) = the remainder of rans2/ (3.0+ rand3-randf1)

NASTRAN(arg)

MSC/NASTRAN interface function.

Example: NASTRAN(1) , 1 is the response identifier number

PDF(argi, argj)

PDF value of random variable "argi" at the current value of "argj".

Examples:

PDF(rand2, rand1) =  frand2(rand1), where frand2 is PDF of rand2

PDF(rand2, randf1) =  frand2(randf1), where frand2 is PDF of rand2

PDF(rand2, 1.5) = frand2(1.5), where frand2 is PDF of rand2

PHI(argf)

Standard Normal CDF at the current specified value of argf

Example:

PHI(rand2) = F(rand2)

PHI(randf2) = F(randf2)

PHI(2) =  F(2)

PHI(randf2 + rand5*randf1) = F(randf2 + rand5 * randf1)

PHIIN(argf)

Inverse Standard Normal CDF at the current specified value of argf

Examples:

PHIIN(rand2) = F-1(rand2)

PHIIN(randf2) = F-1(randf2)

PHIIN(0.2) = F-1(0.2)

PHIIN(randf2 + rand5 * randf1) = F-1(randf2 + rand5 * randf1)

PI()

3.14159265358979

Example: PI( )

PROD(argi, argj)

product of all single variables or functions between "argi" and "argj".

Examples:

PROD(rand1, rand4) = rand1 ´ rand2 ´ rand3 ´ rand4

PROD(rand3,randf2) = rand3 ´ rand4 ´ rand5 ´ randf1 ´ randf2

PRODA(argi, argj)

product of all absolute values of single variables or functions between "argi" and "argj".

Examples:

PROD(rand1, rand4) = |rand1 ´ rand2 ´ rand3 ´ rand4|

PROD(rand3,randf2) = |rand3 ´ rand4 ´ rand5 ´ randf1 ´ randf2|

SIN(argf)

sine of a single variable or function or some combination of the two in radian

Examples: SIN(rand1); SIN(randf1); SIN(rand1 + rand2); SIN(rand1 +randf1)

SIND(argf)

sine of a single variable or function or some combination of the two in degree

Examples: SIND(rand1); SIND(randf1); SIND(rand1 + rand2); SIND(rand1 +randf1); SIND(10)

SINH(argf)

hyperbolic sine of a single variable or function or some combination of the two

Examples: SINH(rand1); SINH(randf1); SINH(rand1 + rand2); SINH(rand1 +randf1); SINH(10)

SQRT(argf)

square root of a single variable or function or some combination of the two (calculates the "argf" first, then computes the square root of the value)

Examples: SQRT(rand1); SQRT(randf1); SQRT(rand1 + rand2); SQRT(rand1 +randf1); SQRT(10)

STD(arg)

standard deviation of the random variable "arg".

Examples: STD(rand2) = standard deviation of random variable rand2

SUM(argi, argj)

sum of all single variables or functions between "argi" to "argj"

Examples:

SUM(rand1, rand4) = sum of rand1, rand2,rand3, and rand4

SUM(rand3,randf2) = sum of rand3, rand4, rand5, randf1, and randf2

SUM_M(argi, argj)

sum of the means of all random variables between "argi" and "argj".

Examples: SUM_M(rand1, rand4) = sum of means of rand1, rand2, rand3, and rand4

SUM_SD(argi, argj)

sum of the standard deviations of all random variables between "argi" and "argj".

Examples: SUM_SD(rand1, rand4) = sum of the standard deviations of rand1, rand2, rand3, and rand4

SUMA(argi, argj)

sum of the absolute values of all single variables or functions between "argi" and "argj"

Examples:

SUMA(rand1, rand4) = sum of |rand1|, |rand2|,|rand3|,and |rand4|

SUMA(rand3,randf2) = sum of |rand3|, |rand4|, |rand5|, |randf1|, and |randf2|

SUMA_M(argi, argj)

sum of the absolute values of the means of all random variables between "argi" and "argj".

Examples: SUMA_M(rand1, rand4) = sum of absolute values of means of rand1, rand2, rand3, and rand4

SUMSQ(argi, argj)

sum of the squares of all single variables or functions between variable "argi" and "argj"

Examples: 

SUMSQ(rand1, rand2) = sum of rand12 and rand22

SUMSQ(rand3,randf2) = sum of rand32, rand42, rand52, randf12, and randf22

SUMSQ_M(argi, argj)

sum of the squares of the means of all random variable between "argi" and "argj".

Examples: SUMSQ_M(rand1, rand4) = sum of the square of means of rand1, rand2, rand3, and rand4

SUMSQ_SD(argi, argj)

sum of the squares of the standard deviations of all random variable between "argi" and "argj".

Examples: SUMSQ_SD(rand1, rand4) = sum of the square of standard deviations of rand1, rand2, rand3, and rand4

SYSTEM(argi, command)

Response value computed by a system command to execute an external software.  Argi is the response identifier and command is the path of command.

Examples: SYSTEM(1, ..\solver_lib\solver1); SYSTEM(2, c:\solver_lib\solver1)

TAN(argf)

tangent of a single variable or function or some combination of the two in radian

Examples: TAN(rand1); TAN(randf1); TAN(rand1 + rand2); TAN(rand1 +randf1); TAN(10)

TAND(argf)

tangent of a single variable or function or some combination of the two which is expressed in degree unit

Examples: TAND(10); TAND(rand1); TAND(randf1); TAND(rand1 + rand2); TAND(rand1 +randf1)

TANH(argf)

hyperbolic tangent of a single variable or function or some combination of the two

Examples: TANH(rand1); TANH(randf1); TANH(rand1 + rand2); TANH(rand1 +randf1), TANH(10)

USERC1(arg)

 

Customized interface function written in C. (USERC1.DLL)

Example: USERC1(1)

USERC2(arg)

Customized interface function written in C. (USERC2.DLL)

Examples: UserC2(1)

USERF1(arg) 

Customized interface function written in FORTRAN. (USERF1.DLL)

Example: USERF1(1)

USERF2(arg)

Customized interface function written in FORTRAN (USERF2.DLL)

Examples: USERF2(1)

 

Last Updated 11/12/08

Send mail to info@predictionprobe.com with questions or comments about this web site.
Copyright © 2001-2004 PredictionProbe, Inc.