Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EMAN::ValueSqrtProcessor Class Reference

f(x) = sqrt(x) More...

#include <processor.h>

Inheritance diagram for EMAN::ValueSqrtProcessor:

Inheritance graph
[legend]
Collaboration diagram for EMAN::ValueSqrtProcessor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

string get_name () const
 Get the processor's name.
string get_desc () const
 Get the descrition of this specific processor.

Static Public Member Functions

ProcessorNEW ()

Static Public Attributes

const string NAME = "math.sqrt"

Protected Member Functions

void process_pixel (float *x) const

Detailed Description

f(x) = sqrt(x)

Definition at line 1412 of file processor.h.


Member Function Documentation

string EMAN::ValueSqrtProcessor::get_desc  )  const [inline, virtual]
 

Get the descrition of this specific processor.

This function must be overwritten by a subclass.

Returns:
The description of this processor.

Implements EMAN::Processor.

Definition at line 1424 of file processor.h.

01425                 {
01426                         return "f(x) = sqrt(x)";
01427                 }

string EMAN::ValueSqrtProcessor::get_name  )  const [inline, virtual]
 

Get the processor's name.

Each processor is identified by a unique name.

Returns:
The processor's name.

Implements EMAN::Processor.

Definition at line 1415 of file processor.h.

01416                 {
01417                         return NAME;
01418                 }

Processor* EMAN::ValueSqrtProcessor::NEW  )  [inline, static]
 

Definition at line 1419 of file processor.h.

01420                 {
01421                         return new ValueSqrtProcessor();
01422                 }

void EMAN::ValueSqrtProcessor::process_pixel float *  x  )  const [inline, protected, virtual]
 

Implements EMAN::RealPixelProcessor.

Definition at line 1432 of file processor.h.

References sqrt(), and x.

01433                 {
01434                         *x = sqrt(*x);
01435                 }


Member Data Documentation

const string ValueSqrtProcessor::NAME = "math.sqrt" [static]
 

Definition at line 83 of file processor.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 13:48:26 2013 for EMAN2 by  doxygen 1.3.9.1