遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2024年7月22日 #

深信服务超融合管理Api调用

摘要: using Jint; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; u 阅读全文

posted @ 2024-07-22 16:49 遗忘海岸 阅读(2) 评论(0) 推荐(0) 编辑

2024年5月23日 #

GDI+画工作流图的一些总结

摘要: 流程图由节点跟连线组成,先画节点,再根据节点做连线。 1:连线没有可用的控件,而节点可以直接使用Button类充当,使用Panel做画版,拖动button后会自动出现滚动条,且不需要自己做坐标转换。 1.1:不方便的地方在于如果让节点基础Button,那么属性设置面板里会出现一堆的控件属性,需要再定 阅读全文

posted @ 2024-05-23 09:34 遗忘海岸 阅读(18) 评论(0) 推荐(0) 编辑

2024年5月16日 #

绘制贝塞而曲线

摘要: 辅助函数 private Pen redPen = new Pen(Color.Red, 2); public static PointF Multi(Point p, float fac) { var pf = new PointF(); pf.X = p.X * fac; pf.Y = p.Y 阅读全文

posted @ 2024-05-16 09:26 遗忘海岸 阅读(1) 评论(0) 推荐(0) 编辑

2024年5月13日 #

GDI+画直线带箭头

摘要: 1.直线起前p0,终点p1, 那么向量<p0,p1> 为v0, 将v0转成单位向量并放大10个像素。 2.将v0乘以绕z轴旋转的变换矩阵,并同时做平移,得向量v2,v3 3.v1,v2直接作为p2,p3点并连接p2 p1, p3,p1 /// <summary> /// 给定一线段坐标点 /// 计 阅读全文

posted @ 2024-05-13 11:34 遗忘海岸 阅读(23) 评论(0) 推荐(0) 编辑

2024年3月27日 #

devexpress schedulerControl Gantt View 使用

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System. 阅读全文

posted @ 2024-03-27 19:27 遗忘海岸 阅读(16) 评论(0) 推荐(0) 编辑

2024年3月2日 #

逻辑回归损失函数求导

摘要: 阅读全文

posted @ 2024-03-02 20:13 遗忘海岸 阅读(6) 评论(0) 推荐(0) 编辑

2024年2月13日 #

matplotlim柱状图

摘要: import numpy as np import matplotlib matplotlib.use("TKAgg") import matplotlib.pyplot as plt d=np.arange(0,10,0.1) datas=np.array( [24,10,13,36]) subj 阅读全文

posted @ 2024-02-13 16:34 遗忘海岸 阅读(6) 评论(0) 推荐(0) 编辑

2024年2月11日 #

匀加速运动模拟python,(matplotlib)

摘要: 等距离方式 import numpy as np import matplotlib matplotlib.use("TKAgg") import matplotlib.pyplot as plt g=9.8 s=100 ds=0.00001 #单位米 v0=0.001 #m/s v=[v0] t= 阅读全文

posted @ 2024-02-11 21:40 遗忘海岸 阅读(14) 评论(0) 推荐(0) 编辑

2023年9月26日 #

C# 实现排列

摘要: class Program { static int count = 0; static void Main(string[] args) { var remainList = new List<string>() { "A", "B", "C" , "D", "E","F","G" };// va 阅读全文

posted @ 2023-09-26 16:42 遗忘海岸 阅读(11) 评论(0) 推荐(0) 编辑

2023年6月19日 #

python 类鸟群Boids

摘要: import sys, argparse import math import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation from scipy.spatial.distan 阅读全文

posted @ 2023-06-19 16:08 遗忘海岸 阅读(37) 评论(0) 推荐(0) 编辑

2023年4月15日 #

C#动态编译

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文

posted @ 2023-04-15 08:11 遗忘海岸 阅读(17) 评论(0) 推荐(0) 编辑

2023年4月8日 #

正太分布数据排序后分段数据的方差与标准差

摘要: clc close num=46000; step=23000; n=num/step; arr=randn(num,1) * 8.239027791394347 + 70; std(arr) mean(arr) arr_s=sort(arr); s=zeros(step,n); std_arr=z 阅读全文

posted @ 2023-04-08 09:12 遗忘海岸 阅读(25) 评论(0) 推荐(0) 编辑

2022年10月31日 #

Android 的一个通用列表单选AlertDialog封装

摘要: package cn.fstudio.util; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Date; import ja 阅读全文

posted @ 2022-10-31 11:15 遗忘海岸 阅读(130) 评论(0) 推荐(0) 编辑

2022年6月2日 #

平面上圆相交求交点——定位模拟

摘要: 基站发出报文 {基站坐标:(a1,b1),发出时间:2022-06-02: 10:32:35.23422} 移动端传感器采集3个基站的数据,然后计算距离构建3个圆方程,两两相减得到3个线性方程,对方程组求最小二乘解 代码了引入了线性误差e作用于计算的距离上 clear clc close() c1= 阅读全文

posted @ 2022-06-02 10:31 遗忘海岸 阅读(109) 评论(0) 推荐(0) 编辑

2022年3月30日 #

H3C 5560S交换机恢复出厂设置

摘要: 1.用户视图,输入dir, 看到startup.cfg文件, 2.使用delete /unreserved startup.cfg 删除,确定认 3.reboot 命令,第一个提示按N, 第二个提示按Y // 配置ftp下载并覆盖 1.配置一个vlan xx , xx是ftp服务器在的vlan 2. 阅读全文

posted @ 2022-03-30 17:12 遗忘海岸 阅读(1305) 评论(0) 推荐(0) 编辑