- 博客(8)
- 问答 (1)
- 收藏
- 关注
原创 comp9319 数据压缩 note1
Web data Compression and Search1.Entropy2.Basic CompressionRun-Length codingHuffman codingArithmetic coding 1.Entropy Entropy=∑in−p(si)log2p(si)Entropy = \sum_{i}^n -p(s_i)log_2p(s_i) Entropy=i∑n−p(s...
2019-08-24 15:22:18 464
原创 Computer Networks&Applications Notes--计算机网络与应用笔记1
@[TOC](Computer Networks&Applications Notes–计算机网络与应用笔记1)1 1.What is the Internet. Internet: “networks of networks” protocol(协议): control sending, receving of message. e.g. TCP, IP, HTTP. Internet...
2019-08-24 14:37:50 206
原创 数据结构与算法 1
Data Structures and Algorithm--数据结构与算法 1Time complexity 时间复杂度Computing Prefix Averages(前缀平均值)QuadraticLinear Time complexity 时间复杂度 constant < logarithmic < linear < n-log-n < n ^ 2 < 2...
2019-05-12 15:20:58 220
原创 C语言基础 4
C语言基础 4结构体结构体定义结构体声明结构体初始化和赋值结构体具有结构体指针与结构体结构体作为函数参数 结构体 结构体定义 结构体是用户自定义的一种数据类型,结构体中包含了一组相关的不同的数据类型。结构体的声明包括关键字 ‘struct’ 比如: struct student{ int student_id; char student_name[30]; }; // 此处有分号,不能忽略 ...
2019-03-14 08:29:00 115
原创 C语言基础 3
C 语言基础3函数(Function),数组(Array),指针(Pointer)函数(Function)递归函数(Recursive Fucntion)数组(Array)访问数组使用for循环给数组赋值二维数组(Two-Dimensional Arrays)二维数组赋值访问二维数组指针(Pointer)指针的定义表达式中的指针指针与数组指针与函数函数与数组带有数组参数的函数返回数组的函数 函数(...
2019-02-25 12:23:35 211
原创 C语言基础 2
C 语言基础 2条件语句(Conditionals)if语句关系操作符(Relational Operators)if - else 语句条件表达式(Conditional Expressions)if 嵌套(Nested if Statements)if - else if 语句(The if-else if Statement)逻辑操作符(Logical Operators)与 and &amp;amp;am...
2019-01-04 16:03:06 395
原创 Python 筛选质数(素数)
找质数 from math import sqrt def prime_up_to(n): L= [True]*(n+1) for i in range(2,round(sqrt(n))+1): if L[i]: # if L[i] is true e=i*i while e&lt;=n: ...
2019-01-03 15:48:00 4647
原创 C语言基础 1
C 语言基础 1头文件(header file)主函数(main)数据类型(Data type)变量(Variables)变量例子:输入(input)输出(output)转译符操作符类型转换 头文件(header file) C语言的头文件类似Python中导入库 #include &amp;lt;stdio.h&amp;gt; // 头文件 int main() { printf(&quot;嘤嘤嘤\n&quot;); ...
2019-01-03 14:34:43 193
空空如也
Matlab关于色彩空间rgb2lab的转换问题
2017-04-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人