代码搜索:RAN

找到约 2,073 项符合「RAN」的源代码

代码结果 2,073
www.eeworm.com/read/191668/8425227

c ran.c

#include #include #include #include int gcd(unsigned long a,unsigned long b); int Is_Prime(unsigned int p); unsigned power(unsigned a,unsigned b,unsigned lon
www.eeworm.com/read/431857/8648947

m ran.m

function ran() TrainSamNum=400; %训练样本数 TestSamNum=201; %测试样本数 InDim=1; %样本输入维数 OutDim=1; %样本输出维数 %根据目标函数获得样本输入输出 TrainSamIn=4*rands(1,TrainSamNum); TrainSamOut=1.1*(1-
www.eeworm.com/read/431685/8661378

m ran.m

function ran() TrainSamNum=400; %训练样本数 TestSamNum=201; %测试样本数 InDim=1; %样本输入维数 OutDim=1; %样本输出维数 %根据目标函数获得样本输入输出 TrainSamIn=4*rands(1,TrainSamNum); TrainSamOut=1.1*(1-
www.eeworm.com/read/387009/8712364

h ran.h

struct Ran { Ullong u,v,w; Ran(Ullong j) : v(4101842887655102017LL), w(1) { u = j ^ v; int64(); v = u; int64(); w = v; int64(); } inline Ullong int64() { u = u * 286293355577794175
www.eeworm.com/read/373742/9441127

c ran.c

#define M1 259200 #define IA1 7141 #define IC1 54773 #define RM1 (1.0/M1) #define M2 134456 #define IA2 8121 #define IC2 28411 #define RM2 (1.0/M2) #define M3 243000 #define IA3 4561 #define
www.eeworm.com/read/278816/10504495

c ran.c

/* ran.c - uniform random number generator in [0, 1) */ #define a 16807 /* that is, \(a = 7\sp{5}\) */ #define m 2147483647 /* that is, \(
www.eeworm.com/read/159946/10585218

c ran.c

/* ran.c - uniform random number generator in [0, 1) */ #define a 16807 /* that is, \(a = 7\sp{5}\) */ #define m 2147483647 /* that is, \(
www.eeworm.com/read/199277/7870792

hpp ran.hpp

namespace meep { void init_ran(int seed); double ran2(); double gaussian(); double exponential(); } // namespace meep
www.eeworm.com/read/199277/7870797

cpp ran.cpp

#include "math.h" #include "ran.hpp" namespace meep { const int im1 = 2147483563; const int im2 = 2147483399; const double am = 1.0/im1; const int imm1 = im1 - 1; const int ia1 = 40014; const int ia
www.eeworm.com/read/198871/7905298

c ran.c

/* * This file is part of tMCimg. * * tMCimg is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free * Softwa