0% found this document useful (0 votes)
21 views7 pages

Loglan 06 Expressions HC

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views7 pages

Loglan 06 Expressions HC

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

6 Expressions

Contents

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Logical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Relations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Numeric . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
User Defined . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Geolog® 7 – Paradigm™ 2011 Expressions 6-1


With Epos® 4.1 Data Management
Overview
This section is a guide to expressions that are used to evaluate results in log expressions, evaluate modules,
etc.

NOTE The unit component of the equation {UNITS} is for your own documentation only.

When formulating expressions it is possible to indicate the relevant units for variables and constants. This
is achieved by appending the appropriate unit value to the variable or constant inside curly brackets {}.
For example:
x {enter units in meters} + 8 {enter units in feet} * conv_factor {units
conversion meter/ft}

Geolog® 7 – Paradigm™ 2011 Expressions 6-2


With Epos® 4.1 Data Management
Functions

Logical

“AND or &” on AND(a,b) or a & b


page 4-18
“NOT or ^ or \\” NOT(exp) or ^(exp) or \\(exp)
on page 4-20
“OUTSIDE” on OUTSIDE(value, min, max)
page 4-21 Returns TRUE if the value is not between min and max.
“OR or |” on OR(a,b) or a | b
page 4-21
“RANGE” on RANGE(value, min, max)
page 4-22 Returns TRUE if the value is between min and max.
“WILDCARD” on WILDCARD ( "AA*BB*", "AA" )
page 4-34 Returns true if the second string matches the wildcard given
as the first string.

Relations

“EQ or ==” on EQ(a,b) or a == b


page 4-18
“GE or >=” on GE(a,b) or a >= b
page 4-18
“GT or >” on GT(a,b) or a > b
page 4-19
“LE or <=” on LE(a,b) or a <= b
page 4-19
“LT or <” on LT(a,b) or a < b
page 4-20
“MISS” on page 4- MISS(exp)
20
“NE or <>” on NE(a,b) or a <> b
page 4-20

Numeric

“ABS” on page 4- ABS(a)


23
“ACOS” on ACOS(a)
page 4-23

Geolog® 7 – Paradigm™ 2011 Expressions 6-3


With Epos® 4.1 Data Management
“ASIN” on page 4- ASIN(a)
23
“ATAN” on ATAN(a)
page 4-23
“ATAN2” on ATAN2(a,b)
page 4-23
“COS” on page 4- COS(a)
24
“DIVIDE or /” on DIVIDE(a,b) or a / b
page 4-24
“DROUND” on DROUND(a)
page 4-24
“EXP” on page 4- EXP(a) (ea)
24
“IFC” on page 4- IFC(logical,a,b)
25
“INT” on page 4- INT(a)
25
“LIMIT” on LIMIT(VALUE, MIN, MAX)
page 4-25
“LOG” on page 4- LOG(a) (base e)
25
“LOG10” on LOG10(a) (base 10)
page 4-25
“MAX or |>” on MAX(a,b) or a |> b
page 4-25
“MIN or |<” on MIN(a,b) or a |< b
page 4-26
“MINUS or -” on MINUS(a,b) or a - b
page 4-26
“MOD” on page 4- MOD(a,b)
26
“MULTIPLY or *” MULTIPLY(a,b) or a * b
on page 4-26
“NINT” on page 4- NINT(a)
27
“NONMISS” on NONMISS(a,b,c...d) max 10 args
page 4-27
“PLUS or +” on PLUS(a,b) or a + b
page 4-27
“RAISE or **” on RAISE(a,n) or a**n
page 4-27
“RANDOM” on RANDOM(min,max)
page 4-27
“RANNORMAL” RANNORMAL(mean,std_dev)
on page 4-27
“ROUND” on ROUND(a)
page 4-28

Geolog® 7 – Paradigm™ 2011 Expressions 6-4


With Epos® 4.1 Data Management
“SIGN” on page 4- SIGN(a,b)
28
“SIN” on page 4- SIN(a)
28
“SQRT” on SQRT(a)
page 4-28
“TAN” on page 4- TAN(a)
28
“UMINUS or -” on UMINUS(a) or -a
page 4-28

String

“CONCAT or //” on CONCAT(str1,str2) str1 // str2


page 4-30
“CONVERT” on CONVERT(format,exp1)
page 4-30
“IFCS” on page 4- IFCS(logical,str1,str2)
31
“INDEX” on INDEX(str1,str2)
page 4-31
“LDECODE” on LDECODE(string)
page 4-31
“LOCASE” on LOCASE(string)
page 4-32
“NDECODE” on NDECODE(string)
page 4-32
“NUMSTR” on NUMSTR(number)
page 4-32
“RAINBOW” on color = RAINBOW ( number, min, max )
page 4-47
“STRNUM” on STRNUM(string)
page 4-33
“SUBSTRING” on SUBSTRING(string,p1,p2)
page 4-33
“TABLE” on TABLE ( "string1", "string2" )
page 4-22
“TOKEN” on TOKEN(string,n)
page 4-34
“TRIM” on TRIM(string)
page 4-34
“UPCASE” on UPCASE(string)
page 4-34
User Defined

“QUANT or numeric = Quant_Fun(alpha_log)


QUANTIFY” on
page 4-53
“QUAL or string = Qual_Fun(num_log)
QUALIFY” on
page 4-53
“CURVE” on numeric = Curve_Fun(num_log)
page 4-52
“CHMAP” on string = Chmap_Fun(alpha_log)
page 4-52
“CHART” on num=Chart_Fun('Z', xlog, ylog)
page 4-49 num = Chart_Fun('X',ylog,zlog)
Optionsnum = Chart_Fun('Y',xlog,zlog)
Linearnum = Chart_Fun('YC',xlog,zlog)
Horizontalnum = Chart_Fun('~YC~',xlog,zlog)
Extrapolationnum = Chart_Fun('/YC/',xlog,zlog)
“User Defined - macro = Macro_Fun(arg[s])
Macros” on
page 4-54
“POLYGON” on AAA ( X, Y )
page 4-53 Returns true if the polygon AAA contains the point X,Y.

Geolog® 7 – Paradigm™ 2011 Expressions 6-6


With Epos® 4.1 Data Management
Index

E
expressions
guide, Loglan 2

L
Loglan
expressions guide 2

Geolog® 7 – Paradigm™ 2011 Expressions 6-7


With Epos® 4.1 Data Management

You might also like