Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Mathematical Functions
Topic: Common Functions
See also: ceil rint

Function: floor
Description: floor gives the next smaller integer value of the elements of an array.

Usage: z = floor (x)
Input:
x array
Output:
z array

Example:



x = #(0.79, 2.1) ~ #(-3.99, -6.01)

floor (x)

Result:



Contents of floor

[1,]     0    -4 

[2,]     2    -7 

Group: Mathematical Functions
Topic: Common Functions
See also: ceil rint

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000