代码搜索结果
找到约 10,000 项符合
Q 的代码
q.c
int array[10];
main()
{
char i;
i=4;
i=4;
i=4;
i=4;
array[i++] = 4;
}
q.m
function [y]=Q(x)
% [y]=Q(x)
% Q evaluates the Q-function.
% y = 1/sqrt(2*pi) * integral from x to inf of exp(-t^2/2) dt.
% y = (1/2) * erfc(x/sqrt(2)).
y=(1/2)*erfc(x/sqrt(2));
q_test
#!/bin/sh
#
# NOTE: all tests duplicated in q_test.bat
set -v
echo === errors if 'user_eg' and 'user_eg2' not found ===
echo === check user_eg ${d:-`date`} =====================
user_eg "QR1 p
q_eg
#! /bin/sh
# writes examples to eg/
# see html/qh_eg.htm
set -v
rbox c D3 | qconvex s G >eg/eg.01.cube
rbox c d G2.0 | qconvex s G >eg/eg.02.diamond.cube
rbox s 100 D3 | qconvex s G >eg/eg.0
q_egtest
#! /bin/sh
# writes examples to eg/
set -v
rbox d D3 | qconvex s Gnrv Tc Tv >eg/eg.t01.spheres.3
rbox d D2 | qconvex s Gnv Tc Tv >eg/eg.t02.spheres.2
rbox d D3 | qconvex s Gnrp Tc Tv >eg/eg.t0
q_test
#!/bin/sh
#
# NOTE: all tests duplicated in q_test.bat
set -v
echo === errors if 'user_eg' and 'user_eg2' not found ===
echo === check user_eg ${d:-`date`} =====================
user_eg "QR1 p
q_eg
#! /bin/sh
# writes examples to eg/
# see html/qh_eg.htm
set -v
rbox c D3 | qconvex s G >eg/eg.01.cube
rbox c d G2.0 | qconvex s G >eg/eg.02.diamond.cube
rbox s 100 D3 | qconvex s G >eg/eg.0
q_egtest
#! /bin/sh
# writes examples to eg/
set -v
rbox d D3 | qconvex s Gnrv Tc Tv >eg/eg.t01.spheres.3
rbox d D2 | qconvex s Gnv Tc Tv >eg/eg.t02.spheres.2
rbox d D3 | qconvex s Gnrp Tc Tv >eg/eg.t0
q.m
% File: q.m
%
%
function y=q(x)
y = 0.5*erfc(x/sqrt(2));
% End function file.
q.m
function [y]=Q(x)
% [y]=Q(x)
% Q evaluates the Q-function.
% y = 1/sqrt(2*pi) * integral from x to inf of exp(-t^2/2) dt.
% y = (1/2) * erfc(x/sqrt(2)).
y=(1/2)*erfc(x/sqrt(2));