<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://seles.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fei</id>
	<title>SELESwiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://seles.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fei"/>
	<link rel="alternate" type="text/html" href="https://seles.info/index.php/Special:Contributions/Fei"/>
	<updated>2026-05-30T02:42:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://seles.info/index.php?title=Model_Garden&amp;diff=3244</id>
		<title>Model Garden</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Model_Garden&amp;diff=3244"/>
		<updated>2006-11-15T23:16:49Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Basic Landscape Models and Components ==&lt;br /&gt;
=== Example 1 ===&lt;br /&gt;
=== Example 2 ===&lt;br /&gt;
=== Spreading methods===&lt;br /&gt;
====[[Spreading1]]====&lt;br /&gt;
====[[Spreading2]]====&lt;br /&gt;
&lt;br /&gt;
=== Initiation methods ===&lt;br /&gt;
===[[Markov chains]]===&lt;br /&gt;
=== Cellular automata ===&lt;br /&gt;
==== [[Game of Life]] ====&lt;br /&gt;
=== Other ===&lt;br /&gt;
==== [[Convex Hull]] ====&lt;br /&gt;
==== [[Distance Surface]] ====&lt;br /&gt;
==== [[Filter Small]] ====&lt;br /&gt;
==== [[LSStats]] ====&lt;br /&gt;
&lt;br /&gt;
===Producer Consumer===&lt;br /&gt;
====[[The CA model]]====&lt;br /&gt;
====[[The IBM model]]====&lt;br /&gt;
====[[The IBM2 model]]====&lt;br /&gt;
====[[The process model]]====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== [[Random Walker]] ====&lt;br /&gt;
&lt;br /&gt;
=== Individual based models ===&lt;br /&gt;
&lt;br /&gt;
== Simple Complete Models ==&lt;br /&gt;
=== Simple empirical fire model ===&lt;br /&gt;
====[[The Fire model]]====&lt;br /&gt;
====[[The FireSucc model]]====&lt;br /&gt;
====[[gisData]]====&lt;br /&gt;
====[[Handout]]====&lt;br /&gt;
====[[The Succession model]]====&lt;br /&gt;
=== Semi-Markov chain succession ===&lt;br /&gt;
=== Basic timber harvesting ===&lt;br /&gt;
=== Patch analysis ===&lt;br /&gt;
=== Linear network processing ===&lt;br /&gt;
&lt;br /&gt;
== Applied and Advanced Models ==&lt;br /&gt;
=== Timber Supply Models ===&lt;br /&gt;
=== Habitat Supply Models ===&lt;br /&gt;
=== Packed Territory Models ===&lt;br /&gt;
=== Spatial Graph Models ===&lt;br /&gt;
==== [[BC Timber Supply]] ====&lt;br /&gt;
=== Kitcisakik Landscape model (KLM)===&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3242</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3242"/>
		<updated>2006-11-15T23:12:42Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* The following are the examples I entered from all the lse files. I think I have completed all the ones that I can find. You may check on that */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
		&lt;br /&gt;
===I&#039;ve also inserted a few new entries for the language reference===&lt;br /&gt;
 &lt;br /&gt;
 1) INSERT LINK&lt;br /&gt;
 2) GET&lt;br /&gt;
 3) GET LINK&lt;br /&gt;
 4) LOCATION &lt;br /&gt;
 5) OUTPUT RECORD &lt;br /&gt;
 6) SET &lt;br /&gt;
 7) SET LINK&lt;br /&gt;
&lt;br /&gt;
===The following are the examples I entered from all the lse files. I think I have completed all the ones that I can find. You may check on that===&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3241</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3241"/>
		<updated>2006-11-15T23:12:12Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
		&lt;br /&gt;
===I&#039;ve also inserted a few new entries for the language reference===&lt;br /&gt;
 &lt;br /&gt;
 1) INSERT LINK&lt;br /&gt;
 2) GET&lt;br /&gt;
 3) GET LINK&lt;br /&gt;
 4) LOCATION &lt;br /&gt;
 5) OUTPUT RECORD &lt;br /&gt;
 6) SET &lt;br /&gt;
 7) SET LINK&lt;br /&gt;
&lt;br /&gt;
===The following are the examples I entered from all the lse files. I think I have completed all the ones that I can find. You may check on that===&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3240</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3240"/>
		<updated>2006-11-15T23:11:56Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
		&lt;br /&gt;
==I&#039;ve also inserted a few new entries for the language reference==&lt;br /&gt;
 &lt;br /&gt;
 1) INSERT LINK&lt;br /&gt;
 2) GET&lt;br /&gt;
 3) GET LINK&lt;br /&gt;
 4) LOCATION &lt;br /&gt;
 5) OUTPUT RECORD &lt;br /&gt;
 6) SET &lt;br /&gt;
 7) SET LINK&lt;br /&gt;
&lt;br /&gt;
===The following are the examples I entered from all the lse files. I think I have completed all the ones that I can find. You may check on that===&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3239</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3239"/>
		<updated>2006-11-15T23:11:22Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
===a note to myself===		&lt;br /&gt;
*I&#039;ve also inserted a few new entries for the language reference:&lt;br /&gt;
 &lt;br /&gt;
 1) INSERT LINK&lt;br /&gt;
 2) GET&lt;br /&gt;
 3) GET LINK&lt;br /&gt;
 4) LOCATION &lt;br /&gt;
 5) OUTPUT RECORD &lt;br /&gt;
 6) SET &lt;br /&gt;
 7) SET LINK&lt;br /&gt;
&lt;br /&gt;
===The following are the examples I entered from all the lse files. I think I have completed all the ones that I can find. You may check on that===&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3236</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3236"/>
		<updated>2006-11-15T23:08:54Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
===a note to myself===		&lt;br /&gt;
*I&#039;ve also inserted a few new entries for the language reference:&lt;br /&gt;
 &lt;br /&gt;
 1) INSERT LINK&lt;br /&gt;
 2) GET&lt;br /&gt;
 3) GET LINK&lt;br /&gt;
 4) LOCATION &lt;br /&gt;
 5) OUTPUT RECORD &lt;br /&gt;
 6) SET &lt;br /&gt;
 7) SET LINK&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3235</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3235"/>
		<updated>2006-11-15T23:08:02Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
===a note to myself===		&lt;br /&gt;
*I&#039;ve also inserted a few new entries for the language reference:&lt;br /&gt;
 &lt;br /&gt;
 INSERT LINK&lt;br /&gt;
 &lt;br /&gt;
 GET&lt;br /&gt;
 &lt;br /&gt;
 GET LINK&lt;br /&gt;
&lt;br /&gt;
 LOCATION&lt;br /&gt;
 &lt;br /&gt;
 OUTPUT RECORD&lt;br /&gt;
 &lt;br /&gt;
 SET&lt;br /&gt;
 &lt;br /&gt;
 SET LINK&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3234</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3234"/>
		<updated>2006-11-15T23:07:45Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
===a note to myself===		&lt;br /&gt;
*I&#039;ve also inserted a few new entries for the language reference:&lt;br /&gt;
 INSERT LINK&lt;br /&gt;
 &lt;br /&gt;
 GET&lt;br /&gt;
 &lt;br /&gt;
 GET LINK&lt;br /&gt;
&lt;br /&gt;
 LOCATION&lt;br /&gt;
 &lt;br /&gt;
 OUTPUT RECORD&lt;br /&gt;
 &lt;br /&gt;
 SET&lt;br /&gt;
 &lt;br /&gt;
 SET LINK&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference&amp;diff=3233</id>
		<title>Language Reference</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference&amp;diff=3233"/>
		<updated>2006-11-15T23:06:20Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:&#039;&#039;Click on a term below for more information.&#039;&#039;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
{| style=&amp;quot;background-color: lightblue; width: {{{width|100%}}}&amp;quot;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
*GENERAL INFORMATION&lt;br /&gt;
**[[SELES101l02|HOW TO RUN AN EXAMPLE CODE]]&lt;br /&gt;
&lt;br /&gt;
*SYMBOLS&lt;br /&gt;
**[[Language Reference 1#plus sign|+]]&lt;br /&gt;
**[[Language Reference 1#-|-]]&lt;br /&gt;
**[[Language Reference 1#*|*]]&lt;br /&gt;
**[[Language Reference 1#/|/]]&lt;br /&gt;
**[[Language Reference 1#^|^]]&lt;br /&gt;
**[[Language Reference 1#%|%]]&lt;br /&gt;
**[[Language Reference 1#==|==]]&lt;br /&gt;
**[[Language Reference 1#!=|!=]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;|&amp;lt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;=|&amp;lt;=]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;|&amp;gt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;=|&amp;gt;=]]&lt;br /&gt;
**[[Language Reference 1#!|!]]&lt;br /&gt;
* A|Aa&lt;br /&gt;
**[[Language Reference 1#ABS(Expr)|ABS(Expr)]]&lt;br /&gt;
**[[Language Reference 1#AND|AND]]&lt;br /&gt;
**[[Language Reference 1#ARCCOS|ARCCOS]]&lt;br /&gt;
**[[Language Reference 1#ARCSIN|ARCSIN]]&lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr)|ARCTAN(Expr)]] &lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr,Expr)|ARCTAN(Expr,Expr)]]&lt;br /&gt;
* B|Bb&lt;br /&gt;
**[[Language Reference 1#BITWISE AND|BITWISE AND]]&lt;br /&gt;
**[[Language Reference 1#BITWISE NOT|BITWISE NOT]]&lt;br /&gt;
**[[Language Reference 1#BITWISE OR|BITWISE OR]]&lt;br /&gt;
**[[Language Reference 1#BITWISE XOR|BITWISE XOR]] &lt;br /&gt;
* C|Cc&lt;br /&gt;
**[[Language Reference 1#CEILING(Expr)|CEILING(Expr)]]&lt;br /&gt;
**[[Language Reference 1#CLAMP|CLAMP]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST|CLASSIFIED_DIST]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST_M|CLASSIFIED_DIST_M]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 1#CLASSIFY|CLASSIFY]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS|CONTAINS]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS LINK|CONTAINS LINK]]&lt;br /&gt;
:*[[Language Reference 1#COS|COS]]&lt;br /&gt;
:*[[Language Reference 1#CRITICAL SECTION|CRITICAL SECTION]]&lt;br /&gt;
* D|Dd&lt;br /&gt;
:*[[Language Reference 1#DEBUG|DEBUG]] &lt;br /&gt;
:*[[Language Reference 1#DECISION|DECISION]]&lt;br /&gt;
:*[[Language Reference 1#DIRECTION|DIRECTION]]&lt;br /&gt;
:*[[Language Reference 1#DISTANCE|DISTANCE]]&lt;br /&gt;
* E|Ee&lt;br /&gt;
:*[[Language Reference 1#ELSE|ELSE]]&lt;br /&gt;
:*[[Language Reference 1#EQUAL TRUE|EQUAL TRUE]] &lt;br /&gt;
:*[[Language Reference 1#EXP(Expr)|EXP(Expr)]]&lt;br /&gt;
* F|Ff&lt;br /&gt;
:*[[Language Reference 1#FIND|FIND]]&lt;br /&gt;
:*[[Language Reference 1#FIND LINK|FIND LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIND NEXT|FIND NEXT]] &lt;br /&gt;
:*[[Language Reference 1#FIND NEXT LINK|FIND NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIRST|FIRST]]&lt;br /&gt;
:*[[Language Reference 1#FIRST LINK|FIRST LINK]]&lt;br /&gt;
:*[[Language Reference 1#FLOOR(Expr)|FLOOR(Expr)]]&lt;br /&gt;
* G|Gg&lt;br /&gt;
:*[[Language Reference 1#GEOMETRIC MEAN|GEOMETRIC MEAN]] &lt;br /&gt;
:*[[Language Reference 1#GET|GET]]&lt;br /&gt;
:*[[Language Reference 1#GET LINK|GET LINK]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;=|GREATER OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;|GREATER THAN]]&lt;br /&gt;
* H|Hh&lt;br /&gt;
:*[[Language Reference 1#HEAD|HEAD]]&lt;br /&gt;
* I|Ii&lt;br /&gt;
:*[[Language Reference 2#IF Expr|IF Expr]]&lt;br /&gt;
:*[[Language Reference 2#IF Expr THEN Expr ELSE|IF Expr THEN Expr ELSE]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; | &lt;br /&gt;
:*[[Language Reference 2#INSERT|INSERT]]&lt;br /&gt;
:*[[Language Reference 2#INSERT HEAD|INSERT HEAD]]&lt;br /&gt;
:*[[Language Reference 2#INSERT LINK|INSERT LINK]]&lt;br /&gt;
:*[[Language Reference 2#INSERT TAIL|INSERT TAIL]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]] &lt;br /&gt;
:*[[Language Reference 2#IS EMPTY|IS EMPTY]]&lt;br /&gt;
:*[[Language Reference 2#IS EMPTY LINKS|IS EMPTY LINKS]]&lt;br /&gt;
* J|Jj&lt;br /&gt;
* K|Kk&lt;br /&gt;
* L|Ll&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;=|LESS OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;|LESS THAN]]&lt;br /&gt;
:*[[Language Reference 2#LINKED|LINKED]] &lt;br /&gt;
:*[[Language Reference 2#LOCATION|LOCATION]]&lt;br /&gt;
:*[[Language Reference 2#LOG(Expr)|LOG(Expr)]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL CDF|LOG NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL PDF|LOG NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL TEMPORAL PDF|LOG NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOOKUP|LOOKUP]]&lt;br /&gt;
* M|Mm&lt;br /&gt;
:*[[Language Reference 2#MAX|MAX]]&lt;br /&gt;
:*[[Language Reference 2#MAX POSITION|MAX POSITION]]&lt;br /&gt;
:*[[Language Reference 2#MEAN|MEAN]]&lt;br /&gt;
:*[[Language Reference 2#MIN|MIN]]&lt;br /&gt;
:*[[Language Reference 2#MIN POSITION|MIN POSITION]]&lt;br /&gt;
* N|Nn&lt;br /&gt;
:*[[Language Reference 2#NEGEXP|NEGEXP]]&lt;br /&gt;
:*[[Language Reference 2#NEXT|NEXT]]&lt;br /&gt;
:*[[Language Reference 2#NEXT LINK|NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL|NORMAL]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL CDF|NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL PDF|NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
* O|Oo&lt;br /&gt;
:*[[Language Reference 3#ONE|ONE]]&lt;br /&gt;
:*[[Language Reference 3#OR|OR]]&lt;br /&gt;
:*[[Language Reference 3#OUTPUT RECORD|OUTPUT RECORD]]&lt;br /&gt;
:*[[Language Reference 3#OVER INDEX SEQUENCE|OVER INDEX SEQUENCE]] &lt;br /&gt;
* P|Pp&lt;br /&gt;
:*[[Language Reference 3#PAUSE|PAUSE]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE (#Value)IF|PAUSE (#Value)IF]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE IF|PAUSE IF]]&lt;br /&gt;
:*[[Language Reference 3#PREV|PREV]]&lt;br /&gt;
:*[[Language Reference 3#PREV LINK|PREV LINK]] &lt;br /&gt;
* Q|Qq&lt;br /&gt;
* R|Rr&lt;br /&gt;
:*[[Language Reference 3#RECOMPUTE|RECOMPUTE]]&lt;br /&gt;
:*[[Language Reference 3#REGION CENTRED|REGION CENTRED]]&lt;br /&gt;
:*[[Language Reference 3#REGION COST SURFACE|REGION COST SURFACE]]&lt;br /&gt;
:*[[Language Reference 3#REGION LEAST COST PATH|REGION LEAST COST PATH]]&lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION|REGION LOCATION]] &lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION LIST|REGION LOCATION LIST]]&lt;br /&gt;
:*[[Language Reference 3#REGION RECT|REGION RECT]]&lt;br /&gt;
:*[[Language Reference 3#REGION VECTOR|REGION VECTOR]]&lt;br /&gt;
:*[[Language Reference 3#REGION WHOLE MAP|REGION WHOLE MAP]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE|REMOVE]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE ALL LINKS|REMOVE ALL LINKS]] &lt;br /&gt;
:*[[Language Reference 3#REMOVE LINK|REMOVE LINK]]&lt;br /&gt;
:*[[Language Reference 3#RESIZE|RESIZE]]&lt;br /&gt;
:*[[Language Reference 3#RESPONSE|RESPONSE]]&lt;br /&gt;
:*[[Language Reference 3#ROUND(Expr)|ROUND(Expr)]]&lt;br /&gt;
* S|Ss&lt;br /&gt;
:*[[Language Reference 3#SEED|SEED]]&lt;br /&gt;
:*[[Language Reference 3#SELECTAT|SELECTAT]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 3#SET|SET]]&lt;br /&gt;
:*[[Language Reference 3#SET LINK|SET LINK]]&lt;br /&gt;
:*[[Language Reference 3#SETAT|SETAT]] &lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type)]]&lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type,#Prob)]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT LEFT|SHIFT LEFT]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT RIGHT|SHIFT RIGHT]]&lt;br /&gt;
:*[[Language Reference 3#SIN|SIN]]&lt;br /&gt;
:*[[Language Reference 3#SIZE LINKS|SIZE LINKS]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL CDF|SKEWED NORMAL CDF]] &lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL PDF|SKEWED NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL TEMPORAL PDF|SKEWED NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SORT|SORT]]&lt;br /&gt;
:*[[Language Reference 3#SORT LINKS|SORT LINKS]]&lt;br /&gt;
:*[[Language Reference 3#STRICT ORDERED|STRICT ORDERED]] &lt;br /&gt;
:*[[Language Reference 3#SUM|SUM]]&lt;br /&gt;
* T|Tt&lt;br /&gt;
:*[[Language Reference 3#TAIL|TAIL]]&lt;br /&gt;
:*[[Language Reference 3#TAN|TAN]]&lt;br /&gt;
* U|Uu&lt;br /&gt;
:*[[Language Reference 3#UNIFORM|UNIFORM]]&lt;br /&gt;
:*[[Language Reference 3#UNIFORM TEMPORAL PDF|UNIFORM TEMPORAL PDF]] &lt;br /&gt;
* V|Vv&lt;br /&gt;
* W|Ww&lt;br /&gt;
:*[[Language Reference 3#WAIT UNTIL|WAIT UNTIL]]&lt;br /&gt;
:*[[Language Reference 3#WHILE|WHILE]]&lt;br /&gt;
* X|Xx&lt;br /&gt;
* Y|Yy&lt;br /&gt;
* Z|Zz&lt;br /&gt;
:*[[Language Reference 3#ZERO|ZERO]] &lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3232</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3232"/>
		<updated>2006-11-15T23:03:47Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===quick link===&lt;br /&gt;
[[User_talk:JSH]]&lt;br /&gt;
===a note to myself===		&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3231</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3231"/>
		<updated>2006-11-15T23:03:09Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
===a note to myself===		&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:JSH&amp;diff=3230</id>
		<title>User talk:JSH</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:JSH&amp;diff=3230"/>
		<updated>2006-11-15T23:02:45Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Nov. 15 2006==&lt;br /&gt;
&lt;br /&gt;
Hi Josie, Please take a look at [[User_talk:Fei]] for what I&#039;ve done today. &lt;br /&gt;
Have a nice weekend!&lt;br /&gt;
 &lt;br /&gt;
==Nov. 14 2006==		&lt;br /&gt;
&lt;br /&gt;
HI Josie, I listed what I looked thru today &amp;amp; some stuff that I&#039;m unsure of, I&#039;ll ask you about them tomorrow =)&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE?&lt;br /&gt;
***OUTPUT RECORD?&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***many?&lt;br /&gt;
***OVER REFION VECTOR&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF?&lt;br /&gt;
**Consumer.lse&lt;br /&gt;
***NOTHING&lt;br /&gt;
**Producer.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
**update.lse	&lt;br /&gt;
***NOTHING&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***NOTHING&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hi Josie, this is the msg i got from Charles, what do you think?--fei&lt;br /&gt;
&amp;quot;I think we&#039;ll have to re-think about the Language Reference list... I&#039;m getting the folowing errors: &amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hello, Josie....hope you are getting it this time&lt;br /&gt;
&lt;br /&gt;
== Oct 17(Tuesday),06 ==&lt;br /&gt;
&lt;br /&gt;
Hi, Josie, I&#039;ve done the tasks up to the Log part. Please check on what I&#039;ve finished today. Question- I don&#039;t know why this page doesn&#039;t read the code i copied from wiki, please go to the Log part. We can fix that tomorrow. Thanks for the coffee :) Have a great afternoon! fei&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:JSH&amp;diff=3229</id>
		<title>User talk:JSH</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:JSH&amp;diff=3229"/>
		<updated>2006-11-15T23:01:44Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006===&lt;br /&gt;
Hi Josie, Please take a look at [[User_talk:Fei]] for what I&#039;ve done today. &lt;br /&gt;
Have a nice weekend!&lt;br /&gt;
 &lt;br /&gt;
===Nov. 14 2006===		&lt;br /&gt;
HI Josie, I listed what I looked thru today &amp;amp; some stuff that I&#039;m unsure of, I&#039;ll ask you about them tomorrow =)&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE?&lt;br /&gt;
***OUTPUT RECORD?&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***many?&lt;br /&gt;
***OVER REFION VECTOR&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF?&lt;br /&gt;
**Consumer.lse&lt;br /&gt;
***NOTHING&lt;br /&gt;
**Producer.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
**update.lse	&lt;br /&gt;
***NOTHING&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***NOTHING&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hi Josie, this is the msg i got from Charles, what do you think?--fei&lt;br /&gt;
&amp;quot;I think we&#039;ll have to re-think about the Language Reference list... I&#039;m getting the folowing errors: &amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hello, Josie....hope you are getting it this time&lt;br /&gt;
&lt;br /&gt;
== Oct 17(Tuesday),06 ==&lt;br /&gt;
&lt;br /&gt;
Hi, Josie, I&#039;ve done the tasks up to the Log part. Please check on what I&#039;ve finished today. Question- I don&#039;t know why this page doesn&#039;t read the code i copied from wiki, please go to the Log part. We can fix that tomorrow. Thanks for the coffee :) Have a great afternoon! fei&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference&amp;diff=3228</id>
		<title>Language Reference</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference&amp;diff=3228"/>
		<updated>2006-11-15T22:58:32Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:&#039;&#039;Click on a term below for more information.&#039;&#039;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
{| style=&amp;quot;background-color: lightblue; width: {{{width|100%}}}&amp;quot;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
*GENERAL INFORMATION&lt;br /&gt;
**[[SELES101l02|HOW TO RUN AN EXAMPLE CODE]]&lt;br /&gt;
&lt;br /&gt;
*SYMBOLS&lt;br /&gt;
**[[Language Reference 1#plus sign|+]]&lt;br /&gt;
**[[Language Reference 1#-|-]]&lt;br /&gt;
**[[Language Reference 1#*|*]]&lt;br /&gt;
**[[Language Reference 1#/|/]]&lt;br /&gt;
**[[Language Reference 1#^|^]]&lt;br /&gt;
**[[Language Reference 1#%|%]]&lt;br /&gt;
**[[Language Reference 1#==|==]]&lt;br /&gt;
**[[Language Reference 1#!=|!=]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;|&amp;lt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;=|&amp;lt;=]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;|&amp;gt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;=|&amp;gt;=]]&lt;br /&gt;
**[[Language Reference 1#!|!]]&lt;br /&gt;
* A|Aa&lt;br /&gt;
**[[Language Reference 1#ABS(Expr)|ABS(Expr)]]&lt;br /&gt;
**[[Language Reference 1#AND|AND]]&lt;br /&gt;
**[[Language Reference 1#ARCCOS|ARCCOS]]&lt;br /&gt;
**[[Language Reference 1#ARCSIN|ARCSIN]]&lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr)|ARCTAN(Expr)]] &lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr,Expr)|ARCTAN(Expr,Expr)]]&lt;br /&gt;
* B|Bb&lt;br /&gt;
**[[Language Reference 1#BITWISE AND|BITWISE AND]]&lt;br /&gt;
**[[Language Reference 1#BITWISE NOT|BITWISE NOT]]&lt;br /&gt;
**[[Language Reference 1#BITWISE OR|BITWISE OR]]&lt;br /&gt;
**[[Language Reference 1#BITWISE XOR|BITWISE XOR]] &lt;br /&gt;
* C|Cc&lt;br /&gt;
**[[Language Reference 1#CEILING(Expr)|CEILING(Expr)]]&lt;br /&gt;
**[[Language Reference 1#CLAMP|CLAMP]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST|CLASSIFIED_DIST]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST_M|CLASSIFIED_DIST_M]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 1#CLASSIFY|CLASSIFY]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS|CONTAINS]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS LINK|CONTAINS LINK]]&lt;br /&gt;
:*[[Language Reference 1#COS|COS]]&lt;br /&gt;
:*[[Language Reference 1#CRITICAL SECTION|CRITICAL SECTION]]&lt;br /&gt;
* D|Dd&lt;br /&gt;
:*[[Language Reference 1#DEBUG|DEBUG]] &lt;br /&gt;
:*[[Language Reference 1#DECISION|DECISION]]&lt;br /&gt;
:*[[Language Reference 1#DIRECTION|DIRECTION]]&lt;br /&gt;
:*[[Language Reference 1#DISTANCE|DISTANCE]]&lt;br /&gt;
* E|Ee&lt;br /&gt;
:*[[Language Reference 1#ELSE|ELSE]]&lt;br /&gt;
:*[[Language Reference 1#EQUAL TRUE|EQUAL TRUE]] &lt;br /&gt;
:*[[Language Reference 1#EXP(Expr)|EXP(Expr)]]&lt;br /&gt;
* F|Ff&lt;br /&gt;
:*[[Language Reference 1#FIND|FIND]]&lt;br /&gt;
:*[[Language Reference 1#FIND LINK|FIND LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIND NEXT|FIND NEXT]] &lt;br /&gt;
:*[[Language Reference 1#FIND NEXT LINK|FIND NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIRST|FIRST]]&lt;br /&gt;
:*[[Language Reference 1#FIRST LINK|FIRST LINK]]&lt;br /&gt;
:*[[Language Reference 1#FLOOR(Expr)|FLOOR(Expr)]]&lt;br /&gt;
* G|Gg&lt;br /&gt;
:*[[Language Reference 1#GEOMETRIC MEAN|GEOMETRIC MEAN]] &lt;br /&gt;
:*[[Language Reference 1#GET|GET]]&lt;br /&gt;
:*[[Language Reference 1#GET LINK|GET]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;=|GREATER OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;|GREATER THAN]]&lt;br /&gt;
* H|Hh&lt;br /&gt;
:*[[Language Reference 1#HEAD|HEAD]]&lt;br /&gt;
* I|Ii&lt;br /&gt;
:*[[Language Reference 2#IF Expr|IF Expr]]&lt;br /&gt;
:*[[Language Reference 2#IF Expr THEN Expr ELSE|IF Expr THEN Expr ELSE]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; | &lt;br /&gt;
:*[[Language Reference 2#INSERT|INSERT]]&lt;br /&gt;
:*[[Language Reference 2#INSERT HEAD|INSERT HEAD]]&lt;br /&gt;
:*[[Language Reference 2#INSERT LINK|INSERT LINK]]&lt;br /&gt;
:*[[Language Reference 2#INSERT TAIL|INSERT TAIL]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]] &lt;br /&gt;
:*[[Language Reference 2#IS EMPTY|IS EMPTY]]&lt;br /&gt;
:*[[Language Reference 2#IS EMPTY LINKS|IS EMPTY LINKS]]&lt;br /&gt;
* J|Jj&lt;br /&gt;
* K|Kk&lt;br /&gt;
* L|Ll&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;=|LESS OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;|LESS THAN]]&lt;br /&gt;
:*[[Language Reference 2#LINKED|LINKED]] &lt;br /&gt;
:*[[Language Reference 2#LOCATION|LOCATION]]&lt;br /&gt;
:*[[Language Reference 2#LOG(Expr)|LOG(Expr)]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL CDF|LOG NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL PDF|LOG NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL TEMPORAL PDF|LOG NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOOKUP|LOOKUP]]&lt;br /&gt;
* M|Mm&lt;br /&gt;
:*[[Language Reference 2#MAX|MAX]]&lt;br /&gt;
:*[[Language Reference 2#MAX POSITION|MAX POSITION]]&lt;br /&gt;
:*[[Language Reference 2#MEAN|MEAN]]&lt;br /&gt;
:*[[Language Reference 2#MIN|MIN]]&lt;br /&gt;
:*[[Language Reference 2#MIN POSITION|MIN POSITION]]&lt;br /&gt;
* N|Nn&lt;br /&gt;
:*[[Language Reference 2#NEGEXP|NEGEXP]]&lt;br /&gt;
:*[[Language Reference 2#NEXT|NEXT]]&lt;br /&gt;
:*[[Language Reference 2#NEXT LINK|NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL|NORMAL]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL CDF|NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL PDF|NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
* O|Oo&lt;br /&gt;
:*[[Language Reference 3#ONE|ONE]]&lt;br /&gt;
:*[[Language Reference 3#OR|OR]]&lt;br /&gt;
:*[[Language Reference 3#OUTPUT RECORD|OUTPUT RECORD]]&lt;br /&gt;
:*[[Language Reference 3#OVER INDEX SEQUENCE|OVER INDEX SEQUENCE]] &lt;br /&gt;
* P|Pp&lt;br /&gt;
:*[[Language Reference 3#PAUSE|PAUSE]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE (#Value)IF|PAUSE (#Value)IF]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE IF|PAUSE IF]]&lt;br /&gt;
:*[[Language Reference 3#PREV|PREV]]&lt;br /&gt;
:*[[Language Reference 3#PREV LINK|PREV LINK]] &lt;br /&gt;
* Q|Qq&lt;br /&gt;
* R|Rr&lt;br /&gt;
:*[[Language Reference 3#RECOMPUTE|RECOMPUTE]]&lt;br /&gt;
:*[[Language Reference 3#REGION CENTRED|REGION CENTRED]]&lt;br /&gt;
:*[[Language Reference 3#REGION COST SURFACE|REGION COST SURFACE]]&lt;br /&gt;
:*[[Language Reference 3#REGION LEAST COST PATH|REGION LEAST COST PATH]]&lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION|REGION LOCATION]] &lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION LIST|REGION LOCATION LIST]]&lt;br /&gt;
:*[[Language Reference 3#REGION RECT|REGION RECT]]&lt;br /&gt;
:*[[Language Reference 3#REGION VECTOR|REGION VECTOR]]&lt;br /&gt;
:*[[Language Reference 3#REGION WHOLE MAP|REGION WHOLE MAP]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE|REMOVE]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE ALL LINKS|REMOVE ALL LINKS]] &lt;br /&gt;
:*[[Language Reference 3#REMOVE LINK|REMOVE LINK]]&lt;br /&gt;
:*[[Language Reference 3#RESIZE|RESIZE]]&lt;br /&gt;
:*[[Language Reference 3#RESPONSE|RESPONSE]]&lt;br /&gt;
:*[[Language Reference 3#ROUND(Expr)|ROUND(Expr)]]&lt;br /&gt;
* S|Ss&lt;br /&gt;
:*[[Language Reference 3#SEED|SEED]]&lt;br /&gt;
:*[[Language Reference 3#SELECTAT|SELECTAT]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 3#SET|SET]]&lt;br /&gt;
:*[[Language Reference 3#SET LINK|SET LINK]]&lt;br /&gt;
:*[[Language Reference 3#SETAT|SETAT]] &lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type)]]&lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type,#Prob)]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT LEFT|SHIFT LEFT]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT RIGHT|SHIFT RIGHT]]&lt;br /&gt;
:*[[Language Reference 3#SIN|SIN]]&lt;br /&gt;
:*[[Language Reference 3#SIZE LINKS|SIZE LINKS]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL CDF|SKEWED NORMAL CDF]] &lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL PDF|SKEWED NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL TEMPORAL PDF|SKEWED NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SORT|SORT]]&lt;br /&gt;
:*[[Language Reference 3#SORT LINKS|SORT LINKS]]&lt;br /&gt;
:*[[Language Reference 3#STRICT ORDERED|STRICT ORDERED]] &lt;br /&gt;
:*[[Language Reference 3#SUM|SUM]]&lt;br /&gt;
* T|Tt&lt;br /&gt;
:*[[Language Reference 3#TAIL|TAIL]]&lt;br /&gt;
:*[[Language Reference 3#TAN|TAN]]&lt;br /&gt;
* U|Uu&lt;br /&gt;
:*[[Language Reference 3#UNIFORM|UNIFORM]]&lt;br /&gt;
:*[[Language Reference 3#UNIFORM TEMPORAL PDF|UNIFORM TEMPORAL PDF]] &lt;br /&gt;
* V|Vv&lt;br /&gt;
* W|Ww&lt;br /&gt;
:*[[Language Reference 3#WAIT UNTIL|WAIT UNTIL]]&lt;br /&gt;
:*[[Language Reference 3#WHILE|WHILE]]&lt;br /&gt;
* X|Xx&lt;br /&gt;
* Y|Yy&lt;br /&gt;
* Z|Zz&lt;br /&gt;
:*[[Language Reference 3#ZERO|ZERO]] &lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference&amp;diff=3227</id>
		<title>Language Reference</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference&amp;diff=3227"/>
		<updated>2006-11-15T22:51:52Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:&#039;&#039;Click on a term below for more information.&#039;&#039;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
{| style=&amp;quot;background-color: lightblue; width: {{{width|100%}}}&amp;quot;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
*GENERAL INFORMATION&lt;br /&gt;
**[[SELES101l02|HOW TO RUN AN EXAMPLE CODE]]&lt;br /&gt;
&lt;br /&gt;
*SYMBOLS&lt;br /&gt;
**[[Language Reference 1#plus sign|+]]&lt;br /&gt;
**[[Language Reference 1#-|-]]&lt;br /&gt;
**[[Language Reference 1#*|*]]&lt;br /&gt;
**[[Language Reference 1#/|/]]&lt;br /&gt;
**[[Language Reference 1#^|^]]&lt;br /&gt;
**[[Language Reference 1#%|%]]&lt;br /&gt;
**[[Language Reference 1#==|==]]&lt;br /&gt;
**[[Language Reference 1#!=|!=]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;|&amp;lt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;=|&amp;lt;=]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;|&amp;gt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;=|&amp;gt;=]]&lt;br /&gt;
**[[Language Reference 1#!|!]]&lt;br /&gt;
* A|Aa&lt;br /&gt;
**[[Language Reference 1#ABS(Expr)|ABS(Expr)]]&lt;br /&gt;
**[[Language Reference 1#AND|AND]]&lt;br /&gt;
**[[Language Reference 1#ARCCOS|ARCCOS]]&lt;br /&gt;
**[[Language Reference 1#ARCSIN|ARCSIN]]&lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr)|ARCTAN(Expr)]] &lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr,Expr)|ARCTAN(Expr,Expr)]]&lt;br /&gt;
* B|Bb&lt;br /&gt;
**[[Language Reference 1#BITWISE AND|BITWISE AND]]&lt;br /&gt;
**[[Language Reference 1#BITWISE NOT|BITWISE NOT]]&lt;br /&gt;
**[[Language Reference 1#BITWISE OR|BITWISE OR]]&lt;br /&gt;
**[[Language Reference 1#BITWISE XOR|BITWISE XOR]] &lt;br /&gt;
* C|Cc&lt;br /&gt;
**[[Language Reference 1#CEILING(Expr)|CEILING(Expr)]]&lt;br /&gt;
**[[Language Reference 1#CLAMP|CLAMP]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST|CLASSIFIED_DIST]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST_M|CLASSIFIED_DIST_M]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 1#CLASSIFY|CLASSIFY]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS|CONTAINS]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS LINK|CONTAINS LINK]]&lt;br /&gt;
:*[[Language Reference 1#COS|COS]]&lt;br /&gt;
:*[[Language Reference 1#CRITICAL SECTION|CRITICAL SECTION]]&lt;br /&gt;
* D|Dd&lt;br /&gt;
:*[[Language Reference 1#DEBUG|DEBUG]] &lt;br /&gt;
:*[[Language Reference 1#DECISION|DECISION]]&lt;br /&gt;
:*[[Language Reference 1#DIRECTION|DIRECTION]]&lt;br /&gt;
:*[[Language Reference 1#DISTANCE|DISTANCE]]&lt;br /&gt;
* E|Ee&lt;br /&gt;
:*[[Language Reference 1#ELSE|ELSE]]&lt;br /&gt;
:*[[Language Reference 1#EQUAL TRUE|EQUAL TRUE]] &lt;br /&gt;
:*[[Language Reference 1#EXP(Expr)|EXP(Expr)]]&lt;br /&gt;
* F|Ff&lt;br /&gt;
:*[[Language Reference 1#FIND|FIND]]&lt;br /&gt;
:*[[Language Reference 1#FIND LINK|FIND LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIND NEXT|FIND NEXT]] &lt;br /&gt;
:*[[Language Reference 1#FIND NEXT LINK|FIND NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIRST|FIRST]]&lt;br /&gt;
:*[[Language Reference 1#FIRST LINK|FIRST LINK]]&lt;br /&gt;
:*[[Language Reference 1#FLOOR(Expr)|FLOOR(Expr)]]&lt;br /&gt;
* G|Gg&lt;br /&gt;
:*[[Language Reference 1#GEOMETRIC MEAN|GEOMETRIC MEAN]] &lt;br /&gt;
:*[[Language Reference 1#GET|GET]]&lt;br /&gt;
:*[[Language Reference 1#GET LINK|GET]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;=|GREATER OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;|GREATER THAN]]&lt;br /&gt;
* H|Hh&lt;br /&gt;
:*[[Language Reference 1#HEAD|HEAD]]&lt;br /&gt;
* I|Ii&lt;br /&gt;
:*[[Language Reference 2#IF Expr|IF Expr]]&lt;br /&gt;
:*[[Language Reference 2#IF Expr THEN Expr ELSE|IF Expr THEN Expr ELSE]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; | &lt;br /&gt;
:*[[Language Reference 2#INSERT|INSERT]]&lt;br /&gt;
:*[[Language Reference 2#INSERT HEAD|INSERT HEAD]]&lt;br /&gt;
:*[[Language Reference 2#INSERT LINK|INSERT LINK]]&lt;br /&gt;
:*[[Language Reference 2#INSERT TAIL|INSERT TAIL]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]] &lt;br /&gt;
:*[[Language Reference 2#IS EMPTY|IS EMPTY]]&lt;br /&gt;
:*[[Language Reference 2#IS EMPTY LINKS|IS EMPTY LINKS]]&lt;br /&gt;
* J|Jj&lt;br /&gt;
* K|Kk&lt;br /&gt;
* L|Ll&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;=|LESS OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;|LESS THAN]]&lt;br /&gt;
:*[[Language Reference 2#LINKED|LINKED]] &lt;br /&gt;
:*[[Language Reference 2#LOCATION|LOCATION]]&lt;br /&gt;
:*[[Language Reference 2#LOG(Expr)|LOG(Expr)]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL CDF|LOG NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL PDF|LOG NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL TEMPORAL PDF|LOG NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOOKUP|LOOKUP]]&lt;br /&gt;
* M|Mm&lt;br /&gt;
:*[[Language Reference 2#MAX|MAX]]&lt;br /&gt;
:*[[Language Reference 2#MAX POSITION|MAX POSITION]]&lt;br /&gt;
:*[[Language Reference 2#MEAN|MEAN]]&lt;br /&gt;
:*[[Language Reference 2#MIN|MIN]]&lt;br /&gt;
:*[[Language Reference 2#MIN POSITION|MIN POSITION]]&lt;br /&gt;
* N|Nn&lt;br /&gt;
:*[[Language Reference 2#NEGEXP|NEGEXP]]&lt;br /&gt;
:*[[Language Reference 2#NEXT|NEXT]]&lt;br /&gt;
:*[[Language Reference 2#NEXT LINK|NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL CDF|NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL PDF|NORMAL PDF]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
* O|Oo&lt;br /&gt;
:*[[Language Reference 3#ONE|ONE]]&lt;br /&gt;
:*[[Language Reference 3#OR|OR]]&lt;br /&gt;
:*[[Language Reference 3#OVER INDEX SEQUENCE|OVER INDEX SEQUENCE]] &lt;br /&gt;
* P|Pp&lt;br /&gt;
:*[[Language Reference 3#PAUSE|PAUSE]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE (#Value)IF|PAUSE (#Value)IF]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE IF|PAUSE IF]]&lt;br /&gt;
:*[[Language Reference 3#PREV|PREV]]&lt;br /&gt;
:*[[Language Reference 3#PREV LINK|PREV LINK]] &lt;br /&gt;
* Q|Qq&lt;br /&gt;
* R|Rr&lt;br /&gt;
:*[[Language Reference 3#RECOMPUTE|RECOMPUTE]]&lt;br /&gt;
:*[[Language Reference 3#REGION CENTRED|REGION CENTRED]]&lt;br /&gt;
:*[[Language Reference 3#REGION COST SURFACE|REGION COST SURFACE]]&lt;br /&gt;
:*[[Language Reference 3#REGION LEAST COST PATH|REGION LEAST COST PATH]]&lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION|REGION LOCATION]] &lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION LIST|REGION LOCATION LIST]]&lt;br /&gt;
:*[[Language Reference 3#REGION RECT|REGION RECT]]&lt;br /&gt;
:*[[Language Reference 3#REGION WHOLE MAP|REGION WHOLE MAP]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE|REMOVE]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE ALL LINKS|REMOVE ALL LINKS]] &lt;br /&gt;
:*[[Language Reference 3#REMOVE LINK|REMOVE LINK]]&lt;br /&gt;
:*[[Language Reference 3#RESIZE|RESIZE]]&lt;br /&gt;
:*[[Language Reference 3#RESPONSE|RESPONSE]]&lt;br /&gt;
:*[[Language Reference 3#ROUND(Expr)|ROUND(Expr)]]&lt;br /&gt;
* S|Ss&lt;br /&gt;
:*[[Language Reference 3#SEED|SEED]]&lt;br /&gt;
:*[[Language Reference 3#SELECTAT|SELECTAT]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 3#SET|SET]]&lt;br /&gt;
:*[[Language Reference 3#SET LINK|SET LINK]]&lt;br /&gt;
:*[[Language Reference 3#SETAT|SETAT]] &lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type)]]&lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type,#Prob)]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT LEFT|SHIFT LEFT]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT RIGHT|SHIFT RIGHT]]&lt;br /&gt;
:*[[Language Reference 3#SIN|SIN]]&lt;br /&gt;
:*[[Language Reference 3#SIZE LINKS|SIZE LINKS]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL CDF|SKEWED NORMAL CDF]] &lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL PDF|SKEWED NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL TEMPORAL PDF|SKEWED NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SORT|SORT]]&lt;br /&gt;
:*[[Language Reference 3#SORT LINKS|SORT LINKS]]&lt;br /&gt;
:*[[Language Reference 3#STRICT ORDERED|STRICT ORDERED]] &lt;br /&gt;
:*[[Language Reference 3#SUM|SUM]]&lt;br /&gt;
* T|Tt&lt;br /&gt;
:*[[Language Reference 3#TAIL|TAIL]]&lt;br /&gt;
:*[[Language Reference 3#TAN|TAN]]&lt;br /&gt;
* U|Uu&lt;br /&gt;
:*[[Language Reference 3#UNIFORM|UNIFORM]]&lt;br /&gt;
:*[[Language Reference 3#UNIFORM TEMPORAL PDF|UNIFORM TEMPORAL PDF]] &lt;br /&gt;
* V|Vv&lt;br /&gt;
* W|Ww&lt;br /&gt;
:*[[Language Reference 3#WAIT UNTIL|WAIT UNTIL]]&lt;br /&gt;
:*[[Language Reference 3#WHILE|WHILE]]&lt;br /&gt;
* X|Xx&lt;br /&gt;
* Y|Yy&lt;br /&gt;
* Z|Zz&lt;br /&gt;
:*[[Language Reference 3#ZERO|ZERO]] &lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3226</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3226"/>
		<updated>2006-11-15T22:50:51Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* LINKED */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 INSERT(nnGraph[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 INSERT LINK(nnGraph[currType], patchPos, nPos2, edgeVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(patchList[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(coreAreaList[PatchLayer], patchVar)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOCATION==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 EdgeLocation = LOCATION(EdgeRow, EdgeCol)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3225</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3225"/>
		<updated>2006-11-15T22:41:45Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* HEAD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area1 = GET(nnGraph[currType], patchPos, rArea)&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area2 = GET(nnGraph[currType], nPos2, rArea)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgeVar [=] GET LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 pos = HEAD(coreAreaList[i])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3224</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3224"/>
		<updated>2006-11-15T22:41:07Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* HEAD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area1 = GET(nnGraph[currType], patchPos, rArea)&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area2 = GET(nnGraph[currType], nPos2, rArea)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgeVar [=] GET LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats# stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 pos = HEAD(coreAreaList[i])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference&amp;diff=3223</id>
		<title>Language Reference</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference&amp;diff=3223"/>
		<updated>2006-11-15T22:34:31Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:&#039;&#039;Click on a term below for more information.&#039;&#039;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
{| style=&amp;quot;background-color: lightblue; width: {{{width|100%}}}&amp;quot;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
*GENERAL INFORMATION&lt;br /&gt;
**[[SELES101l02|HOW TO RUN AN EXAMPLE CODE]]&lt;br /&gt;
&lt;br /&gt;
*SYMBOLS&lt;br /&gt;
**[[Language Reference 1#plus sign|+]]&lt;br /&gt;
**[[Language Reference 1#-|-]]&lt;br /&gt;
**[[Language Reference 1#*|*]]&lt;br /&gt;
**[[Language Reference 1#/|/]]&lt;br /&gt;
**[[Language Reference 1#^|^]]&lt;br /&gt;
**[[Language Reference 1#%|%]]&lt;br /&gt;
**[[Language Reference 1#==|==]]&lt;br /&gt;
**[[Language Reference 1#!=|!=]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;|&amp;lt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;=|&amp;lt;=]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;|&amp;gt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;=|&amp;gt;=]]&lt;br /&gt;
**[[Language Reference 1#!|!]]&lt;br /&gt;
* A|Aa&lt;br /&gt;
**[[Language Reference 1#ABS(Expr)|ABS(Expr)]]&lt;br /&gt;
**[[Language Reference 1#AND|AND]]&lt;br /&gt;
**[[Language Reference 1#ARCCOS|ARCCOS]]&lt;br /&gt;
**[[Language Reference 1#ARCSIN|ARCSIN]]&lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr)|ARCTAN(Expr)]] &lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr,Expr)|ARCTAN(Expr,Expr)]]&lt;br /&gt;
* B|Bb&lt;br /&gt;
**[[Language Reference 1#BITWISE AND|BITWISE AND]]&lt;br /&gt;
**[[Language Reference 1#BITWISE NOT|BITWISE NOT]]&lt;br /&gt;
**[[Language Reference 1#BITWISE OR|BITWISE OR]]&lt;br /&gt;
**[[Language Reference 1#BITWISE XOR|BITWISE XOR]] &lt;br /&gt;
* C|Cc&lt;br /&gt;
**[[Language Reference 1#CEILING(Expr)|CEILING(Expr)]]&lt;br /&gt;
**[[Language Reference 1#CLAMP|CLAMP]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST|CLASSIFIED_DIST]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST_M|CLASSIFIED_DIST_M]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 1#CLASSIFY|CLASSIFY]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS|CONTAINS]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS LINK|CONTAINS LINK]]&lt;br /&gt;
:*[[Language Reference 1#COS|COS]]&lt;br /&gt;
:*[[Language Reference 1#CRITICAL SECTION|CRITICAL SECTION]]&lt;br /&gt;
* D|Dd&lt;br /&gt;
:*[[Language Reference 1#DEBUG|DEBUG]] &lt;br /&gt;
:*[[Language Reference 1#DECISION|DECISION]]&lt;br /&gt;
:*[[Language Reference 1#DIRECTION|DIRECTION]]&lt;br /&gt;
:*[[Language Reference 1#DISTANCE|DISTANCE]]&lt;br /&gt;
* E|Ee&lt;br /&gt;
:*[[Language Reference 1#ELSE|ELSE]]&lt;br /&gt;
:*[[Language Reference 1#EQUAL TRUE|EQUAL TRUE]] &lt;br /&gt;
:*[[Language Reference 1#EXP(Expr)|EXP(Expr)]]&lt;br /&gt;
* F|Ff&lt;br /&gt;
:*[[Language Reference 1#FIND|FIND]]&lt;br /&gt;
:*[[Language Reference 1#FIND LINK|FIND LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIND NEXT|FIND NEXT]] &lt;br /&gt;
:*[[Language Reference 1#FIND NEXT LINK|FIND NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIRST|FIRST]]&lt;br /&gt;
:*[[Language Reference 1#FIRST LINK|FIRST LINK]]&lt;br /&gt;
:*[[Language Reference 1#FLOOR(Expr)|FLOOR(Expr)]]&lt;br /&gt;
* G|Gg&lt;br /&gt;
:*[[Language Reference 1#GEOMETRIC MEAN|GEOMETRIC MEAN]] &lt;br /&gt;
:*[[Language Reference 1#GET|GET]]&lt;br /&gt;
:*[[Language Reference 1#GET LINK|GET]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;=|GREATER OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;|GREATER THAN]]&lt;br /&gt;
* H|Hh&lt;br /&gt;
:*[[Language Reference 1#HEAD|HEAD]]&lt;br /&gt;
* I|Ii&lt;br /&gt;
:*[[Language Reference 2#IF Expr|IF Expr]]&lt;br /&gt;
:*[[Language Reference 2#IF Expr THEN Expr ELSE|IF Expr THEN Expr ELSE]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; | &lt;br /&gt;
:*[[Language Reference 2#INSERT|INSERT]]&lt;br /&gt;
:*[[Language Reference 2#INSERT HEAD|INSERT HEAD]]&lt;br /&gt;
:*[[Language Reference 2#INSERT LINK|INSERT LINK]]&lt;br /&gt;
:*[[Language Reference 2#INSERT TAIL|INSERT TAIL]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]] &lt;br /&gt;
:*[[Language Reference 2#IS EMPTY|IS EMPTY]]&lt;br /&gt;
:*[[Language Reference 2#IS EMPTY LINKS|IS EMPTY LINKS]]&lt;br /&gt;
* J|Jj&lt;br /&gt;
* K|Kk&lt;br /&gt;
* L|Ll&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;=|LESS OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;|LESS THAN]]&lt;br /&gt;
:*[[Language Reference 2#LINKED|LINKED]] &lt;br /&gt;
:*[[Language Reference 2#LOG(Expr)|LOG(Expr)]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL CDF|LOG NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL PDF|LOG NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL TEMPORAL PDF|LOG NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOOKUP|LOOKUP]]&lt;br /&gt;
* M|Mm&lt;br /&gt;
:*[[Language Reference 2#MAX|MAX]]&lt;br /&gt;
:*[[Language Reference 2#MAX POSITION|MAX POSITION]]&lt;br /&gt;
:*[[Language Reference 2#MEAN|MEAN]]&lt;br /&gt;
:*[[Language Reference 2#MIN|MIN]]&lt;br /&gt;
:*[[Language Reference 2#MIN POSITION|MIN POSITION]]&lt;br /&gt;
* N|Nn&lt;br /&gt;
:*[[Language Reference 2#NEGEXP|NEGEXP]]&lt;br /&gt;
:*[[Language Reference 2#NEXT|NEXT]]&lt;br /&gt;
:*[[Language Reference 2#NEXT LINK|NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL CDF|NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL PDF|NORMAL PDF]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
* O|Oo&lt;br /&gt;
:*[[Language Reference 3#ONE|ONE]]&lt;br /&gt;
:*[[Language Reference 3#OR|OR]]&lt;br /&gt;
:*[[Language Reference 3#OVER INDEX SEQUENCE|OVER INDEX SEQUENCE]] &lt;br /&gt;
* P|Pp&lt;br /&gt;
:*[[Language Reference 3#PAUSE|PAUSE]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE (#Value)IF|PAUSE (#Value)IF]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE IF|PAUSE IF]]&lt;br /&gt;
:*[[Language Reference 3#PREV|PREV]]&lt;br /&gt;
:*[[Language Reference 3#PREV LINK|PREV LINK]] &lt;br /&gt;
* Q|Qq&lt;br /&gt;
* R|Rr&lt;br /&gt;
:*[[Language Reference 3#RECOMPUTE|RECOMPUTE]]&lt;br /&gt;
:*[[Language Reference 3#REGION CENTRED|REGION CENTRED]]&lt;br /&gt;
:*[[Language Reference 3#REGION COST SURFACE|REGION COST SURFACE]]&lt;br /&gt;
:*[[Language Reference 3#REGION LEAST COST PATH|REGION LEAST COST PATH]]&lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION|REGION LOCATION]] &lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION LIST|REGION LOCATION LIST]]&lt;br /&gt;
:*[[Language Reference 3#REGION RECT|REGION RECT]]&lt;br /&gt;
:*[[Language Reference 3#REGION WHOLE MAP|REGION WHOLE MAP]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE|REMOVE]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE ALL LINKS|REMOVE ALL LINKS]] &lt;br /&gt;
:*[[Language Reference 3#REMOVE LINK|REMOVE LINK]]&lt;br /&gt;
:*[[Language Reference 3#RESIZE|RESIZE]]&lt;br /&gt;
:*[[Language Reference 3#RESPONSE|RESPONSE]]&lt;br /&gt;
:*[[Language Reference 3#ROUND(Expr)|ROUND(Expr)]]&lt;br /&gt;
* S|Ss&lt;br /&gt;
:*[[Language Reference 3#SEED|SEED]]&lt;br /&gt;
:*[[Language Reference 3#SELECTAT|SELECTAT]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 3#SET|SET]]&lt;br /&gt;
:*[[Language Reference 3#SET LINK|SET LINK]]&lt;br /&gt;
:*[[Language Reference 3#SETAT|SETAT]] &lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type)]]&lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type,#Prob)]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT LEFT|SHIFT LEFT]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT RIGHT|SHIFT RIGHT]]&lt;br /&gt;
:*[[Language Reference 3#SIN|SIN]]&lt;br /&gt;
:*[[Language Reference 3#SIZE LINKS|SIZE LINKS]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL CDF|SKEWED NORMAL CDF]] &lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL PDF|SKEWED NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL TEMPORAL PDF|SKEWED NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SORT|SORT]]&lt;br /&gt;
:*[[Language Reference 3#SORT LINKS|SORT LINKS]]&lt;br /&gt;
:*[[Language Reference 3#STRICT ORDERED|STRICT ORDERED]] &lt;br /&gt;
:*[[Language Reference 3#SUM|SUM]]&lt;br /&gt;
* T|Tt&lt;br /&gt;
:*[[Language Reference 3#TAIL|TAIL]]&lt;br /&gt;
:*[[Language Reference 3#TAN|TAN]]&lt;br /&gt;
* U|Uu&lt;br /&gt;
:*[[Language Reference 3#UNIFORM|UNIFORM]]&lt;br /&gt;
:*[[Language Reference 3#UNIFORM TEMPORAL PDF|UNIFORM TEMPORAL PDF]] &lt;br /&gt;
* V|Vv&lt;br /&gt;
* W|Ww&lt;br /&gt;
:*[[Language Reference 3#WAIT UNTIL|WAIT UNTIL]]&lt;br /&gt;
:*[[Language Reference 3#WHILE|WHILE]]&lt;br /&gt;
* X|Xx&lt;br /&gt;
* Y|Yy&lt;br /&gt;
* Z|Zz&lt;br /&gt;
:*[[Language Reference 3#ZERO|ZERO]] &lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3222</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3222"/>
		<updated>2006-11-15T22:23:40Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* Nov. 15 2006-a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006-a note to myself===		&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***GET&lt;br /&gt;
***GET LINK&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
***INSERT LINK&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3221</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3221"/>
		<updated>2006-11-15T22:23:18Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* INSERT HEAD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 INSERT(nnGraph[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 INSERT LINK(nnGraph[currType], patchPos, nPos2, edgeVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(patchList[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(coreAreaList[PatchLayer], patchVar)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3220</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3220"/>
		<updated>2006-11-15T22:20:19Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* GET LINK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area1 = GET(nnGraph[currType], patchPos, rArea)&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area2 = GET(nnGraph[currType], nPos2, rArea)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgeVar [=] GET LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3219</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3219"/>
		<updated>2006-11-15T22:17:40Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* GET */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area1 = GET(nnGraph[currType], patchPos, rArea)&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working model.&lt;br /&gt;
 Area2 = GET(nnGraph[currType], nPos2, rArea)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3218</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3218"/>
		<updated>2006-11-15T22:16:31Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* GET LINK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3217</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3217"/>
		<updated>2006-11-15T22:16:15Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* GET */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3216</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3216"/>
		<updated>2006-11-15T22:15:30Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GET==&lt;br /&gt;
&lt;br /&gt;
==GET LINK==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference&amp;diff=3215</id>
		<title>Language Reference</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference&amp;diff=3215"/>
		<updated>2006-11-15T22:14:44Z</updated>

		<summary type="html">&lt;p&gt;Fei: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:&#039;&#039;Click on a term below for more information.&#039;&#039;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
{| style=&amp;quot;background-color: lightblue; width: {{{width|100%}}}&amp;quot;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
*GENERAL INFORMATION&lt;br /&gt;
**[[SELES101l02|HOW TO RUN AN EXAMPLE CODE]]&lt;br /&gt;
&lt;br /&gt;
*SYMBOLS&lt;br /&gt;
**[[Language Reference 1#plus sign|+]]&lt;br /&gt;
**[[Language Reference 1#-|-]]&lt;br /&gt;
**[[Language Reference 1#*|*]]&lt;br /&gt;
**[[Language Reference 1#/|/]]&lt;br /&gt;
**[[Language Reference 1#^|^]]&lt;br /&gt;
**[[Language Reference 1#%|%]]&lt;br /&gt;
**[[Language Reference 1#==|==]]&lt;br /&gt;
**[[Language Reference 1#!=|!=]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;|&amp;lt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;lt;=|&amp;lt;=]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;|&amp;gt;]]&lt;br /&gt;
**[[Language Reference 1#&amp;gt;=|&amp;gt;=]]&lt;br /&gt;
**[[Language Reference 1#!|!]]&lt;br /&gt;
* A|Aa&lt;br /&gt;
**[[Language Reference 1#ABS(Expr)|ABS(Expr)]]&lt;br /&gt;
**[[Language Reference 1#AND|AND]]&lt;br /&gt;
**[[Language Reference 1#ARCCOS|ARCCOS]]&lt;br /&gt;
**[[Language Reference 1#ARCSIN|ARCSIN]]&lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr)|ARCTAN(Expr)]] &lt;br /&gt;
**[[Language Reference 1#ARCTAN(Expr,Expr)|ARCTAN(Expr,Expr)]]&lt;br /&gt;
* B|Bb&lt;br /&gt;
**[[Language Reference 1#BITWISE AND|BITWISE AND]]&lt;br /&gt;
**[[Language Reference 1#BITWISE NOT|BITWISE NOT]]&lt;br /&gt;
**[[Language Reference 1#BITWISE OR|BITWISE OR]]&lt;br /&gt;
**[[Language Reference 1#BITWISE XOR|BITWISE XOR]] &lt;br /&gt;
* C|Cc&lt;br /&gt;
**[[Language Reference 1#CEILING(Expr)|CEILING(Expr)]]&lt;br /&gt;
**[[Language Reference 1#CLAMP|CLAMP]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST|CLASSIFIED_DIST]]&lt;br /&gt;
**[[Language Reference 1#CLASSIFIED_DIST_M|CLASSIFIED_DIST_M]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 1#CLASSIFY|CLASSIFY]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS|CONTAINS]]&lt;br /&gt;
:*[[Language Reference 1#CONTAINS LINK|CONTAINS LINK]]&lt;br /&gt;
:*[[Language Reference 1#COS|COS]]&lt;br /&gt;
:*[[Language Reference 1#CRITICAL SECTION|CRITICAL SECTION]]&lt;br /&gt;
* D|Dd&lt;br /&gt;
:*[[Language Reference 1#DEBUG|DEBUG]] &lt;br /&gt;
:*[[Language Reference 1#DECISION|DECISION]]&lt;br /&gt;
:*[[Language Reference 1#DIRECTION|DIRECTION]]&lt;br /&gt;
:*[[Language Reference 1#DISTANCE|DISTANCE]]&lt;br /&gt;
* E|Ee&lt;br /&gt;
:*[[Language Reference 1#ELSE|ELSE]]&lt;br /&gt;
:*[[Language Reference 1#EQUAL TRUE|EQUAL TRUE]] &lt;br /&gt;
:*[[Language Reference 1#EXP(Expr)|EXP(Expr)]]&lt;br /&gt;
* F|Ff&lt;br /&gt;
:*[[Language Reference 1#FIND|FIND]]&lt;br /&gt;
:*[[Language Reference 1#FIND LINK|FIND LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIND NEXT|FIND NEXT]] &lt;br /&gt;
:*[[Language Reference 1#FIND NEXT LINK|FIND NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 1#FIRST|FIRST]]&lt;br /&gt;
:*[[Language Reference 1#FIRST LINK|FIRST LINK]]&lt;br /&gt;
:*[[Language Reference 1#FLOOR(Expr)|FLOOR(Expr)]]&lt;br /&gt;
* G|Gg&lt;br /&gt;
:*[[Language Reference 1#GEOMETRIC MEAN|GEOMETRIC MEAN]] &lt;br /&gt;
:*[[Language Reference 1#GET|GET]]&lt;br /&gt;
:*[[Language Reference 1#GET LINK|GET]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;=|GREATER OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;gt;|GREATER THAN]]&lt;br /&gt;
* H|Hh&lt;br /&gt;
:*[[Language Reference 1#HEAD|HEAD]]&lt;br /&gt;
* I|Ii&lt;br /&gt;
:*[[Language Reference 2#IF Expr|IF Expr]]&lt;br /&gt;
:*[[Language Reference 2#IF Expr THEN Expr ELSE|IF Expr THEN Expr ELSE]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; | &lt;br /&gt;
:*[[Language Reference 2#INSERT|INSERT]]&lt;br /&gt;
:*[[Language Reference 2#INSERT HEAD|INSERT HEAD]]&lt;br /&gt;
:*[[Language Reference 2#INSERT TAIL|INSERT TAIL]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]]&lt;br /&gt;
:*[[Language Reference 2#INTERPOLATE|INTERPOLATE]] &lt;br /&gt;
:*[[Language Reference 2#IS EMPTY|IS EMPTY]]&lt;br /&gt;
:*[[Language Reference 2#IS EMPTY LINKS|IS EMPTY LINKS]]&lt;br /&gt;
* J|Jj&lt;br /&gt;
* K|Kk&lt;br /&gt;
* L|Ll&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;=|LESS OR EQUAL]]&lt;br /&gt;
:*[[Language Reference 1#&amp;lt;|LESS THAN]]&lt;br /&gt;
:*[[Language Reference 2#LINKED|LINKED]] &lt;br /&gt;
:*[[Language Reference 2#LOG(Expr)|LOG(Expr)]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL CDF|LOG NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL PDF|LOG NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOG NORMAL TEMPORAL PDF|LOG NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#LOOKUP|LOOKUP]]&lt;br /&gt;
* M|Mm&lt;br /&gt;
:*[[Language Reference 2#MAX|MAX]]&lt;br /&gt;
:*[[Language Reference 2#MAX POSITION|MAX POSITION]]&lt;br /&gt;
:*[[Language Reference 2#MEAN|MEAN]]&lt;br /&gt;
:*[[Language Reference 2#MIN|MIN]]&lt;br /&gt;
:*[[Language Reference 2#MIN POSITION|MIN POSITION]]&lt;br /&gt;
* N|Nn&lt;br /&gt;
:*[[Language Reference 2#NEGEXP|NEGEXP]]&lt;br /&gt;
:*[[Language Reference 2#NEXT|NEXT]]&lt;br /&gt;
:*[[Language Reference 2#NEXT LINK|NEXT LINK]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL CDF|NORMAL CDF]]&lt;br /&gt;
:*[[Language Reference 2#NORMAL PDF|NORMAL PDF]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 2#NORMAL TEMPORAL PDF|NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 2#NOT EQUAL|NOT EQUAL]]&lt;br /&gt;
* O|Oo&lt;br /&gt;
:*[[Language Reference 3#ONE|ONE]]&lt;br /&gt;
:*[[Language Reference 3#OR|OR]]&lt;br /&gt;
:*[[Language Reference 3#OVER INDEX SEQUENCE|OVER INDEX SEQUENCE]] &lt;br /&gt;
* P|Pp&lt;br /&gt;
:*[[Language Reference 3#PAUSE|PAUSE]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE (#Value)IF|PAUSE (#Value)IF]]&lt;br /&gt;
:*[[Language Reference 3#PAUSE IF|PAUSE IF]]&lt;br /&gt;
:*[[Language Reference 3#PREV|PREV]]&lt;br /&gt;
:*[[Language Reference 3#PREV LINK|PREV LINK]] &lt;br /&gt;
* Q|Qq&lt;br /&gt;
* R|Rr&lt;br /&gt;
:*[[Language Reference 3#RECOMPUTE|RECOMPUTE]]&lt;br /&gt;
:*[[Language Reference 3#REGION CENTRED|REGION CENTRED]]&lt;br /&gt;
:*[[Language Reference 3#REGION COST SURFACE|REGION COST SURFACE]]&lt;br /&gt;
:*[[Language Reference 3#REGION LEAST COST PATH|REGION LEAST COST PATH]]&lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION|REGION LOCATION]] &lt;br /&gt;
:*[[Language Reference 3#REGION LOCATION LIST|REGION LOCATION LIST]]&lt;br /&gt;
:*[[Language Reference 3#REGION RECT|REGION RECT]]&lt;br /&gt;
:*[[Language Reference 3#REGION WHOLE MAP|REGION WHOLE MAP]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE|REMOVE]]&lt;br /&gt;
:*[[Language Reference 3#REMOVE ALL LINKS|REMOVE ALL LINKS]] &lt;br /&gt;
:*[[Language Reference 3#REMOVE LINK|REMOVE LINK]]&lt;br /&gt;
:*[[Language Reference 3#RESIZE|RESIZE]]&lt;br /&gt;
:*[[Language Reference 3#RESPONSE|RESPONSE]]&lt;br /&gt;
:*[[Language Reference 3#ROUND(Expr)|ROUND(Expr)]]&lt;br /&gt;
* S|Ss&lt;br /&gt;
:*[[Language Reference 3#SEED|SEED]]&lt;br /&gt;
:*[[Language Reference 3#SELECTAT|SELECTAT]]&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; align=&amp;quot;{{{align|left}}}&amp;quot; valign=&amp;quot;{{{valign|top}}}&amp;quot; |&lt;br /&gt;
:*[[Language Reference 3#SET|SET]]&lt;br /&gt;
:*[[Language Reference 3#SET LINK|SET LINK]]&lt;br /&gt;
:*[[Language Reference 3#SETAT|SETAT]] &lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type)]]&lt;br /&gt;
:*[[Language Reference 3#SETAT(Expr,PositionList,#Type)|SETAT(Expr,PositionList,#Type,#Prob)]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT LEFT|SHIFT LEFT]]&lt;br /&gt;
:*[[Language Reference 3#SHIFT RIGHT|SHIFT RIGHT]]&lt;br /&gt;
:*[[Language Reference 3#SIN|SIN]]&lt;br /&gt;
:*[[Language Reference 3#SIZE LINKS|SIZE LINKS]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL CDF|SKEWED NORMAL CDF]] &lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL PDF|SKEWED NORMAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SKEWED NORMAL TEMPORAL PDF|SKEWED NORMAL TEMPORAL PDF]]&lt;br /&gt;
:*[[Language Reference 3#SORT|SORT]]&lt;br /&gt;
:*[[Language Reference 3#SORT LINKS|SORT LINKS]]&lt;br /&gt;
:*[[Language Reference 3#STRICT ORDERED|STRICT ORDERED]] &lt;br /&gt;
:*[[Language Reference 3#SUM|SUM]]&lt;br /&gt;
* T|Tt&lt;br /&gt;
:*[[Language Reference 3#TAIL|TAIL]]&lt;br /&gt;
:*[[Language Reference 3#TAN|TAN]]&lt;br /&gt;
* U|Uu&lt;br /&gt;
:*[[Language Reference 3#UNIFORM|UNIFORM]]&lt;br /&gt;
:*[[Language Reference 3#UNIFORM TEMPORAL PDF|UNIFORM TEMPORAL PDF]] &lt;br /&gt;
* V|Vv&lt;br /&gt;
* W|Ww&lt;br /&gt;
:*[[Language Reference 3#WAIT UNTIL|WAIT UNTIL]]&lt;br /&gt;
:*[[Language Reference 3#WHILE|WHILE]]&lt;br /&gt;
* X|Xx&lt;br /&gt;
* Y|Yy&lt;br /&gt;
* Z|Zz&lt;br /&gt;
:*[[Language Reference 3#ZERO|ZERO]] &lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3214</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3214"/>
		<updated>2006-11-15T22:10:16Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* Nov. 15 2006-a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006-a note to myself===		&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIND&lt;br /&gt;
***FIND LINK&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
***INSERT&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3213</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3213"/>
		<updated>2006-11-15T22:09:26Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* REGION VECTOR */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
    DECISION Area[currType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: currType&lt;br /&gt;
    CCE: MeanCCE[currType]&lt;br /&gt;
    MaxCCE: MaxCCE[currType]&lt;br /&gt;
    CD: MeanCD[currType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(startLocation,NNLoc)&lt;br /&gt;
            PatchLinks = edgeVar[rEdgeType]+1&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 SET(patchList[i], pos1, rMaxCCE, maxCCE1)&lt;br /&gt;
         MaxCCE[currType] = MaxCCE[currType] + maxCCE1&lt;br /&gt;
         pos1 = nextPos&lt;br /&gt;
      ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#consumeCA.lse|consumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3212</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3212"/>
		<updated>2006-11-15T22:06:08Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* INSERT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 INSERT(nnGraph[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(patchList[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(coreAreaList[PatchLayer], patchVar)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3211</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3211"/>
		<updated>2006-11-15T22:04:22Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* FIND LINK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 edgePos = FIND LINK(nnGraph[currType]&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3210</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3210"/>
		<updated>2006-11-15T22:02:09Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* FIND */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIND(patchList[currType], patchVar, patchVar[rId] EQ currPatchId)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3209</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3209"/>
		<updated>2006-11-15T22:00:06Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* Nov. 15 2006-a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006-a note to myself===		&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***FIRST&lt;br /&gt;
***FIRST LINK&lt;br /&gt;
***NEXT&lt;br /&gt;
***NEXT LINK&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3208</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3208"/>
		<updated>2006-11-15T21:59:42Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* FIRST LINK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = FIRST LINK(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3207</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3207"/>
		<updated>2006-11-15T21:58:43Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* NEXT LINK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(patchList[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(coreAreaList[PatchLayer], patchVar)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT LINK(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3206</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3206"/>
		<updated>2006-11-15T21:57:16Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* NEXT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(patchList[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(coreAreaList[PatchLayer], patchVar)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 pos = NEXT(nnGraph[pType], pos)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]] &lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3205</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3205"/>
		<updated>2006-11-15T21:55:27Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* FIRST */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example&lt;br /&gt;
 pos = FIRST(nnGraph[pType])&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3204</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3204"/>
		<updated>2006-11-15T21:53:28Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* Nov. 15 2006-a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006-a note to myself===		&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
***INSERT TAIL&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3203</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3203"/>
		<updated>2006-11-15T21:52:55Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* INSERT TAIL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(patchList[currType], patchVar)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example&lt;br /&gt;
 INSERT TAIL(coreAreaList[PatchLayer], patchVar)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]] &lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3202</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3202"/>
		<updated>2006-11-15T21:49:54Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* OUTPUT RECORD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
    DECISION Area[currType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: currType&lt;br /&gt;
    CCE: MeanCCE[currType]&lt;br /&gt;
    MaxCCE: MaxCCE[currType]&lt;br /&gt;
    CD: MeanCD[currType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 SET(patchList[i], pos1, rMaxCCE, maxCCE1)&lt;br /&gt;
         MaxCCE[currType] = MaxCCE[currType] + maxCCE1&lt;br /&gt;
         pos1 = nextPos&lt;br /&gt;
      ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#consumeCA.lse|consumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3201</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3201"/>
		<updated>2006-11-15T21:49:16Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* OUTPUT RECORD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
         DECISION Area[currType] &amp;gt; 0&lt;br /&gt;
         LandscapeId: LandscapeId&lt;br /&gt;
         Replicate: Replicate&lt;br /&gt;
         pType: currType&lt;br /&gt;
         CCE: MeanCCE[currType]&lt;br /&gt;
         MaxCCE: MaxCCE[currType]&lt;br /&gt;
         CD: MeanCD[currType]&lt;br /&gt;
      ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 SET(patchList[i], pos1, rMaxCCE, maxCCE1)&lt;br /&gt;
         MaxCCE[currType] = MaxCCE[currType] + maxCCE1&lt;br /&gt;
         pos1 = nextPos&lt;br /&gt;
      ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#consumeCA.lse|consumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3200</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3200"/>
		<updated>2006-11-15T21:47:51Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* SET */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 SET(patchList[i], pos1, rMaxCCE, maxCCE1)&lt;br /&gt;
         MaxCCE[currType] = MaxCCE[currType] + maxCCE1&lt;br /&gt;
         pos1 = nextPos&lt;br /&gt;
      ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#consumeCA.lse|consumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3199</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3199"/>
		<updated>2006-11-15T21:47:24Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* SET */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSSats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 SET(patchList[i], pos1, rMaxCCE, maxCCE1)&lt;br /&gt;
         MaxCCE[currType] = MaxCCE[currType] + maxCCE1&lt;br /&gt;
&lt;br /&gt;
         pos1 = nextPos&lt;br /&gt;
      ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#consumeCA.lse|consumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3198</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3198"/>
		<updated>2006-11-15T21:45:55Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* Nov. 15 2006-a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006-a note to myself===		&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***NEXT&lt;br /&gt;
***DISTANCE&lt;br /&gt;
***SET&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_1&amp;diff=3197</id>
		<title>Language Reference 1</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_1&amp;diff=3197"/>
		<updated>2006-11-15T21:44:52Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* DISTANCE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==+==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The addition operator, &amp;quot;+&amp;quot; &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr+Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the expression is the sum of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions) ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=1+2&lt;br /&gt;
 (the result for x will be 3)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==-==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The subtraction operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr-Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression minus the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=15-2&lt;br /&gt;
 (the result for x will be 13)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==*==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The multiplication operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr*Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value is the product of two expressions&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5*4&lt;br /&gt;
 (the result for x will be 20)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==/==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The division operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr/Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression divided by value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=60/6&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==^==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The power operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr^Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
The first expression to the power of the value of the second expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=7^3&lt;br /&gt;
    (the result for x will be 343)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==%==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The percentage operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=Expr % Expr &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value of the first expression modulo the value of the second expression(assumes that the values of the expression are integers&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
 x=19 % 12&lt;br /&gt;
 (the result for x will be 7)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=10 % 20&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 % 10&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The EQ operator or the alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment). This is a Boolean function operator.  &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)==(Expr)=(Expr)EQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the == or the EQ sign must equal to the value on the right of the == or the EQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(|-9|)==(9) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8)==(4*4) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=(2*0)==(-1)  //(FALSE)&lt;br /&gt;
    (the result for x will be 0)   &lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(|-9|)EQ(9) //(TRUE)&lt;br /&gt;
  (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 5:&lt;br /&gt;
   x=(2*6)EQ(4*4) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
The not equal operator or the alternate form of NOT EQUAL comparison. This is a Boolean function operator. &lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr)!=(Expr)=(Expr)NEQ(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the != or NEQ sign does not equal to the value on the right of the != or NEQ sign.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(|-9|)!=(-9) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(2*8)!=(4*3) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)   &lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=(2*8)!=(2*8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
 x=(1+7)NEQ(8) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;==&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;(Expr)=(Expr)LESS THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt; or the LESS THAN is less than the value on the right of the &amp;lt; or LESS THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(17)&amp;lt;(21) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS THAN(-17) //(FALSE)    &lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;===&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is less than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;lt;=(Expr)=(Expr)LESS OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;lt;= or LESS OR EQUAL sign is less or equal to the value on the right of the &amp;lt;= or LESS OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=17&amp;lt;=21 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(-17)LESS OR EQUAL(|-17|) //(TRUE)    &lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=-17&amp;lt;=-18 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;(Expr)=(Expr)GREATER THAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt; or GREATER THAN sign is greater than the value on the right of the &amp;gt; or GREATER THAN sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions ]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER THAN(5) //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&amp;gt;===&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that returns TRUE(1) if the value of the first expression is greater than or equal to the value of the second expression; otherwise FALSE(0).&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=(Expr)&amp;gt;=(Expr)=(Expr)GREATER OR EQUAL(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Value on the left of the &amp;gt;= or GREATER OR EQUAL sign is greater or equal to the value on the right of the &amp;gt;= or GREATER OR EQUAL sign&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=5&amp;gt;=2 //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(5)GREATER OR EQUAL(5) //(TRUE)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=5&amp;gt;=6 //(FALSE)&lt;br /&gt;
 (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==!==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Boolean function operator that negates the expression Boolean value.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=!Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Negates the expression Boolean value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 y = TRUE x=IF !y THEN 3 ELSE 4&lt;br /&gt;
 (the result for x will be 4)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ABS(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The absolute value operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=ABS(Expr)=|Expr|=ABSOLUTE(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Absolute value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=ABS(-12)&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=|-12|&lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=ABSOLUTE(-12) &lt;br /&gt;
 (the result for x will be 12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==AND==	&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A boolean operator that returns TRUE if two expressions are both TRUE, and FALSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The AND operation is equivalent to the multiplication operator. For example: if A is TRUE, which can also be represented by 1 and B is FALSE, which can be represented by 0, then A AND B means that A is multiplied by B, ie: 1*0, which gives FALSE (0).&lt;br /&gt;
 &lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
 x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
 (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
 x=10 AND (9&amp;lt;14)&lt;br /&gt;
 (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
 x=10 AND -5&lt;br /&gt;
 (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ARCCOS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arccos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCCOS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCCOS(0.5)&lt;br /&gt;
    (the result for x will be 59.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCSIN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCSIN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse sine of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCSIN(1)&lt;br /&gt;
    (the result for x will be 89.9999999999998)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arctan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ARCTAN(1)&lt;br /&gt;
    (the result for x will be 44.9999999999999)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ARCTAN(Expr,Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The arcsin quadrant function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ARCTAN(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse tan where first expression is x offset and second is y offset. Provideing two expressions gives more infomation about the quadrant&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=ARCTAN(5,9)&lt;br /&gt;
     (the result for x will be 60.9453959009227)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE OR==&lt;br /&gt;
(Expr, Expr)	Bitwise OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE AND==&lt;br /&gt;
(Expr, Expr)	Bitwise AND of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE XOR==&lt;br /&gt;
(Expr, Expr)	Bitwise exclusive-OR of two values[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==BITWISE NOT==&lt;br /&gt;
 Expr	Bitwise NOT of a value[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CEILING(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The ceiling operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
 x=CEILING(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Smallest integer larger than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
 x=CEILING(0.01)&lt;br /&gt;
 (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLAMP==&lt;br /&gt;
(Expr, MinExpr, MaxExpr)	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFY==&lt;br /&gt;
(X)	if the value of the variable X is equal to one of &lt;br /&gt;
	CLASS Number: Expr	the classes listed, then return the result of the.&lt;br /&gt;
	   :	associated expression. Otherwise return 0.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Markov chains#MarkovChain.lse|MarkovChain.lse]] for the working example. &lt;br /&gt;
 CellState = CLASSIFY(currState)&lt;br /&gt;
                0: 0&lt;br /&gt;
                1: CLASSIFIED_DIST&lt;br /&gt;
                     1:1 - pChange&lt;br /&gt;
                     2:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                2: CLASSIFIED_DIST&lt;br /&gt;
                     2:1 - pChange &lt;br /&gt;
                     3:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                3: CLASSIFIED_DIST&lt;br /&gt;
                     3:1 - pChange&lt;br /&gt;
                     4:pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
                4: CLASSIFIED_DIST&lt;br /&gt;
                     0: pChange&lt;br /&gt;
                     4:1 - pChange&lt;br /&gt;
                   ENDFN&lt;br /&gt;
              ENDFN&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:***&lt;br /&gt;
(X)	return the result of the kth expression in the list,&lt;br /&gt;
Expr	where k = X – minimum value of the variables&lt;br /&gt;
   :	(this may be non-0 only for layers)&lt;br /&gt;
   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	return the kth number in the list, where &lt;br /&gt;
		k = X – minimum value of the variable (this&lt;br /&gt;
may be non-0 only for layers)[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. Rarely&lt;br /&gt;
		used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file. Rarely used.&lt;br /&gt;
&lt;br /&gt;
Classified functions use the variable as an index into the list of numbers or expressions that follow. The “CLASS” keyword is optional.  This variable must be non-negative. If “CLASS # :” is used, then the number refers to the value of the indexing variable. If a class is not specified for a given value, its expression is implicitly ZERO.  Interpolation tables are very similar except that the variable is assumed to be continuous instead of classified.  An interpolated value between classes is returned.  Lookup tables are also similar, except that both the variable and classes are assumed to be continuous values. An interpolated value between classes is also returned. Rarely used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CLASSIFIED_DIST==&lt;br /&gt;
draw a value from a discrete distribution, where 	CLASS Number: Expr	each expression determines the relative  		:	probability of its associated class being drawn. ENDFN		The CLASS keyword is optional.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
( Number+)	in this form, the classes are assumed to start at 			zero. Only constant probabilities can be given.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
in this form, the classes are assumed to start at Expr		zero    :&lt;br /&gt;
ENDFN&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
[M]&lt;br /&gt;
In this form, the classes in a one-dimensional&lt;br /&gt;
			array M, and so start at zero.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CONTAINS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
==CONTAINS LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==COS==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The cos function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=COS(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Inverse cos of the value of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=COS(0.5)&lt;br /&gt;
    (the result for x will be 0.99996192306417)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CRITICAL SECTION==&lt;br /&gt;
(Flag)	Enter (if Flag is TRUE) or exit (if Flag is 			FALSE) a critical section. A critical section 			gives priority to this application, and is used for&lt;br /&gt;
			synchronizing access to shared variables&lt;br /&gt;
(i.e. shared with another application).[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DEBUG==&lt;br /&gt;
		Update the simulation probe, if it is loaded and&lt;br /&gt;
			The event is selected. Used to debug/verify&lt;br /&gt;
			event behaviour.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	known location indices. If there is a decision expression, then only those cells for which this &lt;br /&gt;
		expression returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	location indices stored in one-dimensional X. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr location index. If there is a decision expression,&lt;br /&gt;
		then only those cells for which this expression&lt;br /&gt;
		returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DECISION== &lt;br /&gt;
Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DistanceType is either CARDINAL or EUCLIDEAN (the default). Cardinal distance between two cells is the minimum number of cardinal steps (up, down, left, right) to reach one cell from the other. Euclidean distance is the straight-line distance between two points. The WRAPPED flag, if present indicates that the region wraps around the sides (vertically and horizontally) of the landscape (e.g. a location x positions beyond the right-hand side of a raster will be mapped to x positions in from the left-hand side of the raster). If not present, the landscape does not wrap.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Defines a region centred on the current cell. If there is a decision expression, then only those cells for which this expression returns TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x= Expr AND Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
TRUE (1) if all sub-expressions evaluate to TRUE and FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Expressions:]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=(3&amp;gt;6) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be FALSE(0))&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(6&amp;gt;3) AND (14&amp;gt;9)&lt;br /&gt;
    (the result for x will be TRUE(1))&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
   x=10 AND (9&amp;lt;14)&lt;br /&gt;
    (the result for x will be 10)&lt;br /&gt;
    &lt;br /&gt;
Example 4:&lt;br /&gt;
   x=10 AND -5&lt;br /&gt;
    (the result for x will be -50)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DIRECTION==&lt;br /&gt;
(Expr, Expr)	angle in degrees between two location indices&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Display on the screen the labelled 	Label: Expr	values computed with the expressions listed.&lt;br /&gt;
	      ….		If no label is given, the expression must&lt;br /&gt;
ENDFN		be a variable, and this is used for the label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The clamp operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=(Expr, MinExpr, MaxExpr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Clamp the value X of the expression to the range [Min, Max]: if X&amp;lt;Min then return Min; if X&amp;lt;Max return Max. Otherwise return X.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISPLAY==		&lt;br /&gt;
Same as above, but only display if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	The keyword DECISION can be replaced by&lt;br /&gt;
	      ….		a “?”&lt;br /&gt;
ENDFN		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Output to the record file of output variable	the labelled values computed with the  Label: Expr	expressions listed. If no label is given, the&lt;br /&gt;
	      ….		Expression must be a variable and this is&lt;br /&gt;
ENDFN		used as label.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Output Expressions]]&lt;br /&gt;
OUTPUT RECORD(OutputVar)	Same as above, but only output if the  DECISION Expr	decision expression evaluates to TRUE&lt;br /&gt;
	Label: Expr	&lt;br /&gt;
	      ….		&lt;br /&gt;
ENDFN		&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==DISTANCE==&lt;br /&gt;
(Expr, Expr)	distance between two location indices (normally&lt;br /&gt;
	obtained using the Location variable). Thus,&lt;br /&gt;
	DISTANCE(loc1, loc2) is &lt;br /&gt;
	sqrt(sqr(loc1.x – loc2.x) + sqr(loc1.y – loc2.y))&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example &lt;br /&gt;
 d = DISTANCE(centroid1, centroid2)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ELSE==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A control expression that evaluates to TRUE and the set of sub-expressions after the ELSE otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression evaluates to TRUE and the set of sub-expressions after the ELSE otherwise. Note that &amp;quot;ELSE IF expr&amp;quot; forms can be strung together.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working examples.   &lt;br /&gt;
 // For the core areas ...&lt;br /&gt;
 ELSE&lt;br /&gt;
 coreId = coreId + (CoreAreaId EQ 0)&lt;br /&gt;
 NumCA[PatchLayer] = NumCA[PatchLayer] + (CoreAreaId EQ 0)&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EQUAL== &lt;br /&gt;
TRUE(1) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==EXP(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
(Expr) base of the natural logarithm (e) to the power of&lt;br /&gt;
	the expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=EXP(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Base of the natural logarithm (e) to the power of the expression&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
           x=EXP(3)&lt;br /&gt;
            (the result for x will be 20.08553692)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
==FIND==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIND NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FIRST LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==FLOOR(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The flooring operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=FLOOR(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Largest integer smaller than the expression value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]] &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=FLOOR(0.99)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GEOMETRIC MEAN==	&lt;br /&gt;
geometric mean of the sub-expressions  (nth &lt;br /&gt;
		root of the product for n expressions)&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER OR EQUAL==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;=, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==GREATER THAN==	&lt;br /&gt;
TRUE (1) if the sub-expression evaluations are&lt;br /&gt;
		all ordered according to the relation &amp;gt;, and&lt;br /&gt;
		FALSE (0) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;logarithm&#039;&#039;&#039; is the [[mathematics|mathematical]] operation that is the [[inverse function|inverse]] of [[exponentiation]] (raising a constant, the &#039;&#039;base&#039;&#039;, to a power). The logarithm of a number &#039;&#039;x&#039;&#039; in base &#039;&#039;b&#039;&#039; is the number &#039;&#039;n&#039;&#039; such that &#039;&#039;x&#039;&#039;&amp;amp;nbsp;= &#039;&#039;b&#039;&#039;&amp;lt;sup&amp;gt;&#039;&#039;n&#039;&#039;&amp;lt;/sup&amp;gt;.  It is usually written as&lt;br /&gt;
: &amp;lt;math&amp;gt; \log_b(x) = n . \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_2&amp;diff=3196</id>
		<title>Language Reference 2</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_2&amp;diff=3196"/>
		<updated>2006-11-15T21:41:27Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* NEXT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==IF Expr==&lt;br /&gt;
     &lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
Procedural IF statement to process the first set&lt;br /&gt;
of sub-expressions denoted by “…”if the &lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1://Note this example is out of context. //See [[LSStats#identifyPatches.lse|identifyPatches.lse]] for the working example.  &lt;br /&gt;
 IF (PatchId EQ 0) // not visited...&lt;br /&gt;
   pId = pId + 1&lt;br /&gt;
   NumPatches[PatchLayer] = NumPatches[PatchLayer] + 1&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2://Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] for the working example.  &lt;br /&gt;
 IF pos&lt;br /&gt;
   MaxPS[i] = patchVar[rArea]&lt;br /&gt;
   MinPS[i] = patchVar[rArea]&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==IF Expr THEN Expr ELSE==&lt;br /&gt;
Expr	if value of the IF expression is TRUE (&amp;gt;= 1), 	then return the value of the THEN expression,&lt;br /&gt;
	otherwise return value of the ELSE expression&lt;br /&gt;
&lt;br /&gt;
(Expr ? Expr : Expr)	Same as above, but this form can be used as an&lt;br /&gt;
	embedded sub-expression&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example.&lt;br /&gt;
 distInc = IF SpreadType EQ 0 THEN 1 ELSE MAX(0,d - SOURCE d)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==INSERT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Set Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==INSERT HEAD==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INSERT TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#List Functions]]&lt;br /&gt;
&lt;br /&gt;
==INTERPOLATE==&lt;br /&gt;
(X)	&lt;br /&gt;
return an interpolated value where the value of&lt;br /&gt;
	CLASS Number: Number	variable X is placed between two classes or at&lt;br /&gt;
 	   :	either end of the table.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]				&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table &lt;br /&gt;
		file.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IS EMPTY LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==LINKED==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==LOG(Expr)==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The logarithm operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=LOG(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha\,&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;3^4 = 3 \times 3 \times 3 \times 3  = 81 . \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Natural logarithm of the value of the expression. This is a mathematical operation that is the inverse of exponentiation(raising a constant, the base, to a power) &lt;br /&gt;
Ex: &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_3(81)=4,\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \4^3=81\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this program, it is assumed that the base is 10,&lt;br /&gt;
ie:&lt;br /&gt;
:&amp;lt;math&amp;gt; \log(10)=log_10(10)\,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the natural Logarithm is the inverse of the natural exponential function, &lt;br /&gt;
ie: &lt;br /&gt;
(x), which is the same as In(x) for all positive x and &lt;br /&gt;
:&amp;lt;math&amp;gt; \In(e^x)=x \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
for all real x. The only difference between Log and natural Log is their bases that Log uses 10 and natural Log uses e. For convenience, &lt;br /&gt;
:&amp;lt;math&amp;gt; \log_e(x) \,\! &amp;lt;/math&amp;gt;&lt;br /&gt;
is usually written in a different notation: In(x).&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=LOG(0.773)&lt;br /&gt;
    =-0.111820506&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal cumulative density function, where&lt;br /&gt;
			the first expression specifies the value, the &lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	log normal probability density function, where&lt;br /&gt;
			the first expression specifies the value, the&lt;br /&gt;
			second is the mean and the third is the standard &lt;br /&gt;
			deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==LOG NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)  temporal log normal probability density&lt;br /&gt;
			function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
==LOOKUP==&lt;br /&gt;
(X): ( Number+)	same as above, except the classes are&lt;br /&gt;
		implicitly 0, …. k-1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the values in the&lt;br /&gt;
	CLASS Number: Expr	table are obtained by evaluating expressions&lt;br /&gt;
	   :		&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X)	same as above, except the classes are &lt;br /&gt;
Expr	implicitly 0, …, k-1&lt;br /&gt;
   :			&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]		&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(X): Filename Key	uses the table in the named file, which is &lt;br /&gt;
		assumed to consist of class:value pairs. The key &lt;br /&gt;
		is used to specify a sub-table in a multi-table&lt;br /&gt;
		file&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Classified and Discrete Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr EQ Expr	TRUE if the values of the two expressions are&lt;br /&gt;
		equal; otherwise FALSE [[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr == Expr	alternate form of EQ comparison (Note: two equal signs distinguish this from an assignment)[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr NEQ Expr	TRUE if the values are not equal; otherwise&lt;br /&gt;
		FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr != Expr	alternate form of NOT EQUAL comparison[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;lt; Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than the value of the second expression;&lt;br /&gt;
		otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;lt;= Expr	TRUE if the value of the first expression is less&lt;br /&gt;
		than or equal to the value of the second&lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr &amp;gt; Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than the value of the second &lt;br /&gt;
		expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
Expr &amp;gt;= Expr	TRUE if the value of the first expression is&lt;br /&gt;
		greater than or equal to the value of the &lt;br /&gt;
		second expression; otherwise FALSE[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
!Expr		Negates the expression Boolean value[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr AND Expr	TRUE if values of both expressions are&lt;br /&gt;
		TRUE and FALSE otherwise[[Model Builder&#039;s Guide Chapter 9#Boolean Functions]]&lt;br /&gt;
&lt;br /&gt;
Expr OR Expr	TRUE if value of at least one expression is&lt;br /&gt;
		TRUE and FALSE otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX==		&lt;br /&gt;
maximum of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MAX POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the maximun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MAX POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MAX POSITION(12)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==MEAN==		&lt;br /&gt;
average of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MIN== 	&lt;br /&gt;
minimum of the sub-expressions &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context.//See [[Spreading2#Spreading.lse|Spreading.lse]] for the working example &lt;br /&gt;
 TimeSinceFire = MIN(TimeSinceFire+1, MaxTSF)&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==MIN POSITION==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns the minimun 0-based bit position that is set to one in the expression value(interpreted as a bit-vector),or-1 if no bits are set&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   MIN POSITION(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
 ?????&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
     MIN POSITION(12)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NEGEXP==&lt;br /&gt;
(Expr)	draw a value from a negative exponential 	distribution, where the expression specifies the&lt;br /&gt;
	mean&lt;br /&gt;
 POISSION(Expr)	draw a value from a Poisson distribution&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Distributions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#centroid.lse|centroid.lse]] for the working example.&lt;br /&gt;
 nextPos = NEXT(patchList[i], pos1)&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==NEXT LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]] &lt;br /&gt;
&lt;br /&gt;
==NORMAL==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
draw a value from a normal distribution&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=NORMAL(Expr1,Expr2)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr1 is the mean, and Expr2 is the variance.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
A single value sampled from a normal distribution.&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&amp;lt;define gaussian distribution, web refs?, etc&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   x = NORMAL(10,5)&lt;br /&gt;
&amp;lt;figure out an end example indicator. For example, ***&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL CDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal cumulative density function, where the 			first expression is the value, the second is the			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	normal probability density function, where the 			first expression is the value, the second is the  			mean and the third is the standard deviation &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr) 	temporal normal probability density function &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==NOT EQUAL==	&lt;br /&gt;
FALSE (0) if the sub-expressions all evaluate to&lt;br /&gt;
		the same value and TRUE (1) otherwise&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=User_talk:Fei&amp;diff=3195</id>
		<title>User talk:Fei</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=User_talk:Fei&amp;diff=3195"/>
		<updated>2006-11-15T21:35:28Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* Nov. 15 2006-a note to myself */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov. 15 2006-a note to myself===		&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Convex Hull&#039;&#039;&#039;	 &lt;br /&gt;
**ConvexHull.lse	  &lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Distance Surface&#039;&#039;&#039;	&lt;br /&gt;
**Distance.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Filter Small&#039;&#039;&#039;	&lt;br /&gt;
**FilterSmall.lse	&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;LSStats&#039;&#039;&#039;&lt;br /&gt;
**Stats.lse	&lt;br /&gt;
***OVER REGION WHOLE MAP&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
***OUTPUT RECORD--too long though&lt;br /&gt;
***WHILE&lt;br /&gt;
**nn.lse	&lt;br /&gt;
***OUTPUT RECORD&lt;br /&gt;
***RESIZE&lt;br /&gt;
***OVER REGION VECTOR&lt;br /&gt;
**centroid.lse&lt;br /&gt;
***OVER INDEX SEQUENCE&lt;br /&gt;
**IdentifyPatches.lse	&lt;br /&gt;
***IF&lt;br /&gt;
***ELSE&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Producer Consumer&#039;&#039;&#039;&lt;br /&gt;
**&#039;&#039;&#039;The process model&#039;&#039;&#039;&lt;br /&gt;
***Consumer.lse&lt;br /&gt;
****NOTHING&lt;br /&gt;
***Producer.lse	&lt;br /&gt;
****REGION CENTRED&lt;br /&gt;
***update.lse	&lt;br /&gt;
****NOTHING&lt;br /&gt;
**&#039;&#039;&#039;The CA model&#039;&#039;&#039;&lt;br /&gt;
***consumeCA.lse&lt;br /&gt;
****UNIFORM&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Random Walker&#039;&#039;&#039;		&lt;br /&gt;
**RandomWalker.lse	&lt;br /&gt;
***N&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Game of Life&#039;&#039;&#039;		&lt;br /&gt;
**GameOfLife.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Markov chains&#039;&#039;&#039;		&lt;br /&gt;
**MarkovChain.lse&lt;br /&gt;
***OVER REGION CENTRED&lt;br /&gt;
***CLASSIFY&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading2&#039;&#039;&#039;		&lt;br /&gt;
**spreading.lse&lt;br /&gt;
***IF Expr THEN Expr ELSE&lt;br /&gt;
***MIN--too commonly explained(but since we don&#039;t have any example for MIN, I added it from spreading.lse)&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Spreading1&#039;&#039;&#039;&lt;br /&gt;
**Spreading.lse&lt;br /&gt;
***REGION LOCATION&lt;br /&gt;
***REGION CENTRED&lt;br /&gt;
&lt;br /&gt;
== plus sign problems==&lt;br /&gt;
Hi Fei, Here&#039;s some info. &lt;br /&gt;
[http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Plus]&lt;br /&gt;
&lt;br /&gt;
I used a work-around which is not elegant, substituting &amp;quot;plus sign&amp;quot; for &amp;quot;+&amp;quot; in the code and title... &lt;br /&gt;
I&#039;ll look into this further,&lt;br /&gt;
[[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== language reference first page ==&lt;br /&gt;
&lt;br /&gt;
Thursday afternoon... &lt;br /&gt;
Hi Fei,&lt;br /&gt;
I tried skyping at 430-530. No worries. I have changed your [[Language Reference]] front page, adding a 5 column alphabetical list. These point to 3 pages; [[Language Reference 1]], [[Language Reference 2]], [[Language Reference 3]]. What do you think?&lt;br /&gt;
&lt;br /&gt;
Your original page is now stored at [[Language Reference Original]].&lt;br /&gt;
&lt;br /&gt;
==OLDER==&lt;br /&gt;
&lt;br /&gt;
I think we&#039;ll have to re-think about the [[Language Reference]] list... I&#039;m getting the folowing errors:&lt;br /&gt;
&amp;quot;WARNING: This page is 39 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Hi Fei. I got the note this time, thanks. I was intending that we break the language reference into separate pages for each letter -- I guess we should do that tuesday. &lt;br /&gt;
Have a good weekend. [[User:JSH | Josie]]&lt;br /&gt;
&lt;br /&gt;
05.10.2005 Take a look at [[Language Reference2]] or [[Language Reference3]] as an example of a list that links to 3 more pages... I used Excel to make this file, you can find the file here: [[Image:Lang_ref2.zip]].&lt;br /&gt;
&lt;br /&gt;
Unzip this file: it should end up with the name &amp;quot;Lang_ref2.csv&amp;quot;. Open it in Excel or OpenOffice Calc to change the columns. Or, open it in Notepad and replace all commas with nothing. I.e. search for &amp;quot;,&amp;quot; and replace with &amp;quot;&amp;quot;. This will create a nice set of wiki text which you can cut and paste into your Language Reference page. Charles&lt;br /&gt;
&lt;br /&gt;
== foreign ip&#039;s ==&lt;br /&gt;
&lt;br /&gt;
04.10.2006 Hi Fei, (I am &#039;watching&#039; [[User_talk:Charles]], so I get an email from the system when people edit it - a good way to listen for comments by people) Thanks for that note about the foreign IP addresses. The language reference looks good. &lt;br /&gt;
Did you notice my changes to &amp;quot;News!!&amp;quot;? What&#039;s your next plan? I&#039;m trying to make time to get my SELES 101 tutorials updated and uploaded...   [[User:Charles | Charles]]&lt;br /&gt;
&lt;br /&gt;
== first notes == &lt;br /&gt;
&lt;br /&gt;
hello, Josie, all the figures in the documentary have been uploaded, :)&lt;br /&gt;
cya tuesday&lt;br /&gt;
&lt;br /&gt;
hi fei, nice work. did you use MWsnap? i made you a sysop. could you do me a favour and subscribe to the newsletter (under Support page) ciao, charles&lt;br /&gt;
&lt;br /&gt;
28.09.2006 nice home page! lol&lt;br /&gt;
hi fei, i see you have copied and pasted text into your user page: fun! &lt;br /&gt;
you can post a picture by typing: &amp;lt;nowiki&amp;gt;[[Image:Jie04.jpg]] &amp;lt;/nowiki&amp;gt; [[Image:Jie04.jpg]]&lt;br /&gt;
&lt;br /&gt;
hi charles, thanks for the comment, lol, i&#039;ve subscribed to the newsletter... have a nice weekend!&lt;br /&gt;
hi again, i&#039;m getting a little addicted to updating my profile..lol, please let me know if it looks too inappropriate/unprofessional, i&#039;ll delete them. is there anything that i need to think/read/learn about seles over this weekend? thx, fei&lt;br /&gt;
&lt;br /&gt;
29.09 hi fei, it&#039;s your page, and a community project so its nice to see some &#039;&#039;personal&#039;&#039; material: modelling can be dry at times. i deleted the subscribe to newsletter part at the top of your user page (if you want it back tell me). i won&#039;t usually monitor this page (user_talk:fei), so if you want to &#039;talk&#039; to me, leave a message at [[User_talk:Charles]] or email me or skype &#039;mapswest&#039;. have a great weekend and thx for doing all those graphics - it looks good! charles&lt;br /&gt;
&lt;br /&gt;
[[User_talk:JSH]] &lt;br /&gt;
&lt;br /&gt;
== checking messages ==&lt;br /&gt;
&lt;br /&gt;
I found you by searching under user contributions. Do you get this message? (and lovely pictures you have)&lt;br /&gt;
&lt;br /&gt;
I think the pages are case sensitive. Try User_talk:JSH.&lt;br /&gt;
&lt;br /&gt;
== wow... ==&lt;br /&gt;
&lt;br /&gt;
it looks good....&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=The_CA_model&amp;diff=3194</id>
		<title>The CA model</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=The_CA_model&amp;diff=3194"/>
		<updated>2006-11-15T21:35:11Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* consumerCA.lse */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Screenshot==&lt;br /&gt;
&lt;br /&gt;
[[Image:Consumer.gif]]&lt;br /&gt;
&lt;br /&gt;
==Download Model==&lt;br /&gt;
&lt;br /&gt;
Download the .scn, .sel and .lse files by clicking on the following link: [[Image:ProducerConsumer.zip]]&lt;br /&gt;
&lt;br /&gt;
==Model Code Exploration==&lt;br /&gt;
&lt;br /&gt;
In the following sections we will examine all of the model files for this model. Note that instead of downloading the zip file above, you could just copy the text in the boxes below into a text editor and save it with the appropriate name (Section title). Opening the resulting .scn file in the SELES simulator would run this model.&lt;br /&gt;
&lt;br /&gt;
===Consume.scn===&lt;br /&gt;
 Seles Scenario&lt;br /&gt;
 Model.sel&lt;br /&gt;
 SimPriority Low Priority&lt;br /&gt;
&lt;br /&gt;
===Model.sel===&lt;br /&gt;
 Seles Model&lt;br /&gt;
 Time Units: Step kiloStep 1000 1000&lt;br /&gt;
 Landscape Events:&lt;br /&gt;
  ConsumeCA.lse DEBUG&lt;br /&gt;
 Spatial Variables:&lt;br /&gt;
  LSState[3]&lt;br /&gt;
  PrevLSState[3]&lt;br /&gt;
 Legends:&lt;br /&gt;
  LSStateTypes = {0:Uncolonised, 1:Producer, 2:Consumer}&lt;br /&gt;
 Global Variables:&lt;br /&gt;
  pInitialProducer = 0.01&lt;br /&gt;
  pInitialConsumer = 0.01&lt;br /&gt;
  pSpreadProducer = 0.1&lt;br /&gt;
  pSpreadConsumer = 0.2&lt;br /&gt;
  pDeathProducer = 0.01&lt;br /&gt;
  pDeathConsumer = 0.05&lt;br /&gt;
 Output Frequency: 1&lt;br /&gt;
&lt;br /&gt;
===consumeCA.lse===&lt;br /&gt;
  // Producer/Consumer conceptual model implemented as a cellular automata&lt;br /&gt;
 // updating everything in a single event&lt;br /&gt;
 LSEVENT: ConsumeCA&lt;br /&gt;
 DEFINITIONS&lt;br /&gt;
   LAYER: LSState, PrevLSState&lt;br /&gt;
   GLOBAL CONSTANT: Uncolonised, Producer, Consumer&lt;br /&gt;
   GLOBAL VARIABLE: pInitialProducer, pInitialConsumer&lt;br /&gt;
   GLOBAL VARIABLE: pSpreadProducer, pDeathProducer, pSpreadConsumer, pDeathConsumer&lt;br /&gt;
 ENDDEF&lt;br /&gt;
 INITIALSTATE&lt;br /&gt;
  LSState = IF (UNIFORM(0,1) &amp;lt; pInitialConsumer) THEN Consumer&lt;br /&gt;
              ELSE IF (UNIFORM(0,1) &amp;lt; pInitialProducer) THEN Producer&lt;br /&gt;
              ELSE Uncolonised&lt;br /&gt;
   INITIALSTATE = 1&lt;br /&gt;
 ENDIS&lt;br /&gt;
 RETURNTIME&lt;br /&gt;
   RETURNTIME = 1&lt;br /&gt;
   PrevLSState = LSState&lt;br /&gt;
 ENDRT&lt;br /&gt;
 // Cellular automata: visit every cell and change state based on current state&lt;br /&gt;
 // and neighbourhood&lt;br /&gt;
 TRANSITIONS&lt;br /&gt;
  // An empty cell can possibly be colonised by a producer&lt;br /&gt;
  //   if it is next to at least one producer&lt;br /&gt;
  IF PrevLSState EQ Uncolonised&lt;br /&gt;
     OVER REGION CENTRED(1,1, WRAPPED)&lt;br /&gt;
         DECISION (PrevLSState EQ Producer) AND (UNIFORM(0,1) &amp;lt; pSpreadProducer)&lt;br /&gt;
         SOURCE LSState = Producer&lt;br /&gt;
     ENDFN&lt;br /&gt;
  // A producer can possibly die, or be eaten by a consumer&lt;br /&gt;
  ELSE IF PrevLSState EQ Producer&lt;br /&gt;
     IF (UNIFORM(0,1) &amp;lt; pDeathProducer)  // mortality&lt;br /&gt;
         LSState = Uncolonised&lt;br /&gt;
     ELSE&lt;br /&gt;
        OVER REGION CENTRED(1,1, WRAPPED)&lt;br /&gt;
            DECISION (PrevLSState EQ Consumer) AND (UNIFORM(0,1) &amp;lt; pSpreadConsumer)&lt;br /&gt;
            SOURCE LSState = Consumer&lt;br /&gt;
        ENDFN&lt;br /&gt;
     ENDFN&lt;br /&gt;
  // A consumer may die&lt;br /&gt;
  ELSE // PrevLSState EQ Consumer&lt;br /&gt;
     IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
        LSState = Uncolonised&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
  TRANSITIONS = FALSE&lt;br /&gt;
 ENDTR&lt;br /&gt;
&lt;br /&gt;
==Suggested Experiments==&lt;br /&gt;
&lt;br /&gt;
To explore this cellular automata model further, try the following:&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3193</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3193"/>
		<updated>2006-11-15T21:34:07Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* UNIFORM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#consumeCA.lse|consumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
	<entry>
		<id>https://seles.info/index.php?title=Language_Reference_3&amp;diff=3192</id>
		<title>Language Reference 3</title>
		<link rel="alternate" type="text/html" href="https://seles.info/index.php?title=Language_Reference_3&amp;diff=3192"/>
		<updated>2006-11-15T21:33:40Z</updated>

		<summary type="html">&lt;p&gt;Fei: /* UNIFORM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==ONE==&lt;br /&gt;
	return 1.0&lt;br /&gt;
#Number	return value of the number specified&lt;br /&gt;
&amp;lt;Constant&amp;gt;	return value of a named constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr]	return value of a named vector constant&lt;br /&gt;
&amp;lt;Constant&amp;gt;[Expr, Expr]	return value of a named array constant&lt;br /&gt;
&amp;lt;Macro&amp;gt;[Expr]	return value of expression at specified index&lt;br /&gt;
	in macro&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr)	draw a value from a normal distribution, where&lt;br /&gt;
	the first expression specifies the mean and&lt;br /&gt;
	the second specifies the standard deviation&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr, Expr)	draw a value from a skewed normal distribution, 	where the first expression specifies the mode &lt;br /&gt;
	and the second and third specify the standard &lt;br /&gt;
	deviations to the left and right of the mode &lt;br /&gt;
(Expr, Expr)	draw a value from a log normal distribution,&lt;br /&gt;
	where the first expression specifies the mean&lt;br /&gt;
	and the second specifies the standard deviation &lt;br /&gt;
	of the underlying normal distribution&lt;br /&gt;
&lt;br /&gt;
(Expr, Expr) 	draw a value from a Weibull distribution, where&lt;br /&gt;
	the first expression specifies the beta and the&lt;br /&gt;
	second specifies alpha (Note:terminology varies&lt;br /&gt;
	between sources. The version here is equivalent&lt;br /&gt;
	to that in Excel, with reversal of parameters).&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;br /&gt;
&lt;br /&gt;
==OR==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
A Boolean function operator that returns TRUE(1) if value of at least one expression is TRUE(1) and FALSE(0) otherwise.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=Expr OR Expr&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either TRUE(1) or FALSE(0)&lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
The OR operator is equivalent to the addition operator. For example: if A is TRUE(1) and B FALSE(0), then A OR B means that A+B, which is 1+0 and is equal to 1(TRUE). If both A and B are TRUE(1), then A OR B becomes 1+1, the result will be greater than 0 and 1. In this case, the result for x will still be evaluated to 1(TRUE)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    x=(2*8==16) OR (2&amp;gt;5) //(TRUE)&lt;br /&gt;
    (the result for x will be 1)&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   x=(2*8!=4*4) OR (2&amp;gt;5) //(FALSE)&lt;br /&gt;
    (the result for x will be 0)&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OUTPUT RECORD==		&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
NOTES:&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example.&lt;br /&gt;
 OUTPUT RECORD(ClassStatsFile)&lt;br /&gt;
  DECISION Area[pType] &amp;gt; 0&lt;br /&gt;
    LandscapeId: LandscapeId&lt;br /&gt;
    Replicate: Replicate&lt;br /&gt;
    pType: pType&lt;br /&gt;
    MNN: CellWidth * MeanNN[pType]&lt;br /&gt;
    MNN2: CellWidth * MeanNN2[pType]&lt;br /&gt;
    MinNN: CellWidth * MinNN[pType]&lt;br /&gt;
    MaxNN: CellWidth * MaxNN[pType]&lt;br /&gt;
    NNSD: CellWidth * NNSD[pType]&lt;br /&gt;
    NNCV: 100 * NNSD[pType] / MeanNN[pType]&lt;br /&gt;
    Dispersion: 2 * (NumPatches[pType] / Area[pType])^(1/2) * MeanNN[pType]&lt;br /&gt;
    meanMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * meanMST[pType]&lt;br /&gt;
    tMST: IF (NNType EQ rNN) THEN 0 ELSE CellWidth * MST[pType]&lt;br /&gt;
    meanMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanMPG[pType]&lt;br /&gt;
    tMPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * MPG[pType]&lt;br /&gt;
    nMPG: nMPG[pType]&lt;br /&gt;
    meanAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * meanAW_MPG[pType]&lt;br /&gt;
    tAW_MPG: IF (NNType EQ rNN) OR (NNType EQ rMST) THEN 0 ELSE CellWidth * AW_MPG[pType]&lt;br /&gt;
    nAW_MPG: nMPG[pType]&lt;br /&gt;
    ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
   &lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OVER INDEX SEQUENCE==&lt;br /&gt;
(Expr, Expr)	defines linear sequence of location indices. &lt;br /&gt;
DECISION Expr	&lt;br /&gt;
If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns &lt;br /&gt;
		TRUE will be included.  The system variable &lt;br /&gt;
		Index holds the value of the index at each value &lt;br /&gt;
		in the sequence&lt;br /&gt;
&lt;br /&gt;
Over region expressions are very frequently used to visit all cells in a landscape that meet some condition (e.g. to compute the size of the forest at initiation).&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
OVER RegionFunction	Apply a set of sub-expressions at all spatial&lt;br /&gt;
   Expression	locations specified by a region function&lt;br /&gt;
	        :&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
AT LOCATION #Expr	Apply a set of state-changes at a specified&lt;br /&gt;
   Expression	location&lt;br /&gt;
	:&lt;br /&gt;
ENDFN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
Matrix assignment is indicated using “[=]” instead of “=”.  The proper dimensions of the component arrays must be met.&lt;br /&gt;
&lt;br /&gt;
Variable [=] Variable	assign variable of same dimension, or a &lt;br /&gt;
	single value to all entries&lt;br /&gt;
Variable [=] Variable + Variable	sum variables of same dimension (or with a &lt;br /&gt;
	constant)&lt;br /&gt;
Variable [=] Variable - Variable	subtract variables of same dimension (or&lt;br /&gt;
	with a constant)&lt;br /&gt;
Variable [=] Variable * Variable	matrix or scalar multiplication. &lt;br /&gt;
&lt;br /&gt;
Variable [=] TRANSPOSE(Variable)	matrix transposition&lt;br /&gt;
Variable [=] Variable^-1	invert a matrix&lt;br /&gt;
Variable = SUM(Variable)	sum all entries in a matrix&lt;br /&gt;
Variable [=] SUM ROWS (Variable)	sum all rows of a matrix (result has one&lt;br /&gt;
	value per column)&lt;br /&gt;
Variable [=] SUM COLS(Variable)	sum all columns of a matrix&lt;br /&gt;
&lt;br /&gt;
Variables [=] SORT(Variable, Expr)	sort rows of an input matrix where rank is &lt;br /&gt;
	given by Expr. The system variable “Index” &lt;br /&gt;
	can appear in the expression and will take on&lt;br /&gt;
	the range of indices in the input array. The &lt;br /&gt;
	resulting sorted matrix will be assigned.&lt;br /&gt;
&lt;br /&gt;
Variable [=] MPM_MULT(Variable, Variable)	Performs a “matrix population model” &lt;br /&gt;
	(MPM) integer-based multiplication. &lt;br /&gt;
	Assumes that first matrix is two-dimensional &lt;br /&gt;
	and that second is a vector. The result is &lt;br /&gt;
	two-dimensional, where entries above &lt;br /&gt;
	diagonal represent &amp;quot;offspring&amp;quot;, entries on the&lt;br /&gt;
	diagonal represent &amp;quot;survivors&amp;quot; and entries &lt;br /&gt;
	below the diagonal represent &amp;quot;succeeders&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Variable [=] CONTAG(Variable, Variable)	Creates a “temporal contagion” matrix. &lt;br /&gt;
	Given probabilities (first parameter) for a set&lt;br /&gt;
	of states and a two-dimensional contagion &lt;br /&gt;
	array (values –1 to 1 indicating affinity), &lt;br /&gt;
	generates a matrix where each row is a prob. &lt;br /&gt;
	dist. For transitions given the row value, and &lt;br /&gt;
	the overall target dist. will be met.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Matrix Functions]]&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(pType + 1, NumPTypes - 1)&lt;br /&gt;
            pType2 = Index&lt;br /&gt;
            x = IF (tTE &amp;gt; 0) THEN Eik[pType, pType2] / tTE ELSE 0&lt;br /&gt;
            tIJI = tIJI + x * LOG(x)&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[LSStats#stats.lse|stats.lse]] for the working example.&lt;br /&gt;
 OVER INDEX SEQUENCE(0, NumPTypes-1)&lt;br /&gt;
            pType2 = Index + MinPType&lt;br /&gt;
            AMik = IF (TotalEdge[pType] &amp;gt; 0) THEN Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            IJI[pType] = IJI[pType] + AMik * LOG(AMik)&lt;br /&gt;
            x = IF ((TotalEdge[pType] &amp;gt; 0) AND (Pi &amp;gt; 0)) THEN Pi * Eik[pType, pType2] / TotalEdge[pType] ELSE 0&lt;br /&gt;
            tContag = tContag + x * LOG(x)&lt;br /&gt;
            measuredDiversity  = measuredDiversity - AMik * LOG(AMik)&lt;br /&gt;
            measuredDiversity2  = IF(pType NEQ pType2) THEN  measuredDiversity2 - AMik * LOG(AMik) ELSE measuredDiversity2&lt;br /&gt;
            asm = asm + AMik^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE==&lt;br /&gt;
	Halts the simulation and displays a dialog&lt;br /&gt;
	box to which the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(#Value)	Pauses the simulation for the specified number&lt;br /&gt;
			of milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE IF==&lt;br /&gt;
Expr	If the expression evaluates to TRUE, halts the &lt;br /&gt;
			simulation and displays a dialog box to which &lt;br /&gt;
			the user must respond to continue[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PAUSE (#Value)IF== &lt;br /&gt;
Expr	If the expression evaluates to TRUE, Pauses the &lt;br /&gt;
			simulation for the specified number of &lt;br /&gt;
			milliseconds and then continues[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==PREV==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==PREV LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RECOMPUTE==	&lt;br /&gt;
Only valid in consequent expressions of &lt;br /&gt;
			ProbInit and also when ProbInit recompute flag&lt;br /&gt;
			has been set. Causes prob. surface to be&lt;br /&gt;
			recomputed before next selection&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION CENTRED==&lt;br /&gt;
(Expr, Expr [,DistanceType][,WRAPPED]) &lt;br /&gt;
DECISION  Expr	defines a region centred on the current cell.&lt;br /&gt;
		If there is a decision expression, then only &lt;br /&gt;
		those cells for which this expression returns&lt;br /&gt;
		TRUE will be included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example&lt;br /&gt;
 REGION CENTRED(1, 1)&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;lt;= 0) AND (DistanceFromSrc &amp;gt; (CellWidth *   DISTANCE(StartLocation, Location)))&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Filter Small#FilterSmall.lse|FilterSmall.lse]] for the working example &lt;br /&gt;
 REGION CENTRED(1, 1.5)&lt;br /&gt;
 DECISION (Visited EQ 0) AND (FilteredPatchLayer EQ 1)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 3:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[The process model#producer.lse|producer.lse]] for the working example  &lt;br /&gt;
 REGION CENTRED(0, 1, WRAPPED)&lt;br /&gt;
 DECISION notEaten // don&#039;t spread if eaten (i.e. stop process)&lt;br /&gt;
 ENDSL&lt;br /&gt;
&lt;br /&gt;
Example 4:&lt;br /&gt;
//Note This exacmple is out of context. It will not run in the value model&lt;br /&gt;
//See [[Game of Life#GameOfLife.lse|GameOfLife.lse]] for the working example  &lt;br /&gt;
 OVER REGION CENTRED(1,1.5)&lt;br /&gt;
     DECISION PrevCellState EQ 1&lt;br /&gt;
     numNeighbs = numNeighbs + 1&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION COST SURFACE==&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(EndLocation, MaxCost, CostSurface, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
        DECISION Expr	&lt;br /&gt;
        COST Expr&lt;br /&gt;
		Defines a region surrounding a cell with &lt;br /&gt;
		cumulative costs less than MaxCost. Stops&lt;br /&gt;
		growing when EndLocation is reached or all&lt;br /&gt;
		costs are greater than MaxCost. Second form &lt;br /&gt;
		also records gradient and anchor location&lt;br /&gt;
		layers. The CostSurface layer records the&lt;br /&gt;
		cumulative cost from the cost function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
	COST Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LEAST COST PATH==&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs)&lt;br /&gt;
	DECISION Expr[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(StartLocation, EndLocation, LeastCostNeighbs, AnchorLoc)&lt;br /&gt;
	DECISION Expr&lt;br /&gt;
		Defines a region with cells that approximate&lt;br /&gt;
		the least-cost path between two cells. The&lt;br /&gt;
		first generates the cost function internally.&lt;br /&gt;
		The latter two use input information from a&lt;br /&gt;
		pre-computed cost surface region. Providing &lt;br /&gt;
		both the gradient and anchor location layers &lt;br /&gt;
		provides the most accurate approximation.&lt;br /&gt;
&lt;br /&gt;
Iteration is a common aspect of models (even if it is very procedural). Most programming languages offer a “for-loop” of some kind. SELES presently provides “over index sequence” expressions as a slightly more declarative (although also more cumbersome) expression for iterating. While-loops can also be used.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION==&lt;br /&gt;
(Expr)&lt;br /&gt;
DECISION Expr	              &lt;br /&gt;
                              defines the region consisting of a of a single&lt;br /&gt;
                              location index. If there is a decision &lt;br /&gt;
                              expression, then only those cells for which &lt;br /&gt;
                              this expression returns TRUE will be    &lt;br /&gt;
                              included.&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[Spreading1#Spreading.lse|Spreading.lse]] for the working example. &lt;br /&gt;
 REGION LOCATION(LOCATION(NUMROWS/2, NUMCOLS/2))&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION LOCATION LIST==&lt;br /&gt;
(Number+)&lt;br /&gt;
DECISION Expr	             &lt;br /&gt;
                             defines the region consisting of a set of  a set &lt;br /&gt;
                             of known location indices. If there is a &lt;br /&gt;
                             decision expression, then only those cells for&lt;br /&gt;
                             which this expression returns TRUE will be&lt;br /&gt;
                             included. &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
***&lt;br /&gt;
(X,n)	&lt;br /&gt;
defines the region consisting of a set of n&lt;br /&gt;
location indices stored in one-dimensional X.&lt;br /&gt;
&lt;br /&gt;
==REGION RECT== &lt;br /&gt;
(Expr, Expr, Expr, Expr)	defines a rectangular region. If there is a&lt;br /&gt;
	DECISION Expr	decision expression defined, then only those&lt;br /&gt;
		cells for which this expression returns&lt;br /&gt;
		TRUE will be included&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REGION VECTOR== &lt;br /&gt;
(StartLocation, EndLocation)	defines region consisting of cells along an&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. It will not run in the value model. &lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.&lt;br /&gt;
 OVER REGION VECTOR(EdgeLocation, PivotLocation)&lt;br /&gt;
     DECISION !hitPivot&lt;br /&gt;
     IF (StudyArea &amp;gt; 0) // hit new vertex&lt;br /&gt;
        hitPivot = TRUE&lt;br /&gt;
        IF (EndingPivotLoc EQ -1) AND (Location NEQ PivotLocation)&lt;br /&gt;
           EndingPivotLoc = PivotLocation&lt;br /&gt;
        ENDFN&lt;br /&gt;
        PivotLocation = Location&lt;br /&gt;
     ELSE&lt;br /&gt;
        ConvexHull = 0 // erase&lt;br /&gt;
     ENDFN&lt;br /&gt;
  ENDFN&lt;br /&gt;
 &lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
==REGION WHOLE MAP==	&lt;br /&gt;
DECISION Expr           &lt;br /&gt;
                        defines the region consisting of the entire&lt;br /&gt;
                        landscape. If there is a decision expression, &lt;br /&gt;
		        then only those cells for which this expression &lt;br /&gt;
		        returns TRUE will be included.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Region Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Distance Surface#Distance.lse|Distance.lse]] for the working example.  &lt;br /&gt;
 REGION WHOLE MAP&lt;br /&gt;
 DECISION (StudyArea &amp;gt; 0) AND (SrcLayer &amp;gt; 0)&lt;br /&gt;
 ENDEL&lt;br /&gt;
&lt;br /&gt;
Example 2:&lt;br /&gt;
//Note this example is out of context. It will not run in the value model.&lt;br /&gt;
//See [[Convex Hull#ConvexHull.lse|ConvexHull.lse]] for the working example.  &lt;br /&gt;
   OVER REGION WHOLE MAP&lt;br /&gt;
     DECISION StudyArea &amp;gt; 0&lt;br /&gt;
     TRLoc = MAX(TRLoc, Location)&lt;br /&gt;
  ENDFN&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==REMOVE==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE ALL LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==REMOVE LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==RESIZE==&lt;br /&gt;
(Variable, Expr)	Changes size (number of entries) in a global&lt;br /&gt;
			variable. Values are not maintained. Useful for &lt;br /&gt;
			when size is not known prior to simulation.&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(effectivePatchId, NP+1)&lt;br /&gt;
      &lt;br /&gt;
Example 2:  &lt;br /&gt;
//Note this example is out of context. //See [[LSStats#nn.lse|nn.lse]] for the working example. &lt;br /&gt;
 RESIZE(PosList, NP+1)&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==RESPONSE==&lt;br /&gt;
(Expr, #A, #B, #C)	two-sided version of a standard response &lt;br /&gt;
function for the value X of the first expression: &lt;br /&gt;
if (X &amp;lt; A) return e^(-(X-A)^2/(2*(C^2))&lt;br /&gt;
			else if (X &amp;gt; B) return e^(-(X-B)^2/(2*(C^2))&lt;br /&gt;
			else return 1&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Miscellaneous)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==ROUND(Expr)==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The rounding operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=ROUND(Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Expression value rounded to the nearest integer&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Arithmetic Functions)]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=ROUND(0.773)&lt;br /&gt;
    =1&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SEED==&lt;br /&gt;
(Expr)		Sets the random number seed. Value returned is &lt;br /&gt;
			next seed.[[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SELECTAT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that returns FALSE(0) if none of the bits in PositionList are set in the specified expression value and &lt;br /&gt;
TRUE(1) otherwise&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Either FALSE(0) or TRUE(1)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    yet to be determined&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SET==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SET LINK==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SETAT==&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type)&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1, and flip the bits if Type=2.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27 indicates bits at positions 1,4,5,6 and 27.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(Expr,PositionList,#Type,#Prob)&lt;br /&gt;
(Expr, PositionList,#Type,#Prob)	Same as above, except each position is set&lt;br /&gt;
		with probability #Prob&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that sets the value specified by the expression, at the positions in PositionList to: FALSE(0) if Type is 0, TRUE(1) if Type is 1; flip the bits if Type=2; note that each position is set with probability #Prob.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   (Expr,PositionList,#Type,#Prob)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
PositionList is a semi-colon separated sequence of integer or ranges (lower-upper) indicating positions in the integer (0-31). &lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    The PositionList 1;4-6;27;30 indicates bits at positions 1,4,5,6 and 27, each associated with probability 30%.&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SHIFT LEFT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the left by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT LEFT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT LEFT(7,5) means that position 7 will be shifted to position 2&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SHIFT RIGHT==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
A Bit-Vector function that shifts value of first expression to the right by number of bits specified by second expression&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   SHIFT RIGHT(Expr,Expr)&lt;br /&gt;
       &lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Any integer value&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: [[Model Builder&#039;s Guide Chapter 9#Bit-Vector Functions]]&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
    SHIFT RIGHT(7,5) means that position 7 will be shifted to position 12&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SIN==&lt;br /&gt;
(Expr)	interpret the value of the expression as an angle &lt;br /&gt;
		theta in degrees, and return sin(theta) [[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SIZE LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL==&lt;br /&gt;
***&lt;br /&gt;
(CDF)(Expr, Expr, Expr, Expr)	skewed normal cumulative density function, 			where the first expression specifies the value, &lt;br /&gt;
			the second is the mode, and the third and fourth 			are the left and right standard deviations&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
***&lt;br /&gt;
(PDF)(Expr, Expr, Expr, Expr)	skewed normal probability density function,&lt;br /&gt;
	where the first expression specifies the value,&lt;br /&gt;
	the second is the mode and the third and fourth	are the standard deviations to the left and right&lt;br /&gt;
	of the mode. &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SKEWED NORMAL TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr, Expr)&lt;br /&gt;
			temporal skewed normal probability density &lt;br /&gt;
			function&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SORT==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#General Set, List and Graph Functions]]&lt;br /&gt;
&lt;br /&gt;
==SORT LINKS==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==STRICT ORDERED==	&lt;br /&gt;
same as LESS THAN&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SUM==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
Returns the number that is the sum of all the expressions.&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=SUM &lt;br /&gt;
       Expr&lt;br /&gt;
       ...  &lt;br /&gt;
     ENDFN&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
the sum of all the arguments.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
EXAMPLES: &amp;lt;add carriage return here&amp;gt;&lt;br /&gt;
Example 1:&lt;br /&gt;
   y = 3&lt;br /&gt;
   x = SUM  &lt;br /&gt;
         y  &lt;br /&gt;
         y+2  &lt;br /&gt;
         5  &lt;br /&gt;
       ENDFN &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
DIVIDE	successive division of the sub-expressions&lt;br /&gt;
&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Composite Functions]]&lt;br /&gt;
&lt;br /&gt;
==TAIL==&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==TAN==&lt;br /&gt;
DESCRIPTION: &lt;br /&gt;
The tan function operator&lt;br /&gt;
&lt;br /&gt;
USAGE: &lt;br /&gt;
   x=TAN(Expr)&lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
Expr is any expression that evaluates to single numeric value.&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
Interpret the value of the expression as an angle theta in degrees, and return cos(theta)&lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&amp;lt;a link to the composite functions section of seles modellers guide&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example 1:&lt;br /&gt;
   x=TAN(90)&lt;br /&gt;
    =-286411217403671.25&lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Continuous Functions (Trigonometric Functions)]]&lt;br /&gt;
&lt;br /&gt;
==UNIFORM==&lt;br /&gt;
(Expr, Expr)	draw a value from a uniform distribution, where 	the first expression determines the minimum	 	value and the second determines the maximum&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
//Note this example is out of context. //See [[The CA model#ConsumeCA.lse|ConsumeCA.lse]] for the working example.&lt;br /&gt;
 IF UNIFORM(0,1) &amp;lt; pDeathConsumer&lt;br /&gt;
    LSState = Uncolonised&lt;br /&gt;
 ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==UNIFORM TEMPORAL PDF==&lt;br /&gt;
(Expr, Expr, Expr)	temporal uniform probability density expression&lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Probability Density and Cumulative Density Functions]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Variable&amp;gt;	value of an independent variable &amp;lt;Variable&amp;gt;[Expr]	value of a vector global variable&lt;br /&gt;
&amp;lt;Variable&amp;gt;[Expr, Expr]	value of an array global variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(Expr)	value of the expression Expr + Expr	sum of two expressions Expr - Expr	value of the first expression minus the value&lt;br /&gt;
	of the second expression Expr * Expr	product of two expressions Expr / Expr	value of the first expression divided by value&lt;br /&gt;
	of the second expression  Expr ^ Expr	value of the first expression to the power of&lt;br /&gt;
	the value of the second expression. An nth&lt;br /&gt;
	root can be computed with1/n as the power.&lt;br /&gt;
| Expr |	absolute value of the expression &lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WAIT UNTIL==&lt;br /&gt;
Expr	Suspend execution until the expression returns 			TRUE (1). This is intended for controlling&lt;br /&gt;
			communication and synchronization with&lt;br /&gt;
			an external application. [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
&amp;lt;links to sample models where this function is used&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==WHILE==&lt;br /&gt;
Expr	&lt;br /&gt;
While loop: process sub-expressions denoted by “…” while the expression evaluates to TRUE&lt;br /&gt;
ENDFN	&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1: //Note this example is out of context. //See [[LSStats#stats.lse|stats.lse]] &lt;br /&gt;
 WHILE (pos)&lt;br /&gt;
            patchVar [=] GET(coreAreaList[i], pos)&lt;br /&gt;
            pos = NEXT(coreAreaList[i], pos)&lt;br /&gt;
            // i = patchVar[rType]&lt;br /&gt;
            patchSize = patchVar[rArea]&lt;br /&gt;
            patchCoreSize = patchVar[rCoreArea]&lt;br /&gt;
            patchPerim = patchVar[rPerim]&lt;br /&gt;
            CASD2[i] = CASD2[i] + (patchCoreSize - MCA2[i])^2&lt;br /&gt;
            tCASD2 = tCASD2 + (patchCoreSize - tMCA2)^2&lt;br /&gt;
         ENDFN&lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: [[Model Builder&#039;s Guide Chapter 9#Control Expressions]]&lt;br /&gt;
&lt;br /&gt;
==ZERO==&lt;br /&gt;
	return 0.0&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION:&lt;br /&gt;
&lt;br /&gt;
USAGE:         &lt;br /&gt;
&lt;br /&gt;
REQUIRED ARGUMENTS:&lt;br /&gt;
&lt;br /&gt;
VALUE: &lt;br /&gt;
&lt;br /&gt;
SEE ALSO: &lt;br /&gt;
&lt;br /&gt;
Example 1:  &lt;br /&gt;
&lt;br /&gt;
Example 2:  &lt;br /&gt;
&lt;br /&gt;
SAMPLE MODELS: &lt;br /&gt;
[[Model Builder&#039;s Guide Chapter 9#Constants]]&lt;/div&gt;</summary>
		<author><name>Fei</name></author>
	</entry>
</feed>