代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/477716/6732816
c fig10_55.c
/* Bad random number generator */
#include
/* START: fig10_55.txt */
static unsigned long Seed = 1;
#define A 48271L
#define M 2147483647L
www.eeworm.com/read/477730/6733037
cs checkimage.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using
www.eeworm.com/read/476907/6754129
m randint2.m
function out = randint2(varargin);
%RANDINT Generate matrix of uniformly distributed random integers.
% OUT = RANDINT generates a "0" or "1" with equal probability.
%
% OUT = RANDINT(M) genera
www.eeworm.com/read/476406/6761079
f90 ex0825.f90
program ex0825
implicit none
interface ! 定义函数func的接口
function random10(lbound, ubound)
implicit none
real :: lbound, ubound
real :: random10(10) ! 传回值是个数组
end function
end interfac
www.eeworm.com/read/265396/11264925
c util.c
/*
ITU-T G.729A Speech Coder with Annex B ANSI-C Source Code
Version 1.3 Last modified: August 1997
Copyright (c) 1996,
AT&T, France Telecom, NTT, Universite de Sherbrooke, Luc
www.eeworm.com/read/265034/11285069
java teacher.java
public class Teacher
{ int numberOne,numberTwo;
String operator="";
boolean right;
public int giveNumberOne(int n)
{ numberOne=(int)(Math.random()*n)+1;
return numberOne;
}
pub
www.eeworm.com/read/410262/11295221
h newran.h
// newran.h ------------------------------------------------------------
// NEWRAN02
#ifndef NEWRAN_LIB
#define NEWRAN_LIB 0
//******************* utilities and definitions *****************
www.eeworm.com/read/410262/11295263
cpp newran.cpp
// newran.cpp -----------------------------------------------------------
// NEWRAN02
#define WANT_STREAM
#define WANT_MATH
#include "Include.h"
#include "newran.h"
//#include "mother.h"
www.eeworm.com/read/264896/11295305
m rro.m
function qph=rro(iph,nel,nstates,bitsize,xsi)
%
% subroutine to quantize phase slope using random roundoff
% iph=2 regular random roundoff
% =3 weighted random roundoff
%
rnd = 0;
for i=
www.eeworm.com/read/264896/11295306
m rroff.m
function [qph]=rro(iph,nel,nstates,bitsize,xsi)
%
% subroutine to quantize phase slope using random roundoff
% iph=2 regular random roundoff
% =3 weighted random roundoff
%
for i=1:nel