Lucas Colley
Lucas Colley
> Let's make these not depend on the name array_api_compat. Vendoring supports renaming the module. We should be able to just compare against __name__. How should we do that? Create...
sorry, I don't follow - what would one of the functions look like?
thanks, done
Okay. Are there existing tests for the `is_*_array` functions or should I add tests for those too?
> can you add these functions to the API docs? done (I think)!
I would say this should be opt-in, given the standard really focusses on just arrays. In practice, it will probably be used more often than not (at least for now),...
I think another form of wrapping that will be very common is using a default backend when all arguments of `array_namespace` are Python scalars.
Yeah, I'm thinking that the reason would be to maintain BC
I think it would be sufficient to state here that, whenever one is writing array API compatible code, they should refer to https://scipy.github.io/devdocs/dev/api-dev/array_api.html#adding-tests instead / in addition.
> But lgmres has no tol argument, only rtol and atol. It did used to have `tol` though - gh-20498