搜索资源列表
test1
- map映照容器的元素数据由一个键值和一个映照数据组成的,他也是采用红黑树实现,插入元素的键值不允许重复,默认从小到大排-Map of the container element data from the shine upon a key value and a mapping data of composition, he is also using red and black tree realization, the elements of the key value not allowe
scan
- 本实例展示了并行前缀求和(也称作“scan”)的一种高效的 CUDA 实施途径。针对一个给定的数列,scan 可以计算出一个新的数列,其中每一个元素均为在输入列中该元素前面的所有元素的总和。 -This example shows the parallel prefix sum (also known as " scan" ) of an efficient CUDA implementation of the approach. For a given series, scan
operator5
- 重载流操作符作为类的友元函数,可以直接输出类对象的私有成元-Heavy-Current-operator as a kind of friend function, you can direct the output of the private into a class object element
MultiplicationOfLargeNumbers
- 用一个整型数组表示一个大数,数组的每个元素储存大数的一位数字,则实际的大数d表示为: d=a[k]*10的k-1次幂+a[k-1]*10的k-2次幂+......+a[2]*10+a[1] 其中a[0]保存该大数的位数. (2),实现两个大数相乘. (3),再此基础上实现两个大数相除 -With an integer array to represent a large number, every element of the array storage of large numb
prio
- 优先队列是0个或多个元素的集合,每个元素都有一个优先权或值,对优先队列执行的操作有1) 查找 2) 插入一个新元素 3) 删除.在最小优先队列(min priorityq u e u e)中,查找操作用来搜索优先权最小的元素,删除操作用来删除该元素 对于最大优先队列(max priority queue),查找操作用来搜索优先权最大的元素,删除操作用来删除该元素.优先权队列中的元素可以有相同的优先权,查找与删除操作可根据任意优先权进行. -Priority queue is 0 or mor
Week4.cpp
- Array s in 4 Tasks in one file. 1 task have a random array and need to sort array, 2 task - minimal and maximal element, 3 task - just need to elements and their numbers 4 task - it s the same - find to maximal and minimal but with alternative method
LU
- 解线性代数方程组的列主元LU分解法的C++实现-Solving linear algebraic equations out of the main element LU decomposition by C++
Gauss
- 解线性代数方程组的列主元高斯消去法的C++实现-Solving linear algebraic equations out of the main element Gaussian elimination by C++
test1
- list对任意位置的元素进行插入,删除,查找都是极快速的,list的每个节点都有三个域:前驱元素指针域,数据域,后驱元素指针域-List any position of the elements to insert, and delete, find it is extremely fast, the list each node has three domain: precursor element pointer domain, data fields, the rear element p
test2
- vector向量容器的介绍, 不指定元素个数 定义一个用来储存10个double类型的元素的向量容器 下标:0~9,每个元素的初值0.0;-Vector vector of the container is introduced, the introduction of vector vector containers, not specified number of elements Define a used to store 10 double type of elements
vector
- Finds the largest element of the array
jihefugai
- 求解集合覆盖。给定一个实例I = (X , F),X为一个有限集合,F为X的子集的集合,使得X中的每个元素至少属于F中的一个元素,则认为子集F覆盖了X的元素。 集合覆盖问题就是,找出含X的子集个数最少的子集C属于F,使得C覆盖了X中的所有元素。 -For set covering. Given an instance of I = ( X, F ), X is a finite set, F X a subset of the set, so that every element in
source
- 锯齿数组 实现一个“可变长二维数组”,这个二维数组的行数可由输入决定,每行的元素个数仍可由输入决定。每个数组元素值都是1. 执行结果如下: 请输入行数: 5 请输入第1行的元素个数: 20 请输入第2行的元素个数: 34 请输入第3行的元素个数: 17 请输入第4行的元素个数: 9 请输入第5行的元素个数: 25 11111111111111111111 111 111 11 111 111 11111 111111111 11
shujujiegou
- 1.实现顺序表的基本操作,包括顺序表的初始化、第i个元素前插入一个新的元素、删除第i个元素、查找某元素、顺序表的销毁。2.实现单链表、循环链表、双向链表的所有基本操作 3.定义顺序栈类型,实现栈的所有基本操作。定义链栈类型,实现栈的所有基本操作。应用栈实现数制的转换。4.定义顺序队列类型,实现栈的所有基本操作。定义链队列类型,实现栈的所有基本操作。将字符串转换为整形。5.定义二叉链表类型,建立二叉树。先序、中序、后序、层次遍历二叉树,并输出遍历结果。-1. Achieve the basic o
data-structure-linear-list
- a.输入一组整型元素序列,建立线性表。 b.实现该线性表的遍历。 c.在该线性表中查找某一元素,查找成功显示查找元素,否则显示查找失败。 d.在该线性表中删除或插入指定元素。 实验要求:分别采用线性表的两种存储结构(顺序存储结构、链式存储结构)来实现以上基本操作。 -a. Enter an integer sequence of elements, and to establish a linear table. b. Traversal of the linear tabl
main
- 编程模拟队列的管理,主要包括:出队列、入队、统计队列的长度、查找队列某个元素e、及输出队列中元素。-Programming model queue management, mainly including: the length of the queue, into the team, statistics queue, find elements in the queue is an element e, and the output queue.
xianxingbiao
- 1、 创建线性表类。线性表的存储结构使用链表。 2、 完成表首插入元素、删除指定元素、搜索表中是否有指定元素、输出链表。 3、 输入n个不为零的整数作为节点元素值,遇到0代表输入结束(不创建元素值为0的节点),创建链表。输出整个链表。 4、 输入一个整数,将该数作为一个元素值插入表首位置。输出整个链表。 5、 输入一个整数,在链表中进行搜索,输出其在链表中的位置。如果不存在输出0。 6、 再一次输入一个整数,在链表中进行搜索,输出其在链表中的位置。如果不存在输出0。 7、
Select
- 选出数组中第k小元素 给定一个随机数组 用分治法-Elect the k-th smallest element in the array is given a random array of divide and conquer
ch09_05
- 编写返回数组中最大元素数值的模板函数。输入为两行,第一行为元素的个数n,第二行为n个元素。输出见main函数。 -Write a template function returns the value of the largest element in the array. Input for the two lines of the first acts of the number of elements n, n elements of the second act. Output, s
febio_source_1.5.2.3968
- 生物力学有限元求解程序,功能强大的求解器-biological FINITE element solver
