op_scalar_minus_pre Class Reference
[Op_scalar_misc]

'subtract matrix from a scalar' operation More...

#include <op_scalar_misc_proto.hpp>

List of all members.

Static Public Member Functions

template<typename T1 >
static void apply (Mat< typename T1::elem_type > &out, const Op< T1, op_scalar_minus_pre > &in)
 For each element of a matrix, subtract it from a scalar and store the result in a dense matrix.


Detailed Description

'subtract matrix from a scalar' operation

Definition at line 33 of file op_scalar_misc_proto.hpp.