%贪心算法解决0-1背包问题 Fid=fopen('b.txt','r'); v=fscanf(Fid,'%f',1); fclose(Fid); Fid=fopen('p.txt','r'); p=fscanf(Fid,'%f',[1,50]); …
IK 源代码
汇集 IK 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
real*8 prop,ap integer iexp ,ik ,npld common /prlod/ prop,ap(7,50),iexp(50),ik…
/*----------------------------------------------------------------------------*/ /* app.c - application dependent routines, chang…
function amat=event_hyp(amat,t,x,tnot,xnot,v,amp,flag,aper) % EVENT_HYP: inserts a hyperbolic event in a matrix. % % amat=event…
function amat=event_dip(amat,t,x,tlims,xlims,amp) % amat=event_dip(amat,x,t,xlims,tlims,amp) % % EVENT_DIP inserts a dipping (lin…
function amat=event_hyp(amat,t,x,tnot,xnot,v,amp,flag,aper) % amat=event_hyp(amat,t,x,tnot,xnot,v,amp,flag,aper) % % EVENT_HY…
/* * Copyright (c) 1986 The Regents of the University of California. * All rights reserved. * * Redistribution and use in sour…
% Define PI=3.14159165; dt=0.004; dx=30; dz=14; % Get Parameters: %--------------- nt=1024; nz=200; nx=257; …
. \"KS keep - for keep release features. As in IFM .de ]K .nr KN \\n(.u .if \\n(IK=0 .if \\n(IF=0 .KQ .nr IK +1 .. . \"KQ - real k…
// variationnal inequality // -------------------------- // Probleme: // $ - \Delta u = f , \quad u=gd \on \Gamma, \quad u < g …