Next: hdivhj() Up: MacAnova Help File Previous: hconj()   Contents

hdivh()

Usage:
hdivh(hx1 [, hx2]), hx1 and hx2 REAL matrices representing complex data
  with Hermitian symmetry



Keywords: time series, complex arithmetic
                                  Usage
hdivh(hx1, hx2) computes the element-wise complex ratio of elements in
the columns of REAL matrices or vectors hx1 and hx2, considered as
complex matrices in packed Hermitian form.  The result is also a complex
matrix in packed Hermitian form.

Any ratio of the form (0 + 0i)/(0 + 0i) is returned as 0 + 0i.  The ratio
of a non-zero element of cx1 and 0 + 0i is MISSING + MISSING*i.

When hx1 represents a single complex series (has 1 column), that series
is divided by all the series in hx2.  Similarly when hx2 represents a
single complex series, all the series in hx1 are divided by hx2.

For example, if hx1 is m by 1 and hx2 is m by 3, hdivh(hx1,hx2) is
equivalent to hdivh(hconcat(hx1,hx1,hx1),hx2).

hdivh(hx) is equivalent to hdivh(hx,hx) and yields a result with all
real parts = 1 and all imaginary parts = 0 (except (0 + 0i)/(0 + 0i)
elements).

                            Cross references
See also hdivhj(), cdivc(), cdivcj(), hprdh(), hprdhj(), cprdc(), cprdcj().

See topic 'complex' for discussion of complex matrices in MacAnova.

See subtopic 'matrices:"complex_matrices" for a list of macros for
working with complex matrices.


Gary Oehlert 2006-01-30