Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

blas64: order of fields in exported structs #201

Closed
vladimir-ch opened this issue Mar 16, 2017 · 1 comment
Closed

blas64: order of fields in exported structs #201

vladimir-ch opened this issue Mar 16, 2017 · 1 comment

Comments

@vladimir-ch
Copy link
Member

The order of fields in structs like Vector or General should follow the order in which they typically appear in a function call. This would make more natural and easier to understand calls with inline declarations with unnamed fields. For example, in case of Vector and Dscal:

native.Implementation{}.Dscal(n, scale, x, 1)
vs.
blas64.Scal(n, scale, blas64.Vector{1, x})

Similarly for General and other types.

@vladimir-ch
Copy link
Member Author

Closing because this repository is no longer maintained. Development has moved to https://github.com/gonum/gonum.

Done in gonum/gonum#571

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant