stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

Add `meshgrid` subroutine in `stdlib_math`

Open igirault opened this issue 1 year ago • 0 comments

WIP: first_proposal

The PR implements meshgrid, based on the API described in #18. It includes tests, spec and examples.

All versions for integer and real types are generated with fypp, as well as multi-dimensional versions, from 1 up to the maximum rank allowed.

The use of the subroutine error_stop in the case of invalid argument indexing prevented me to declare the subroutine with the pure attribute.

igirault avatar Jan 17 '24 22:01 igirault