See https://fortran-lang.discourse.group/t/linear-algebra-api-call-for-feedback/7455/3
Ideally, we would like for each API operation:
- a
subroutine version, that performs no internal allocations, and intent(inout) arguments where necessary
- a
function version, that has all intent(in) arguments except for the error handler
- an overloaded
operator(.xyz.), where applicable, that has only intent(in) arguments
The function and operator versions should be made pure where possible
See https://fortran-lang.discourse.group/t/linear-algebra-api-call-for-feedback/7455/3
Ideally, we would like for each API operation:
subroutineversion, that performs no internal allocations, andintent(inout)arguments where necessaryfunctionversion, that has allintent(in)arguments except for the error handleroperator(.xyz.), where applicable, that has onlyintent(in)argumentsThe function and operator versions should be made
purewhere possible