摘要: Add the docker group if it doesn't already exist: sudo groupadd docker Add the connected user "$USER" to the docker group. Change the user name to mat 阅读全文
posted @ 2018-08-27 20:21 南乡水 阅读(760) 评论(0) 推荐(0) 编辑
摘要: Matlab和Python的numpy在维度索引方面的不同点: 1、索引的起始点不同:Matlab起始位置的索引为1,Python为0。 2、索引的括号不同:Matlab中元素可以通过小括号表示索引,Python中用中括号。 3、对数组的默认维数不同:在Matlab中,一个一维数组是一个第二维为1的 阅读全文
posted @ 2018-08-20 12:03 南乡水 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: 1、在服务器的/etc/ssh/sshd_config中,设置X11Forwarding yes,然后重启ssh服务,cd /etc/init.d这个目录下执行 ./ssh restart 2、在客户端/etc/ssh/ssh_config中,设置ForwardAgent yes,ForwardX1 阅读全文
posted @ 2018-06-19 12:00 南乡水 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 设有 $n \times n$的矩阵 $$\begin{equation} W = \left[ \begin{matrix} w_{11},& w_{12},& \cdots,& w_{1n} \\ w_{21},& w_{22},& \cdots,& w_{2n} \\ \vdots& \vdo 阅读全文
posted @ 2018-02-12 12:48 南乡水 阅读(844) 评论(0) 推荐(0) 编辑