This is the quant lab for Baruch MFE program.
Quick setup — if you've done this kind of thing before
or https://github.com/ShengQuanZhou/baruch-mfe-lab.git
We recommend every repository include a README, LICENSE, and .gitignore.
…or create a new repository on the command line
echo "# baruch-mfe-lab" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/ShengQuanZhou/baruch-mfe-lab.git
git push -u origin master
…or push an existing repository from the command line
git remote add origin https://github.com/ShengQuanZhou/baruch-mfe-lab.git
git push -u origin master
…or import code from another repository
You can initialize this repository with code from a Subversion, Mercurial, or TFS project.
To restore to the status before the last commit:
git reset --hard HEAD
To remove a file from the last commit:
git rm --cached path/to/your/file
or git rm -r --cached path/to/your/directory
then git commit.
To view the committed files:
git diff HEAD origin/master
Getting started with Google Test (GTest) on Ubuntu:
https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
sudo apt-get install libgtest-dev
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
sudo cp *.a /usr/lib
cmake CMakeLists.txt
make
./runTests
Out-of-Source build:
https://www.cs.swarthmore.edu/~adanner/tips/cmake.php
cd unit_test/
mkdir build
cd build/
cmake ..
Remember to be in your build directory and point
cmake only to the directory containing the
top-level CMakeLists.txt file, not the file itself.