代码搜索:Difference
找到约 3,389 项符合「Difference」的源代码
代码结果 3,389
www.eeworm.com/read/222743/14676829
cpp setoperations.cpp
//: C06:SetOperations.cpp
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated in the
www.eeworm.com/read/120923/14782789
cpp setoperations.cpp
//: C08:SetOperations.cpp
// From "Thinking in C++, 2nd Edition, Volume 2"
// by Bruce Eckel & Chuck Allison, (c) 2001 MindView, Inc.
// Available at www.BruceEckel.com.
// Set operations on sorte
www.eeworm.com/read/209853/15212958
cpp setoperations.cpp
//: C06:SetOperations.cpp
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated in the
www.eeworm.com/read/335542/12517134
cpp setoperations.cpp
//: C06:SetOperations.cpp
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated in the
www.eeworm.com/read/300492/13909625
cpp setoperations.cpp
//: C06:SetOperations.cpp
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated in the
www.eeworm.com/read/390194/8477709
txt 06-21.txt
例6-21 使用diff函数求数值微分。
解:在命令窗口中输入如下命令,并按Enter键确认。
>> h = .002;
>> x = 0:h:pi;
>> diff(sin(x.^2))/h; %is an approximation to 2*cos(x.^2).*x
>> diff((1:10).^2)
ans =
3 5 7
www.eeworm.com/read/189063/8492125
m calcbits.m
function [bits]=calcbits(bounds,precision)
% function [bits]=calcbits(bounds,precision)
% Determine the number of bits to represent a float number to the precision
% provided.
%
% bits - the
www.eeworm.com/read/290205/8496347
m mmderiv.m
function z=mmderiv(x,y)
%MMDERIV Compute Derivative Using Weighted Central Differences.
% MMDERIV(X,Y) computes the derivative of the function y=f(x) given the
% data in X and Y. X must be a vector, b
www.eeworm.com/read/289487/8548660
m testwaveletkernel.m
%
% this is a script for testing and looking into wavelet kernel
% and different decompositions.
%
%
clear all
close all
% this is the data
N=50;
x=linspace(0,1,N)';
% these are the
www.eeworm.com/read/289058/8581962
cpp 牛顿值多项式.cpp
#include
#define N 4
void Difference(float *x,float *y,int n)
{
float *f;
int k,i;
f =new float[(n*sizeof(float))];
for(k=1;k