30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(of the same dimension) whose element values are not necessarily constrained<br />

to the<br />

discrete fractional set {-1, ..., 1-2<br />

-15<br />

}. Thus, no matrix inversion operation is provided for<br />

fractional matrices.<br />

However, since matrix inversion is a veryuseful operation, an implementation<br />

based<br />

on floating point number representation and arithmetic is provided within the<br />

DSP<br />

Library. Its description follows.<br />

MatrixInvert<br />

Description: MatrixInvertcomputes the inverse of the source matrix, and places<br />

the result in the destination matrix.<br />

Include: dsp.h<br />

Prototype: extern float* MatrixInvert (<br />

int numRowsCols,<br />

float* dstM,<br />

float* srcM,<br />

float* pivotFlag,<br />

int* swappedRows,<br />

int* swappedCols<br />

);<br />

Arguments: numRowCols number of rows and columns in (square) source<br />

matrix<br />

dstM pointer to destination matrix<br />

srcM pointer to source matrix<br />

Required for internal use:<br />

pivotFlag pointer to a length numRowsCols vector<br />

swappedRows pointer to a length numRowsCols vector<br />

swappedCols pointer to a length numRowsCols vector<br />

Return Value: Pointer to base address of destination matrix, or NULLif source<br />

matrix<br />

is singular.<br />

Remarks: Even though the vectors pivotFlag, swappedRows, and<br />

swappedCols, are for internal use only, they must be allocated prior to<br />

calling this function.<br />

If source matrix is singular (determinant equal to zero) the matrix does<br />

not have an inverse. In this case the function returns NULL.<br />

This function can be computed in place.<br />

Source File: minv.asm(assembled from C-code)<br />

Phần này trình bày các khái niệm về một bộ lọc phân đoạn, như xem xét bởi<br />

DSP<br />

Thư viện, và mô tả các chức năng cá nhân đó thực hiện các hoạt động lọc.<br />

2.6.1 Hoạt động lọc Fractional<br />

Lọc các chuỗi dữ liệu được đại diện bởi phân đoạn vector x [n] (0 ≤n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!