代码搜索:gradient
找到约 2,951 项符合「gradient」的源代码
代码结果 2,951
www.eeworm.com/read/143706/12849542
m rosegrad.m
function g = rosegrad(x)
%ROSEGRAD Calculate gradient of Rosenbrock's function.
%
% Description
% G = ROSEGRAD(X) computes the gradient of Rosenbrock's function at
% each row of X, which should have t
www.eeworm.com/read/143706/12849776
m graddesc.m
function [x, options, flog, pointlog] = graddesc(f, x, options, gradf, ...
varargin)
%GRADDESC Gradient descent optimization.
%
% Description
% [X, OPTIONS, FLOG, POINTLOG] = GRADDESC(F, X, OPTIONS
www.eeworm.com/read/330872/12862830
cpp attacker.cpp
// Attacker.cpp: implementation of the CAttacker class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Attacker.h"
#include
#i
www.eeworm.com/read/243948/12906052
h graphic.h
/////////////////////////////////////////////////////////////
// Flash Plugin and Player
// Copyright (C) 1998 Olivier Debon
//
// This program is free software; you can redistribute it and/or
// mod
www.eeworm.com/read/329331/12960247
m quadeg1.m
%微积分例1:一元函数求导(diff,gradient)
clear;close;
x=-2*pi:0.1:2*pi;
y=sin(x);
dy=diff(y)./diff(x);
plot(x,y,x(1:length(x)-1),dy);
hold on;
yx =gradient(y,x);
plot(x,yx,'ro');
www.eeworm.com/read/329331/12960280
m quadeg2.m
%微积分例2:二元函数求导(gradient)
clear;close;
xa=-1:0.1:1;ya=-1:0.1:1;
[x,y]=meshgrid(xa,ya);
F=y.*x.^2+y.^3.*x;
[fx,fy]=gradient(F,xa,ya);
subplot(1,2,1);mesh(fx);
subplot(1,2,2);mesh(fy);
www.eeworm.com/read/328253/13037860
m ex2333.m
%例23-33 向量场图
[x,y,z]=peaks(20);
contour(x,y,z,10)
[u,v]=gradient(z);
hold on
quiver(x,y,u,v)
www.eeworm.com/read/141112/13040553
pas teethemes.pas
{*******************************************}
{ TeeChart Pro visual Themes }
{ Copyright (c) 2003-2005 by David Berneda }
{ All Rights Reserved }
{***********
www.eeworm.com/read/140851/13058971
m rosegrad.m
function g = rosegrad(x)
%ROSEGRAD Calculate gradient of Rosenbrock's function.
%
% Description
% G = ROSEGRAD(X) computes the gradient of Rosenbrock's function at
% each row of X, which should h
www.eeworm.com/read/140851/13059120
m graddesc.m
function [x, options, flog, pointlog] = graddesc(f, x, options, gradf, ...
varargin)
%GRADDESC Gradient descent optimization.
%
% Description
% [X, OPTIONS, FLOG, POINTLOG] = GRADDESC(F, X, OP