Skip to content

clean up some cruft#2

Merged
ev-br merged 5 commits into
masterfrom
move_nonmemb
Dec 16, 2015
Merged

clean up some cruft#2
ev-br merged 5 commits into
masterfrom
move_nonmemb

Conversation

@ev-br
Copy link
Copy Markdown
Owner

@ev-br ev-br commented Dec 16, 2015

Reorganize the cpp innards a bit: move operations to be non-members; minimize the inner API surface (will be easier to add views later on).

Also,
 * export and distinguish const and non-const iterators
 * do not use data_ directly
 * do not dereference end() iterator :-)
And use random matrices in tests. GEMM fails :-(
Neither of .todense, .inplace_unary/binop, .apply_binop, .apply_mmul
need to be a member.

Also manually inline get/set_one in operations.
ev-br added a commit that referenced this pull request Dec 16, 2015
@ev-br ev-br merged commit 0fc80eb into master Dec 16, 2015
@ev-br ev-br deleted the move_nonmemb branch December 16, 2015 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant