asked 181k views
4 votes
What makes composing functions different from doing an arithmetic operation of two functions such as adding or dividing them?

asked
User Hanetzer
by
6.8k points

1 Answer

4 votes

function composition is an operation that takes two functions f and g and produces a function h such that h(x) = g(f(x)). In this operation, the function g is applied to the result of applying the function f to x.

answered
User MatthieuW
by
8.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.