'subtract scalar from a matrix/cube' operation More...
#include <op_scalar_misc_proto.hpp>
Static Public Member Functions | |
template<typename T1 > | |
static void | apply (Mat< typename T1::elem_type > &out, const Op< T1, op_scalar_minus_post > &in) |
subtract a scalar from each element of a matrix | |
template<typename T1 > | |
static void | apply (Cube< typename T1::elem_type > &out, const OpCube< T1, op_scalar_minus_post > &in) |
subtract a scalar from each element of a cube |
'subtract scalar from a matrix/cube' operation
Definition at line 44 of file op_scalar_misc_proto.hpp.