- 博客(5)
- 收藏
- 关注
原创 c与MATLAB混合编程 mxArray矩阵赋值
在MATLAB里边定义 a = [1, 4, 2; 3, 2, 0]; 在C语言等效定义是 double a[2][3] = { 1, 3, 4, 2, 2, 0 };//c语言的数组在内存里边是按行依次存储的,而MATLAB的mxArray是按列依次存储的 mxArray *xxA = mxCreateDoubleMatrix(2, 3, mxREAL);//定义一个2行3列的矩阵 me...
2018-10-10 16:19:12
2245
1
原创 C# gridview 显示两位小数
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); dataGridViewCellStyle1.Format = "#.##"; dataGridViewCellStyle1.NullValue = null;
2017-09-27 16:52:21
5229
1
原创 提高mongodb查询效率的方法--学习
方法: 1、创建索引,根据索引查询 效果:查询时间由675毫秒降低为1毫秒 2、优化查询条件顺序 效果:查询时间可以大幅降低 mongodb 创建索引的命令(默认创建可重复索引): db.bj_T_RealTimeData.ensureIndex({"transformer_Id":1}) //建立索引 显示已经创建的索引命令: db.bj_T_Real
2013-12-18 17:50:47
2444
原创 mongodb GridView C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; using MongoDB.Driver; us
2013-03-19 17:50:09
1033
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人