op_neg Class Reference
[Op_neg]

negate operation More...

#include <op_neg_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_neg > &in)
 Negate all elements of a dense matrix.
template<typename T1 >
static void apply (Cube< typename T1::elem_type > &out, const OpCube< T1, op_neg > &in)
 Negate all elements of a dense cube.

Detailed Description

negate operation

Definition at line 22 of file op_neg_proto.hpp.