-
求交换变量值的代码:要求编写一个函数实现两个整型变量交换彼此的数值。...
求交换变量值的代码:要求编写一个函数实现两个整型变量交换彼此的数值。
- 2022-04-06 14:11:49下载
- 积分:1
-
先设定随机数发生公式的种子值,根据这个产生一个随机的数组,然后通过插入排序进行排序,并计算运行时间...
先设定随机数发生公式的种子值,根据这个产生一个随机的数组,然后通过插入排序进行排序,并计算运行时间-First occurrence of the formula set random number seed value, the basis of this result in a random array, and then sort through the insertion sort, and calculate the running time
- 2022-08-12 10:12:19下载
- 积分:1
-
数据结构-算法-C语言-Demo
#ifndef _BINARY_TREE_H_INCLUDED#define _BINARY_TREE_H_INCLUDED#include #include templatestruct Bintree_node {T element;Bintree_node* lchild;Bintree_node* rchild;explicit Bintree_node(const T& elem=T(), Bintree_node* lchd=0, Bintree_node* rchd=0): element(elem), lchild(lchd), rchild(rchd) {}};templateclass Binary_tree {public:typedef Bintree_node* PBtn;Binary_tree();virtual ~Binary_tree();void clear();int depth() const;int size() const;virtual PBtn find(const T& elem) const=0;virtual void insert(const T& elem)=0;virtual void erase(const T& elem)=0;virtual void print(std::ostream& output) const=0;void print_tree(std::ostream& output) const;protected:
- 2022-01-29 04:39:50下载
- 积分:1
-
高斯算法的C实现,源代码
高斯算法用c实现,源代码-Gauss algorithm c realized, the source code
- 2022-03-19 07:49:46下载
- 积分:1
-
竞选算法
原创优化算法,类似于粒子群算法,收敛速度快,适用于前段近似解的求解,可以与牛顿法结合两段求解优化问题。
- 2022-08-15 16:34:06下载
- 积分:1
-
矩阵各种运算
本代码写了矩阵的各种运算算法,包括矩阵加、减、乘、求逆、转置、求特征值等等
- 2023-09-06 06:50:03下载
- 积分:1
-
Boostingbeta2
boosting的源代码,包括C++与matlab的混合编程。程序通俗易懂,经过运行测试。
- 2022-02-13 08:21:31下载
- 积分:1
-
离散数学经典的算法
离散数学经典的算法-Discrete Mathematics classical algorithm
- 2022-02-03 05:21:43下载
- 积分:1
-
是《计算机常用数值计算算法与程序 C++版》一书的配套C++程序源代码文件,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windo...
是《计算机常用数值计算算法与程序 C++版》一书的配套C++程序源代码文件,每个源程序文件的文件扩展名都使用.cpp形式。这些C++程序已经在微软公司Windows 平台下的Virsual C++ 6.0环境下通过-is "commonly used computer numerical algorithms and procedures C version," a book supporting the C source code file, the source files extensions are used. Cpp form.C Windows Virsual C 6.0
- 2022-07-04 21:58:06下载
- 积分:1
-
VC prepared using a multi
用VC编写的一个多功能图形界面计算器,不仅能实现简单的加减乘除,还能实现乘方,开方等算术。-VC prepared using a multi-functional graphical interface calculator, not only simple addition and subtraction, multiplication and division to achieve, but also the realization of involution, evolution, such as arithmetic.
- 2022-04-02 00:31:00下载
- 积分:1