avatar
文章
63
标签
36
分类
17

首页
时间轴
标签
分类
RQTN
首页
时间轴
标签
分类

RQTN

Lec01 - 方程组的几何解释
发表于2019-08-11|MathematicsLinear Algebra|mit-18.06
第 1 课 方程组的几何解释 第 1 课主要阐述了何为线性方程组的行图像和列图像,并从列图像出发去理解线性组合,最后基于线性组合提出并初步解答了一个重要的问题:对任意 $b$ ,是否都能求解 $Ax=b$ 线性代数的基本问题是求解给定包含 n 个未知数的 n 个线性方程。举个例子: \displaylines{ 2 x-y =0 \\ -x+2 y =3 }将其重写为矩阵和向量表示: \displaylines{ \left[\begin{array}{rr}{2} & {-1} \\ {-1} & {2}\end{array}\right]\left[\begin{array}{l}{x} \\ {y}\end{array}\right]=\left[\begin{array}{l}{0} \\ {3}\end{array}\right] } Row picture(行图像) Column picture (列图像)$\rightarrow$ Linear Combination(线性组合) 从列图像的角度去理解线性组合,也即 $Ax$ 就是对 $A$ 的列向量进行 $x$ ...
Assignment1 - Backwash In Percolation
发表于2019-08-11|Data Structure & Algorithm|princeton-algs4
Assignment1 - backwash in Percolation 作业网站:Assignment1-Percolation,包含本次作业的说明,FAQ,相关的有用资源文件。 backwash 问题在作业网站的 FAQ 中提到了一个叫做 backwash 的问题: Q: After the system has percolated, my PercolationVisualizer colors in light blue all sites connected to open sites on the bottom (in addition to those connected to open sites on the top). Is this “backwash” acceptable? A: No, this is likely a bug in Percolation. It is only a minor deduction (because it impacts only the visualizer and not the experiment to es ...
Union-Find
发表于2019-08-11|Data Structure & Algorithm|princeton-algs4
Union Find关于 path compression 的补充说明在 improvements 一节中我们谈到了对 Quick Union 算法的两种改进,一种是带权(Weighted Quick Union),另外一种是路径压缩(Quick Union + path compression),这两种改进的算法对于在 $N$ 个对象上的 $M$ 次 union-find 操作其 worst-case time 皆为 $N+M\log N$。 该节中还提到了 Weighted Quick Union + path compression,这种方法结合了带权和路径压缩(worst-case time 为 $N+M\lg^*N$),但是在编码上需要注意一些问题。 在实现 Quick Union + path compression 时,我们知道采用单程实现(半展平)只需要在 root 中添加一行代码即可: 1234567public int root(int p) { while (p != id[p]) { id[p] = id[id[p]]; ...
1…67
avatar
RQTN
文章
63
标签
36
分类
17
Follow Me
最新文章
MVCC - undo log 版本链数据访问规则2023-06-27
synchronized 原理2023-05-04
好文收录 - 死磕Synchronized底层实现--重量级锁2023-04-28
好文收录 - 死磕Synchronized底层实现--轻量级锁2023-04-27
好文收录 - 死磕Synchronized底层实现--偏向锁2023-04-26
分类
  • AI1
  • Data Structure & Algorithm6
  • Java32
    • JUC6
    • JavaSE4
    • JavaWeb1
    • Mybatis6
    • Spring1
标签
设计模式 隔离级别 atguigu-springboot2 浮点数 Mybatis 接口代理机制 SpringBoot 自动配置 Java Socket 编程 atguigu-javaweb princeton-algs4 javassist SpringBoot 请求处理 好文收录 itheima-mysql laodu-spring6 mit-18.06 itheima-juc laodu-mybatis atguigu-springmvc 静态代理/动态代理 JNDI SpringBoot 消息转换器 hsp-javase synchronized SpringBoot 异常处理机制 Sentinel Canal TCC 分布式事务 GodBatis MVCC 循环依赖 原码/反码/补码 itheima-springcloud 多级缓存 坦克大战 八皇后问题 乱码
归档
  • 六月 20231
  • 五月 20231
  • 四月 20235
  • 三月 20233
  • 一月 20231
  • 十二月 20227
  • 十一月 20224
  • 十月 20225
网站资讯
文章数目 :
63
本站总字数 :
200.1k
最后更新时间 :
©2019 - 2024 By RQTN
框架 Hexo|主题 Butterfly