代码搜索:sequence
找到约 10,000 项符合「sequence」的源代码
代码结果 10,000
www.eeworm.com/read/289731/8532124
c alg49.c
#include
#include
#include
/* generates:
original element sequence of first container:
0 1 2 3 4 5 6 7 8 9
original element sequence of second cont
www.eeworm.com/read/433256/8535694
-
#include
#include
#include
const double INIT_SEED=13.17;
const double PI=4*atan(1);
class Random
{
public:
Random(double fInitSeed = INIT_SEED)
{
www.eeworm.com/read/188404/8543062
c fet140_adc12_06.c
//******************************************************************************
// MSP-FET430P140 Demo - ADC12, Repeated Sequence of Conversions
//
// Description: This example shows how to perf
www.eeworm.com/read/288910/8594726
c alg38.c
#include
#include
#include
/* generates:
original element sequence:
0 1 1 2 3 5 8 13 21 34
sequence after applying remove_if < 10:
13 21 34
www.eeworm.com/read/288910/8594744
c alg36.c
#include
#include
#include
int main()
{
vector< int, allocator > vec;
for ( int ix = 0; ix < 20; ix++ )
vec.push_back( ix );
random_shuffle(
www.eeworm.com/read/288910/8594849
c alg49.c
#include
#include
#include
/* generates:
original element sequence of first container:
0 1 2 3 4 5 6 7 8 9
original element sequence of second cont
www.eeworm.com/read/388457/8607986
m p3_2.m
% Program P3_2
% Time-Shifting Properties of DTFT
clf;
w = -pi:2*pi/255:pi; wo = 0.4*pi; D = 10;
num = [1 2 3 4 5 6 7 8 9];
h1 = freqz(num, 1, w);
h2 = freqz([zeros(1,D) num], 1, w);
subplot(2,
www.eeworm.com/read/388457/8608013
m p3_3.m
% Program P3_3
% Frequency-Shifting Properties of DTFT
clf;
w = -pi:2*pi/255:pi; wo = 0.4*pi;
num1 = [1 3 5 7 9 11 13 15 17];
L = length(num1);
h1 = freqz(num1, 1, w);
n = 0:L-1;
num2 = exp(wo
www.eeworm.com/read/388457/8608019
m circshift.m
function y = circshift(x,M)
% Develops a sequence y obtained by
% circularly shifting a finite-length
% sequence x by M samples
if abs(M) > length(x)
M = rem(M,length(x));
end
if M < 0
M = M
www.eeworm.com/read/388457/8608022
m p3_6.m
% Program P3_6
% Time Reversal Property of DTFT
clf;
w = -pi:2*pi/255:pi;
num = [1 2 3 4];
L = length(num)-1;
h1 = freqz(num, 1, w);
h2 = freqz(fliplr(num), 1, w);
h3 = exp(w*L*i).*h2;
subplo