File: vtkarraynorm.mdc

package info (click to toggle)
freemat 4.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 141,800 kB
  • ctags: 14,082
  • sloc: ansic: 126,788; cpp: 62,046; python: 2,080; perl: 1,255; sh: 1,146; yacc: 1,019; lex: 239; makefile: 100
file content (54 lines) | stat: -rw-r--r-- 1,865 bytes parent folder | download | duplicates (2)
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