{"action":"opened","issue":{"url":"https://api.github.com/repos/pymor/pymor/issues/235","repository_url":"https://api.github.com/repos/pymor/pymor","labels_url":"https://api.github.com/repos/pymor/pymor/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/pymor/pymor/issues/235/comments","events_url":"https://api.github.com/repos/pymor/pymor/issues/235/events","html_url":"https://github.com/pymor/pymor/issues/235","id":148398672,"number":235,"title":"NumPy array to VectorArray","user":{"login":"pmli","id":1268421,"avatar_url":"https://avatars.githubusercontent.com/u/1268421?v=3","gravatar_id":"","url":"https://api.github.com/users/pmli","html_url":"https://github.com/pmli","followers_url":"https://api.github.com/users/pmli/followers","following_url":"https://api.github.com/users/pmli/following{/other_user}","gists_url":"https://api.github.com/users/pmli/gists{/gist_id}","starred_url":"https://api.github.com/users/pmli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmli/subscriptions","organizations_url":"https://api.github.com/users/pmli/orgs","repos_url":"https://api.github.com/users/pmli/repos","events_url":"https://api.github.com/users/pmli/events{/privacy}","received_events_url":"https://api.github.com/users/pmli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-14T15:28:16Z","updated_at":"2016-04-14T15:28:16Z","closed_at":null,"body":"Wrapping methods (such as `scipy.sparse.linalg.eigs`) that can work with operators means that operators' `apply` methods need to be wrapped so that they accept and return NumPy vectors/arrays. For returning NumPy arrays, there is an optional `data` property in `VectorArray`s, but for accepting, only `NumpyVectorArray` has a constructor which accepts NumPy arrays.\r\n\r\n@sdrave How about adding `from_numpy` class methods to other `VectorArray`s, e.g. `BlockVectorArray`?"}}