代码搜索结果
找到约 10,000 项符合
Q 的代码
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.m
% File: q.m
%
%
function y=q(x)
y = 0.5*erfc(x/sqrt(2));
% End function file.
q.h
/* q.h - firstid, firstkey, isempty, lastkey, nonempty */
#ifndef _Q_H_
#define _Q_H_
/* q structure declarations, constants, and inline procedures */
#ifndef NQENT
#define NQENT NPROC +