/*
 *  dspqrdc_rt.h
 *
 *  Copyright 1995-2000 The MathWorks, Inc.
 *  $Revision: 1.2 $ $Date: 2000/03/03 22:53:27 $
 */

#ifndef dspqrdc_rt_h
#define dspqrdc_rt_h

#include "dsp_rt.h"

/*
 * Vector 2-norms, real and complex:
 */
extern void v2norm_real(real_T *V, int_T N, real_T *v2norm);
extern void v2norm_cplx(creal_T *V, int_T N, real_T *v2norm);

/*
 * Compute the qr factorization of an m by n matrix x.
 * Information needed for the orthogonal matrix q is
 * overwritten in the lower triangle of x and in the
 * auxilliary array qraux.
 * r overwrites the upper triangle of x and its diagonal
 * entries are guaranteed to decrease in magnitude.
 * Column pivot information is stored in jpvt.
 */
extern void dspqrdc_real(int_T m, int_T n, real_T *x, real_T *qraux, int_T *jpvt, real_T *work);
extern void dspqrdc_cplx(int_T m, int_T n, creal_T *x, creal_T *qraux, int_T *jpvt, creal_T *work);

#endif /* dspqrdc_rt_h */

/* [EOF] dspqrdc_rt.c */
