Avatar
omochimetaru 6/3/2022 3:11 AM
@swift-5.6.3 @differentiable func f(_ x: Float) -> Float { x * x } let dfdx = derivative(of: f) print(dfdx(3))