VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkNormalizeMatrixVectors Class Reference

given a sparse input matrix, produces a sparse output matrix with each vector normalized to unit length with respect to a p-norm (default p=2). More...

#include <vtkNormalizeMatrixVectors.h>

Inheritance diagram for vtkNormalizeMatrixVectors:
Inheritance graph
[legend]
Collaboration diagram for vtkNormalizeMatrixVectors:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkArrayDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetVectorDimension ()
virtual void SetVectorDimension (int)
virtual double GetPValue ()
virtual void SetPValue (double)

Static Public Member Functions

static vtkNormalizeMatrixVectorsNew ()
static int IsTypeOf (const char *type)
static vtkNormalizeMatrixVectorsSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkNormalizeMatrixVectors ()
 ~vtkNormalizeMatrixVectors ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int VectorDimension
double PValue

Detailed Description

given a sparse input matrix, produces a sparse output matrix with each vector normalized to unit length with respect to a p-norm (default p=2).

Thanks:
Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
Tests:
vtkNormalizeMatrixVectors (Tests)

Definition at line 39 of file vtkNormalizeMatrixVectors.h.


Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 43 of file vtkNormalizeMatrixVectors.h.


Constructor & Destructor Documentation

vtkNormalizeMatrixVectors::vtkNormalizeMatrixVectors ( ) [protected]
vtkNormalizeMatrixVectors::~vtkNormalizeMatrixVectors ( ) [protected]

Member Function Documentation

static vtkNormalizeMatrixVectors* vtkNormalizeMatrixVectors::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkArrayDataAlgorithm.

virtual const char* vtkNormalizeMatrixVectors::GetClassName ( ) [virtual]

Reimplemented from vtkArrayDataAlgorithm.

static int vtkNormalizeMatrixVectors::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkArrayDataAlgorithm.

virtual int vtkNormalizeMatrixVectors::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkArrayDataAlgorithm.

static vtkNormalizeMatrixVectors* vtkNormalizeMatrixVectors::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkArrayDataAlgorithm.

void vtkNormalizeMatrixVectors::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkArrayDataAlgorithm.

virtual int vtkNormalizeMatrixVectors::GetVectorDimension ( ) [virtual]

Controls whether to normalize row-vectors or column-vectors. 0 = rows, 1 = columns.

virtual void vtkNormalizeMatrixVectors::SetVectorDimension ( int  ) [virtual]

Controls whether to normalize row-vectors or column-vectors. 0 = rows, 1 = columns.

virtual double vtkNormalizeMatrixVectors::GetPValue ( ) [virtual]

Value of p in p-norm normalization, subject to p >= 1. Default is p=2 (Euclidean norm).

virtual void vtkNormalizeMatrixVectors::SetPValue ( double  ) [virtual]

Value of p in p-norm normalization, subject to p >= 1. Default is p=2 (Euclidean norm).

int vtkNormalizeMatrixVectors::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkArrayDataAlgorithm.


Member Data Documentation

Definition at line 69 of file vtkNormalizeMatrixVectors.h.

Definition at line 70 of file vtkNormalizeMatrixVectors.h.


The documentation for this class was generated from the following file: