Cleaned size checks.

Added functions: zeros, ones, trace, elementWiseProduct and
elementWiseProduct_inplace
renamed functions to be with _inplace when they replace "this".
This commit is contained in:
Samer Afach
2016-10-17 23:24:04 +02:00
parent f65ea9ccbd
commit 03ff1f639a
4 changed files with 120 additions and 102 deletions

View File

@@ -26,4 +26,5 @@ std::string _unsupported_type(const std::string& function_name)
{
return std::string("The type you is not supported for the function " + function_name + ".");
}
}