📄 fmatalloc.3
字号:
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)fmatalloc.3 1.5 06 May 1997 ESI.TH F_MAT_ALLOC 3\-ESPSu 06 May 1997.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH "NAME"f_mat_alloc \- memory allocator for a pointer to a matrix of floats.SH "SYNOPSIS".B #include <stdio.h>.br.B float **f_mat_alloc (nb_row, nb_col).br.B unsigned nb_row;.br.B unsigned nb_col;.SH "DESCRIPTION".PP.I f_mat_allocallocates .I nb_rowby.I nb_colblock of memory. If successful,.I f_mat_allocreturns a pointer to a matrix of floatsotherwise it returns NULL. The allocated memory is not cleared. .SH "EXAMPLE".PPint row_size, column_size; /* dimension of memory block required */.brfloat **matrix; /* two-dimensional array */.brmatrix = f_mat_alloc ((unsigned) row_size, (unsigned) column_size).brif ( matrix != NULL ).br /* successfully allocated memory block */.brelse.br /* could not allocate memory */.SH DIAGNOSTICS.PPNone..SH "BUGS".PPNone Known..SH "SEE ALSO".PP.nff_mat_free(3\-ESPSu), d_mat_alloc(3\-ESPSu), d_mat_free(3\-ESPSu).fi.SH "AUTHOR".PPJohn Shore
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -