- 博客(4)
- 收藏
- 关注
原创 点到面的距离的直观求解,不用背公式
设平面为Ax + By + Cz + D = 0, 点为(x0, y0, z0), 求此点到平面的最短距离解:1. 该平面的法向量是(A, B, C), 忘了原因吗?其实很简单,高中学的,因为面上的任何一点(x, y, z)到法向量(A, B, C)的内积或者说投影大小是不变的,或者说满足条件Ax + By + Cz + D = 0的(x, y, z)形成的平面必然垂直于向量(A, B, C)2. (x0, y0, z0)到法向量(A, B,C)的投影长度是 d1 =(Ax0+By0+Cz0)/|
2020-05-19 17:42:47 774
原创 精通Matplotlib傻瓜教程(一)
绘制最简单的年龄身高折线图 plt.plot()是绘制折线图,plt.show()显示图像from matplotlib import pyplot as pltage = range(7)height = [45, 68, 78, 86, 92, 98, 104]plt.plot(age, height)plt.show()添加标题和XY轴标签 代码中的箭头是新增的部分, 图中的红圈是新增内容 from matplotlib import pyplot as plta
2020-05-12 04:10:44 197
原创 BGP peer建立过程
初始事件 建立tcp连接, 收到open消息,协商参数, 例如配置bgp 发送open消息 发送keepalive 收到keepaliveidle------->connect--------------------->op
2010-04-27 23:40:00 1790
原创 思科路由器上实测ipv6地址
#没有配置ipv6地址的接口 r1#sh run int fa1/0interface FastEthernet1/0 ip address 172.16.12.1 255.255.255.0 duplex auto speed autoendr1#sh ipv6 int briFastEthernet1/0
2010-04-09 22:14:00 898
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人