Element-wise division. More...
#include <DataFunctions.h>
Public Member Functions | |
DivWithZero (double value) | |
Constructor. | |
DivWithZero (const double *value) | |
Constructor. | |
DivWithZero (const char *fname) | |
Constructor. | |
virtual double | Op (double value, double constant, bool &) const |
Transform data value and/or mask data value by setting *mask = false. | |
virtual void | Process (int n, double *data, bool *mask=NULL) |
Process given data (not thread-safe!) | |
Public Member Functions inherited from mirtk::data::Op | |
virtual | ~Op () |
Destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from mirtk::data::op::ElementWiseBinaryOp | |
ElementWiseBinaryOp (double value) | |
Constructor. | |
ElementWiseBinaryOp (const double *value) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, double value) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const double *value) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const char *aname, bool cell_data=false) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const char *aname, double value, bool cell_data=false) | |
Constructor. | |
ElementWiseBinaryOp (const char *fname, const char *aname, const double *value, bool cell_data=false) | |
Constructor. | |
void | Finalize () |
Finalize processing and release temporary memory. | |
void | Initialize (int n, double *data, bool *mask=nullptr) |
Initialize processing and read data from file. | |
Element-wise division.
Definition at line 615 of file DataFunctions.h.