代码搜索结果
找到约 5,431 项符合
Temperature 的代码
retrospect.m
function T = retrospect(Ea,Estd,walkers,dEtgt,v,e,T,t,P)
% Retrospective temperature update method supplied with SA Tools.
% Copyright (c) 2002, by Richard Frost and Frost Concepts.
% See http://ww
shiyan5_1.cpp
//lab3_1.cpp
#include
float Convert(float);
int main()
{
float TempFer;
float TempCel;
cout > TempFer;
shiyan5_1.cpp
//lab3_1.cpp
#include
float Convert(float);
int main()
{
float TempFer;
float TempCel;
cout > TempFer;
anneal.m
function [minimum,fval] = anneal(loss, parent, options)
% ANNEAL Minimizes a function with the method of simulated annealing
% (Kirkpatrick et al., 1983)
%
% ANNEAL takes three input parameters,
xscript.m
% xScript.m
% An Example of Script File
%
% Author: HUANG Huajiang
% Copyright 2003 UNILAB Research Center,
% East China University of Science and Technology, Shanghai, PRC
% $Revision:
6_11.cpp
#include
using namespace std;
int main()
{ enum Day { SUN, MON, TUE, WED, THU, FRI, SAT }; //定义枚举类型
float high[SAT+1] = {80.0, 90.0, 91.0, 80.9, 90.4, 90.5, 80.7}; //使用枚举类型
for (i
heatindexdisplay.java
package DP.Chapter2;
public class HeatIndexDisplay implements Observer, DisplayElement {
private float temperature;
private float humidity;
private Subject weatherData;
private float heat
weather.java
import java.math.BigDecimal;
public class Weather {
private BigDecimal temperature;
private BigDecimal humidity;
private BigDecimal pressure;
private String day;
public
lab61.m
figure(1)
clear all
global N hx
N=40;
hx=1/N;
x=0:hx:1;
M=200;
ht=5/M;
t=0:ht:5;
c1=ht^2/(2*hx^2)+ht/(2*hx)-(0.3*ht^2)/(2*hx);
c2=1-ht^2/hx^2-0.3*ht+0.3^2*ht^2/2;
c3=ht^2/(2*hx^2)-ht/(2
lab6.m
figure(2)
clear all
global N hx
N=40;
hx=1/N;
x=hx:hx:1;
u0=zeros(1,N)+5;
t0=0;tend=5;
time=[t0];
u=u0';
M=420;
t=t0;
result=u0;
for k=1:M
ht=(tend-t0)/M;
u=u+ht*fpar(t,u)