op_scalar_minus_pre Class Reference
[Op_scalar_misc]

'subtract matrix/cube 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.
template<typename T1 >
static void apply (Cube< typename T1::elem_type > &out, const OpCube< T1, op_scalar_minus_pre > &in)
 For each element of a cube, subtract it from a scalar.

Detailed Description

'subtract matrix/cube from a scalar' operation

Definition at line 33 of file op_scalar_misc_proto.hpp.