'add scalar to 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_plus > &in) |
Add a scalar to all elements of a matrix. | |
template<typename T1 > | |
static void | apply (Cube< typename T1::elem_type > &out, const OpCube< T1, op_scalar_plus > &in) |
Add a scalar to all elements of a cube. |
'add scalar to a matrix/cube' operation
Definition at line 22 of file op_scalar_misc_proto.hpp.