(*args, **kwargs)
| 29 | 'same as the number of given functions' |
| 30 | |
| 31 | def linear_combination(*args, **kwargs): |
| 32 | return sum((weights[i]*functions[i](*args, **kwargs) for i in range(len(weights)))) |
| 33 | |
| 34 | return linear_combination |
| 35 |
no outgoing calls
searching dependent graphs…