-
粒子群算法
粒子群算法,gbest,和pbest,轻松实现,十分实用
- 2022-05-16 16:19:06下载
- 积分:1
-
a description of the problem is : No. 1, 2, ..., n n clockwise direction by indi...
约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a description of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting around a circle, no one holding a password. One person started as a positive integer limits on the number of reported m, from the first individuals to embark on the clockwise from a few reportedly started, the report m is reportedly stopped a few. M reported out of the list of his password as a new value m, from a clockwise direction in the next re-started from a newspaper a few, like that, until the total of all listed so far.
- 2022-02-03 16:31:48下载
- 积分:1
-
koch 雪花的非递规 实现
koch 雪花的非递规 实现-non-delivery rules to achieve
- 2022-02-24 16:40:11下载
- 积分:1
-
该程序用来处理微分方程系统的,用来化简一个微分系统的,特别是高维的系统,用来计算中心流行...
该程序用来处理微分方程系统的,用来化简一个微分系统的,特别是高维的系统,用来计算中心流行-The procedures used to deal with differential equations system for the simplification of a differential system, especially high-dimensional system, used to pop Center
- 2022-12-11 14:40:03下载
- 积分:1
-
base64.js 保存图像
Base64是一种基于64个可打印字符来表示二进制数据的表示方法。由于2的6次方等于64,所以每6个比特为一个单元,对应某个可打印字符。三个字节有24个比特,对应于4个Base64单元,即3个字节需要用4个可打印字符来表示。它可用来作为电子邮件的传输编码。在Base64中的可打印字符包括字母A-Z、a-z、数字0-9 ,这样共有62个字符,此外两个可打印符号在不同的系统中而不同(本类库里面用的是`+`,`/`这两个字符)。一些如uuencode的其他编码方法,和之后binhex的版本使用不同的64字符集来代表6个二进制数字,但是它们不叫Base64。Base64常用于在通常处理文本数据的场合,表示、传输、存储一些二进制数据。包括MIME的email,email via MIME, 在XML中存储复杂数据.[摘自:维基百科]Base64其实是一种简单的置换加密方式,但是BASE64的用处往往并不是为了防止信息泄露,而且为了方便传输,进过BASE64编码后的信息会比原始信息长,大概是4/3倍。昨天本人写一个基于javascript实现的一个Base4编码和解码的一个类库,下载地址是:http://code.google.com/p/lazycode/downloads/detail?name=Base64.js&can=2&q=#makechanges。 国内git库: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-23 17:05:53下载
- 积分:1
-
Fortran求解矩阵线性方程组,有例子,可以直接运行
Fortran求解矩阵线性方程组,有例子,可以直接运行
/"P.S:本软件既可以计算线性方程组Ax=b,也可以计算矩阵方程AX=B")
Purpose : 消去法解矩阵方程
!
!-----------------------------------------------------
! In put data files :
! 1. fin.txt 输入方程系数
! 2.
! Output data files :
- 2023-03-15 08:45:04下载
- 积分:1
-
非定常解的程序
Program for solving the unsteady one-dimensional convection/diffusion equation using FD method and various discretization schemes for convective and diffusive terms and for time integration.
- 2023-04-05 21:05:03下载
- 积分:1
-
Fast Fourier Transform code
快速富立叶变换的代码-Fast Fourier Transform code
- 2022-02-01 18:32:57下载
- 积分:1
-
表达式处理及数制转换
表达式处理及数制转换-expression processing system conversion, and several
- 2022-03-13 09:13:04下载
- 积分:1
-
一个求解Josephus问题的函数
#include
#include
#define NULL 0
#include
typedef struct Lnode
{
int data;
struct Lnode *next;
}Josephus;
void CreateList(Josephus*&L,int n)//建立循环链表
{
int i;
Josephus *p,*s;
s=(Josephus*)malloc(sizeof(Josephus));
s->data=1;
L=p=s;
for(i=2;idata=i;
p->next=s;
p=s;
}
p->next=L;
}
void DeleteList(Josephus*&L,Josephus*p,Josephus*q)
{
q->next=p->next;
free(p);
}
void Josephus1(Josephus*&L,int s,int m)
- 2022-01-27 23:12:59下载
- 积分:1