(string)
| 88 | } |
| 89 | |
| 90 | function parseIdentifier (string) { |
| 91 | const symbol = parse(string) |
| 92 | if (!symbol.isSymbolNode) { |
| 93 | throw new TypeError('Invalid variable. ' + |
| 94 | `Cannot parse ${JSON.stringify(string)} into a variable in function derivative`) |
| 95 | } |
| 96 | return symbol |
| 97 | } |
| 98 | |
| 99 | const derivative = typed(name, { |
| 100 | 'Node, SymbolNode': plainDerivative, |
no outgoing calls
no test coverage detected
searching dependent graphs…