20#ifndef _vctUnaryOperations_h
21#define _vctUnaryOperations_h
54template<
class _outputElementType,
class _inputElementType = _outputElementType>
static CISST_EXPORT bool IsNaN(const Type &value)
static bool IsFinite(const Type &value)
Returns the absolute value of the input as an OutputType object.
Definition vctUnaryOperations.h:80
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:86
Returns the ceiling of the input, that is, the smallest integer greater-than or equal to the input,...
Definition vctUnaryOperations.h:106
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:108
Returns the floor of the input, that is, the largest integer less-than or equal to the input,...
Definition vctUnaryOperations.h:95
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:97
Returns the input as an OutputType object.
Definition vctUnaryOperations.h:65
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:71
Definition vctUnaryOperations.h:186
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:188
Definition vctUnaryOperations.h:194
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:196
Definition vctUnaryOperations.h:170
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:172
Definition vctUnaryOperations.h:154
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:156
Definition vctUnaryOperations.h:162
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:164
Definition vctUnaryOperations.h:178
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:180
Definition vctUnaryOperations.h:146
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:148
Returns the negative of the input as an OutputType object.
Definition vctUnaryOperations.h:134
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:140
Returns the square of the input as an OutputType object.
Definition vctUnaryOperations.h:119
static OutputElementType Operate(const InputElementType &input)
Definition vctUnaryOperations.h:125
Define unary operations on an object as classes.
Definition vctUnaryOperations.h:56
_outputElementType OutputElementType
Definition vctUnaryOperations.h:58
_inputElementType InputElementType
Definition vctUnaryOperations.h:59