capacity 源代码

capacity是一种函数,功能是返回string分配的存储容量。

收录资源 500 份 全站深度检索
源码文件

#include "apue.h" #include int main(void) { int i, n; int fd[2]; if (pipe(fd) < 0) err_sys("pipe error"); set_fl(fd[1], O…

源码文件

Example: 编译:mpicc -o beibao beibao.c -lm 运行:(group_size为处理器个数)  mpirun -np group_size box 这里运行mpirun –np 5 beibao 运行结果: my_ra…

源码文件

#include #include #include #include using namespace std; int main() { vector StrVector; //为字符串创建空的向量 StrVector.reserve…

源码文件

#include #include using namespace std; void DispInfo( const string & ); int main() { string str; cout

源码文件

/* * @(#)LinkedHashSet.java 1.8 03/01/20 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONF…

源码文件

/* * @(#)HashSet.java 1.28 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENT…

源码文件

%% Channel Capacity of MIMO temp=MyAngleSpread/2/180*pi; Coefficient_1_2=quad(@CorrCoe_1d,-temp,temp)/2/temp; Coefficient_1_…

源码文件

%% Channel Capacity of MIMO clear; clc; results=zeros(51,5); Re_CorrelationMatrix=zeros(4,4,51); for mm=1:4 Re_Corr…

源码文件

%% Channel Capacity of MIMO temp=MyAngleSpread/2/180*pi; Coefficient_1_2=quadv(@CorrCoe_1_2,-temp,temp)/2/temp; Coefficient_…

源码文件

% ccdf test clear; clc; Capacity=zeros(1,100); for mm=1:100 H=sqrt(1/2)*randn(4)+j*sqrt(1/2)*randn(4); Q=H*(H'); Capacity(m…