2 ms·
Or there could be a standardized notation for expressing functions and the concept of mapping can be derived from taking a function and applying it to a set of
by gravypod 10y ago
Or there could be a standardized notation for expressing functions and the concept of mapping can be derived from taking a function and applying it to a set of elements.
Function and Map are different concepts that should not be described together.
In CS I'd just say
B = map(some_function, A)
B is the Mapping of `some_function` over the elements in A.
- gizmo686 10y ago>Function and Map are different concepts that should not be described together Not in this context. Assuming you are using `map` in the CS sense, B is what is called the "image" of some_function (over the domain A). In math, a function is a mapping. Consider the type of `some_function`. In C like notation, it would be `foo some_function(goo x)`. Which indicates that some_function takes an arguement of type `goo` and returns a value of type `foo`. In other words, some_function maps Goo to Foo (where Goo and Foo represent the set of all values of type goo and foo).