1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
Usage
Given an input matrix (vtkTypedArray<double>), computes the
L-norm for each vector along either dimension, storing the
results in a dense output vector (1D vtkDenseArray<double>).
The caller may optionally request the inverse norm as output
(useful for subsequent normalization), and may limit the
computation to a "window" of vector elements, to avoid data
copying.
.SECTION Thanks Developed by Timothy M. Shead
(tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia
National Laboratories.
To create an instance of class vtkArrayNorm, simply invoke
its constructor as follows
obj = vtkArrayNorm
Methods
The class vtkArrayNorm has several methods that can be used.
They are listed below. Note that the documentation is
translated automatically from the VTK sources, and may not
be completely intelligible. When in doubt, consult the VTK
website. In the methods listed below, obj is an instance of
the vtkArrayNorm class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkArrayNorm = obj.NewInstance ()
* vtkArrayNorm = obj.SafeDownCast (vtkObject o)
* int = obj.GetDimension () - Controls the dimension along
which norms will be computed. For input matrices, For
input matrices, use "0" (rows) or "1" (columns). Default:
0
* obj.SetDimension (int ) - Controls the dimension along
which norms will be computed. For input matrices, For
input matrices, use "0" (rows) or "1" (columns). Default:
0
* int = obj.GetL () - Controls the L-value. Default: 2
* obj.SetL (int value) - Controls the L-value. Default: 2
* obj.SetInvert (int ) - Controls whether to invert output
values. Default: false
* int = obj.GetInvert () - Controls whether to invert output
values. Default: false
* FreeMat_Documentation
* Visualization_Toolkit_Infovis_Classes
* Generated on Thu Jul 25 2013 17:18:33 for FreeMat by
doxygen_ 1.8.1.1
|