Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks for the feedback :)
This was one of the most satisfying katas to solve
There's actually something called the product rule in calculus. The derivatives don't multiply together directly, instead follow this formula: (fg)' = f'g + fg' where ' represents the derivative.
Thanks mate! You did a solid
Thanks!
:)
Thanks mate :)
Done!
The Function will be initialized with a function and its derivative. So when is normally called, it should return the value of the function at x while if
grad = True
is provided, it should return the derivative of the function at x. Sorry if it was not described properly, I'll fix itDone!
Fixed the typo! I think the overflow is caused by the exp function, so I'll remove it.
Some spaces at the end in the test cases are inconsistent.
'def rgXbAr(Pn):\n return Pn * 1' should equal 'def rgXbAr(Pn):\n return Pn * 1 '
due to that space at the end. I would recommend stripping the text and then asserting.Done!
I'm getting the same error
:)
Loading more items...