You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mike Anderson edited this page Jul 24, 2013
·
2 revisions
Vectorz supports views over all of its vector / matrix types.
A view is an array structure that references the data in one or more underlying arrays. This has several important implications:
If the underlying data changes, the elements you observe in the view will change
If you mutate elements in the the view, you will actually mutate the underlying data. This change may be visible to other views accessing the same data.
Views are lightweight in the sense that they do not take a copy of the underlying data. This means that they are very memory efficient when used appropriately.