diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-01-18 21:29:59 +0100 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-01-18 21:29:59 +0100 |
commit | df9a77d74d87fb8832264e9e9a37336001873151 (patch) | |
tree | 516e113140164daa0d918803dee64b94b685afb6 /src/utilities/utilities.hpp | |
parent | 4b3ffd998904f5c848edc5917308f5942fa71da3 (diff) |
Added first version of the TRSM routine based on the diagonal invert kernel
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r-- | src/utilities/utilities.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp index 26dee23b..3e408bb7 100644 --- a/src/utilities/utilities.hpp +++ b/src/utilities/utilities.hpp @@ -110,6 +110,10 @@ T ConstantZero(); template <typename T> T ConstantOne(); +// Returns a scalar of value -1 +template <typename T> +T ConstantNegOne(); + // ================================================================================================= // Structure containing all possible arguments for test clients, including their default values |