Try to fix the bug when calling elementwiseProd involving inverse Ops. Add transposeFlag = 0 in function elementwiseOp does not make sense.
Restoring back to HOME/Software
Adding more comments to the adaptor files. Also finishing up the implementation of ElementalMatrixAdaptor.hpp. Changing all print() functions to accept a std::ostream, which simplifies life. After all, FILE* is pure C. There are other changes too, but I forget
Add the simple test cases in UnitTest.cpp. Replace {HOME}/Project/Tool with {HOME}/Software
Merge branch 'add-elemental' of https://github.com/pkambadu/AMD into add-elemental
Replace matrices names using A, B & C in SymbolicMatrixAdaptor.hpp
Add comments in SymbolicMatrixAdaptor. Some of the function in SymbolicMatrixAdaptor is not consistent with ElementalMatrixAdaptor. Need to fix it. The current version cannot compile with -DUSE_ELEMENTAL=on
(1) Removing all traces of SymbolicScalarMatlab from MatrixMatrixFunc and ScalarMatrixFunc. This type should be reffered through MatrixAdaptor::value_type. (2) Making Elemental and Symbolic adaptors consistent
Adding comments to MatrixAdaptor.hpp
Separating out test cases for different functionalities. SymbolicMatrix and MatrixMatrix func are two separate test cases now
(1) Adding check for MPI in the main CMakeLists.txt. This is needed because if we are using Elemental, we need to compile with mpi flags. (2) Created a small test case for elemental_adaptor (3) Created a nice template in tests/CMakeLists.txt that shows us how to add an executable when we are using Elemental (4) Bug fixes in MatrixAdaptor.hpp and ElementalMatrixAdaptor.hpp so that the test cases compiles. Note that config.h is created in the binary dir, not in source dir, so the right way to include config.h is AMD/config.h. I have added CMAKE_CURRENT_BINARY_DIR to the list of include directories, which completes the loop
Forgot to add this file --- sorry
Adding elemental libraries to be linked even for other test cases. This is needed very much
Had missed & in println function --- this caused compilation errors
Merge with add-elemental. Add include <ElementalMatrixAdaptor> in AMD.hpp. Otherwise the TestElemental case cannot compile
Create the new branch element-wise-product to work on the element-wise-product. Currently the program get the same answer for 189, 190, 191, 195, 196, 197 in the paper. Need to find out why missing diag(X) when involving inv(X) in element-wise-product
Implement element-wise-product. Now the results is the same as formulas on page 57 in the paper except the Formula 198. Add matrix adaptor to plusOp in MatrixMatrixFuncHelper.hpp which slipped from my finger
Complete element-wise-product. The Formula(198) on page 57 is wrong. It should be X'.*((X.*X')^-T + (X.*X')^-1)
Writing out variables to config.h from the main CMakeLists.txt does not work as well as writing it out from AMD/CMakeLists.txt. Also, removing AMD_HAVE_BOOST as this is a pointless macro to have. Boost is required, so when AMD_HAVE_BOOST is 0, we don't even bother compiling
Fixing the position of add_subdirectory(AMD) to be after Elemental checks but before tests subdirectory. Also, fixing a bug with the Python option