links : [url=http://www.tf2outpost.com/trade/6070940]tf2outpost.com[/url] [url=http://www.tf2outpost.com/trade/5935213]tf2outpost.com[/url] [url=http://www.tf2outpost.com/trade/5729876]tf2outpost.com[/url].
A function of real numbers is also called a step function if it is piecewise constant function involving a finite number of inputs. There are two types of step functions. Greatest Integer function (floor function) - A function f(x) is said to be a floor function which possesses biggest integer that is less than or equal to the input value x Smallest Integer function (ceiling function) - A function f(x) is said to be a ceiling function which is composed of the lowest integer that is either bigger or equal to the input value x A step function is also known as staircase function, since it looks like a staircase.
\>scalac Demo.scala \>scala Demo Output fruit : List(apples, apples, apples) num : List(2, 2, 2, 2, 2, 2, 2, 2, 2, 2) Tabulating a Function. You can use a function along with List.tabulate() method to apply on all the elements of the list before tabulating the list. Its arguments are just like those of List.fill: the first argument list gives the dimensions of the list to create, and the second describes the elements of the list. The only difference is that instead of the elements being fixed, they are computed from a function.