代码搜索:myfun

找到约 888 项符合「myfun」的源代码

代码结果 888
www.eeworm.com/read/392182/8360327

m myfun.m

function [f]=myfun(sol,bnd) x=sol; n=length(x); f=0; for i=1:n f=f+x(i)*i; end
www.eeworm.com/read/291636/8406602

m myfun.m

function [f]=myfun(sol,bnd) % 作者:机自01-2班曾新海 % zxh21st@163.com x=sol; n=length(x); f=0; for i=1:n f=f+x(i)*i; end
www.eeworm.com/read/291636/8406649

m myfun.m

function [f]=myfun(sol,bnd) % 作者:机自01-2班曾新海 % zxh21st@163.com x=sol; n=length(x); f=0; for i=1:n f=f+x(i)*i; end
www.eeworm.com/read/290937/8449859

m myfun.m

function q=myfun(p) x=p(1); y=p(2); q(1)=x-0.6*sin(x)-0.3*cos(y); q(2)=y-0.6*cos(x)+0.3*sin(y);
www.eeworm.com/read/189508/8466968

h myfun.h

#ifndef __MYFUN_H__ #define __MYFUN_H__ extern float f6(int a); extern float sphere(int a, int b); extern float rosenbrock(int a,int b); extern float rastrigrin(int a, int b); extern float gri
www.eeworm.com/read/189508/8466973

c myfun.c

#include "headfile.h" #include "extern.h" #include "myfun.h" float f6(int a) { /* This is the f6 function as described in the Handbook of Genetic Algorithms, p.8 */ double num, denom, f6
www.eeworm.com/read/188543/8529468

m myfun.m

function Y = myfun(x) Y(:,1) = 200*sin(x(:))./x(:); Y(:,2) = x(:).^2;
www.eeworm.com/read/187530/8634009

m myfun.m

function [f]=myfun(sol,bnd) % 作者:机自01-2班曾新海 % zxh21st@163.com x=sol; n=length(x); f=0; for i=1:n f=f+x(i)*i; end
www.eeworm.com/read/431839/8650887

m myfun.m

function [f]=myfun(sol,bnd) % 作者:机自01-2班曾新海 % zxh21st@163.com x=sol; n=length(x); f=0; for i=1:n f=f+x(i)*i; end
www.eeworm.com/read/287917/8661075

m myfun.m

function q=myfun(p) x=p(1); y=p(2); q(1)=x-0.6*sin(x)-0.3*cos(y); q(2)=y-0.6*cos(x)+0.3*sin(y);