代码搜索:预置数
找到约 10,000 项符合「预置数」的源代码
代码结果 10,000
www.eeworm.com/read/272246/10964418
m intinti.m
function [pop]=INTinti(num,bounds)
%[pop]=INTinti(num,bounds)
%inti 编码函数
%num 种群数
%bounds 边界约束
L=bounds(:,2)-bounds(:,1);
p=rand(num,n);
for i=1:num
p(i,:)=round(p(i,:).*L');
www.eeworm.com/read/417736/10978353
m 例2-39.m
>> A=[1 2 2; -1 2 1;3 5 2];
>> B=[3 4 6;5 8 9;4 5 3];
>> a=A>3 %求A中比3大的数
>> b=(A> c=(A= =B)
www.eeworm.com/read/271475/10992718
cpp sa.cpp
// SA.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "ISA.h"
//
//码本大小和阶数
//
#define CB_SIZE 256
#define CB_ORDER 6
int main(int argc, char
www.eeworm.com/read/416146/11039829
cpp shiyan 2.cpp
#include
#include
#include
#include
#define N 6//实验中假定的页表长度
#define M 4 //主存物理块数
struct
{int lnumber; //页号
int flag; /
www.eeworm.com/read/466346/7034136
bas nlmivmainmodule.bas
Attribute VB_Name = "MainModule"
Sub Main()
Dim n As Integer, m As Integer
Dim s As String
' 3个未知数
m = 3
' 2次方程
n = 2
' 分配初值和解的内存
ReDim x(n) As Dou
www.eeworm.com/read/465889/7048298
m yj8.m
%定义遗传算法参数
Dim=20; %变量维数
NIND=20; %个体数目(Number of individuals)
Preci=20; %变量的二进制位数(Precision of variables)
MAXGEN=100; %最大遗传代数(Maximum number of ge