摘要: 希尔排序 希尔排序是将组分段,进行插入排序.对想提高C#语言编程能力的朋友,我们可以互相探讨一下。如:下面的程序,并没有实现多态,来,帮它实现一下。 using System;public class ShellSorter{public void Sort(int [] list){int inc 阅读全文
posted @ 2020-03-24 16:19 算法工程师~Allen 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 在C#中使用mathnet,需要利用using引入相关类 矩阵运算的相关类: using MathNet.Numerics.LinearAlgebra.Double; using MathNet.Numerics.LinearAlgebra.Generic;矩阵定义和初始化 常用矩阵初始化函数: v 阅读全文
posted @ 2019-08-02 10:42 算法工程师~Allen 阅读(825) 评论(0) 推荐(0) 编辑
摘要: MessageBox.Show(" 5 个参数...... ", " 亮仔提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2); 阅读全文
posted @ 2019-08-01 11:26 算法工程师~Allen 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Math.Abs(x) x绝对值Math.Acos(x) 余弦值为x的角度Math.Asin(x) 正弦值为x的角度Math.Atan(x) 正切值为x的角度Math.Atan2(x, y) 正切值为 x y 的商的角度Math.BigMul(x, y) x,y 的完整乘积Math.Ceiling( 阅读全文
posted @ 2019-07-27 20:49 算法工程师~Allen 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Thread a = new Thread(showMsg); a.IsBackground = true; a.Start(); **************************************************************8 public void showMsg( 阅读全文
posted @ 2019-07-26 09:32 算法工程师~Allen 阅读(108) 评论(0) 推荐(0) 编辑
摘要: using ClouReaderAPI;using ClouReaderAPI.ClouInterface;using ClouReaderAPI.Models;using System;using System.Collections.Generic;using System.Text;using 阅读全文
posted @ 2019-07-08 13:41 算法工程师~Allen 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 创建型: 1. 单件模式(Singleton Pattern) 2. 抽象工厂(Abstract Factory) 3. 建造者模式(Builder) 4. 工厂方法模式(Factory Method) 5. 原型模式(Prototype) 结构型: 6. 适配器模式(Adapter Pattern 阅读全文
posted @ 2019-07-08 13:30 算法工程师~Allen 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 相信.Net开发人员都想能够熟记各种VS快捷键以提高平时开发的效率,但苦于记忆能力太差而快捷键又特别多,特别烦,所以作罢! 下面我将简单介绍一下我记忆VS快捷键的一些方法,希望对大家有所帮助。 1、窗口快捷键 (大家有没有发现但凡跟窗口挂上钩的快捷键当中都有一个W,那是因为W代表Windows也就是 阅读全文
posted @ 2019-07-08 13:21 算法工程师~Allen 阅读(548) 评论(0) 推荐(0) 编辑