getdata.3
来自「speech signal process tools」· 3 代码 · 共 64 行
3
64 行
.\" Copyright (c) 1987-1990 Entropic Speech, Inc..\" Copyright (c) 1997 Entropic Research Laboratory, Inc. All rights reserved..\" @(#)getdata.3 1.4 18 Apr 1997 ESI/ERL.ds ]W (c) 1997 Entropic Research Laboratory, Inc..TH GET_DATA 3\-ESPSu 18 Apr 1997.SH NAME.nfget_ddata \- get data from a binary file in double precision formget_fdata \- get data from a binary file in floating form.SH SYNOPSIS.ft Bget_ddata(stream,dtype,data,npoints).brFILE *stream;.brchar dtype;.brfloat data[];.brint npoints;.sp.brget_fdata(stream,dtype,data,npoints).brFILE *stream;.brchar dtype;.brfloat data[];.brint npoints;.ft.SH DESCRIPTION.PP.I Get_datareads data from a binary file. This file is expected to contain a streamof bytes, short integers, long integers, floating values, or double precisionfloating values. The.I dtypeargument indicates the type of data in the file; it may be 'b', 'w', 'l', 'f',or 'd'..I Npointsvalues are read from the file, converted to double by.I get_ddata,to float by.I get_fdata,and returned in the.I dataarray..SH DIAGNOSTICSIf a read error occurs,.I get_dataprints an error message on the error output and exits..SH BUGSIdeally, an error status should be returned on error and the program shouldbe allowed to determine whether to exit..SH SEE ALSO.nf\fIput_ddata\fP(3\-ESPSu), \fIput_fdata\fP(3\-ESPSu).fi.SH EXPECTED CHANGESFix the flaw described in "BUGS"..SH AUTHOR
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?