Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding move constructor and move assignment operators to Matrix and V…
…ector classes. This results in 5% to 10% speedup in computations that involve heavy usage of these classes, and dont use static allocation to avoid malloc calls. Requieres C++11 compatible compiler (tested on gcc5.4 with -std=c++11 flag). Enable during compilation with the -DUSE_CXX11 compiler flag.
- Loading branch information
Showing
4 changed files
with
97 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters