Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

Table Operators
[Basic Components]


Detailed Description

table operators

Warning:
this is not complete ...


Functions

 table_sqrdist (var a, var b)
 the ^ operator calculate the square distances between two tables.

 table_add (var a, var b)
 the + operator.

 table_sub (var a, var b)
 the - operator.

 table_mul (var a, var b)
 the * operator.

 table_div (var a, var b)
 the / operator.

 table_minus (var a)
 the unary - operator.

 table_max (var a)
 Get maximum value of a table.

 table_min (var a)
 Get minimum value of a table.


Function Documentation

table_sqrdist var  a,
var  b
 

the ^ operator calculate the square distances between two tables.

Parameters:
a table
b table

table_add var  a,
var  b
 

the + operator.

Parameters:
a table or any type that support '+' operator
b table or any type that support '+' operator
Returns:
table
Warning:
At least one of the parameters must be a table

table_sub var  a,
var  b
 

the - operator.

Parameters:
a table or any type that support '-' operator
b table or any type that support '-' operator
Returns:
table
Warning:
At least one of the parameters must be a table

table_mul var  a,
var  b
 

the * operator.

Parameters:
a table or any type that support '*' operator
b table or any type that support '*' operator
Returns:
table
Warning:
At least one of the parameters must be a table

table_div var  a,
var  b
 

the / operator.

Parameters:
a table or any type that support '/' operator
b table or any type that support '/' operator
Returns:
table
Warning:
At least one of the parameters must be a table

table_minus var  a  ) 
 

the unary - operator.

Parameters:
a table
Returns:
table

table_max var  a  ) 
 

Get maximum value of a table.

Parameters:
a table
Returns:
table element
Warning:
table elements must support the '>' operator.

table_min var  a  ) 
 

Get minimum value of a table.

Parameters:
a table
Returns:
table element
Warning:
table elements must support the '<' operator.


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6