一、功能 用一个$N$点复序列快速傅立叶变换算法来同时计算两个$N$点实序列的离散傅立叶变换。 二、方法简介 假设$x(n)$与$y(n)$都是长度为$N$的实序列,为计算其离散傅立叶变换$X(k)$与$Y(k)$,我们将$x(n)$与$y(n)$组合成一个复数序列$h(n)$, $$ h(n) = ...
分类:
其他好文 时间:
2019-11-02 14:13:28
阅读次数:
382
Introduction In the reinforcement learning paradigm, an agent receives from its envrionment a scalar reward value called $reinforcement$. This feedbac ...
分类:
其他好文 时间:
2019-10-31 21:25:04
阅读次数:
74
当使用如下代码保存使用 plt.savefig 保存生成的图片时,结果打开生成的图片却是一片空白。 原因 其实产生这个现象的原因很简单:在 plt.show() 后调用了 plt.savefig() ,在 plt.show() 后实际上已经创建了一个新的空白的图片(坐标轴),这时候你再 plt.sa ...
分类:
其他好文 时间:
2019-10-29 21:59:38
阅读次数:
131
import java.util.* /** * 378. Kth Smallest Element in a Sorted Matrix * https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/descript... ...
分类:
其他好文 时间:
2019-10-28 00:44:03
阅读次数:
96
/** * 74. Search a 2D Matrix * https://leetcode.com/problems/search-a-2d-matrix/description/ * * Write an efficient algorithm that searches for a valu... ...
分类:
其他好文 时间:
2019-10-27 01:04:50
阅读次数:
93
package LeetCode_240 /** * 240. Search a 2D Matrix II * https://leetcode.com/problems/search-a-2d-matrix-ii/description/ * * Write an efficient algori... ...
分类:
其他好文 时间:
2019-10-27 00:56:21
阅读次数:
103
上下标 $R^2$: R^2 $R_1$: R_1 $R_1^2$: R_1^2 或者 R^2_1 ${^2_1}R$: (^2_1)R 分数 $\frac{a}{2}$: a/2 : a/(b+c) \sdiv(d/e +f) : (a/(b+c)) \ldiv (d/e+f) 矩阵 $\cdot ...
分类:
其他好文 时间:
2019-10-26 21:24:12
阅读次数:
124
暴力法:private int[][] data; public NumMatrix(int[][] matrix) { data = matrix; } public int sumRegion(int row1, int col1, int row2, int col2) { int sum =... ...
分类:
其他好文 时间:
2019-10-26 15:12:00
阅读次数:
67
using System; using System.Collections.Generic; public class PathGraph { public int[] m_Vertices; public int m_VertexNum; public int m_EdgeNum; public... ...
分类:
编程语言 时间:
2019-10-25 20:33:20
阅读次数:
99
对递归式进行矩阵构造 "传送门" 构造矩阵 $\left[ \begin{matrix} 1&0&1\\1&0&0\\0&1&0 \end{matrix} \right]$ $ \left[ \begin{matrix} F_{n}\\F_{n 1}\\F_{n 2} \end{matrix} \r ...
分类:
其他好文 时间:
2019-10-24 21:22:16
阅读次数:
110