Navigation Banner
 
 HYPHY Command Reference:HYPHY Operations

Command Description Modified On
+ Operation of addition. 5/11/2000
- Operation of subtraction. 5/11/2000
* Operation of multiplication. 5/11/2000
/ Operation of floating point division. 5/11/2000
% Operation of remainder of integer division.
Rounds both arguments and then returns the remainder of integer division.
8/17/1999
$ Operation of integer division.
Rounds both arguments and then returns the result of integer division.
8/17/1999
! Operation of negation.
If the number is non-zero returns 0 (false), otherwise returns 1(true).
8/17/1999
&& Operation of conjunction (logical AND).
If both arguments are non-zero returns 1(true), otherwise returns 0.
8/17/1999
|| Operation of disjunction (logical OR).
If both arguments are 0 returns 0(false), otherwise returns 1 (true).
8/17/1999
^ Operation of raise to power.
Returns x raised to power y.
8/17/1999
== Operation 'equal'.
If the numbers are equal (or rather if the |x-y|/min(|x|,|y|)
1/19/2000
!= Operation 'not equal'.
If x is not equal to y (within floating point precision) returns 1, otherwise returns 0.
1/19/2000
[] Matrix or string access operation. In a matrix, can be used to access any given element, indexed by row and column position. 8/20/2002
>= Operation 'greater or equal'.
If x>=y (within floating point precision) returns 1, otherwise returns 0.
8/9/2002
> Operation 'greater'.
If x>y (within floating point precision) returns 1, otherwise returns 0.
8/9/2002
< Operation 'less'.
If x<y (within floating point precision) returns 1, otherwise returns 0.
8/9/2002
<= Operation 'less or equal'.
If x<=y (within floating point precision) returns 1, otherwise returns 0.
8/9/2002

 
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002