上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 28 下一页
摘要: const Matrix=require('./Matrix.js') //将一个矩阵转换成上三角矩阵 function upperMatrix(oriMatrix) { const matrix=oriMatrix.clone(); const EPS=0.00001; let r=0; //生成上三角矩阵 for(let i=0;iEPS){ ... 阅读全文
posted @ 2019-03-11 00:56 无工时代 阅读(404) 评论(0) 推荐(0)
摘要: 求一个n元一次方程的解,Gauss消元 [ 0, 2, 2 ] 阅读全文
posted @ 2019-02-28 16:22 无工时代 阅读(471) 评论(0) 推荐(0)
摘要: 一个js模拟的矩阵类,包含遍历元素、矩阵加、减、乘,以及图形输出 结果 按行遍历矩阵元素,返回元素item,行r,列c1 0 02 0 13 1 04 1 15 2 06 2 1按竖遍历矩阵元素,返回元素item,行r,列c1 0 03 1 05 2 02 0 14 1 16 2 1输出矩阵图形[1 阅读全文
posted @ 2019-02-21 17:09 无工时代 阅读(956) 评论(0) 推荐(0)
摘要: 测试1:移动端测试 从输入url开始记时, 测试2:pc端测试 附上新浪、百度、起点的首屏截图 更详细的,包含每个资源的加载顺序 阅读全文
posted @ 2019-01-12 14:25 无工时代 阅读(1182) 评论(0) 推荐(0)
摘要: //魔方旋转基础模型 class Point{ constructor(x,y,z){ this.mapData={ 0:[1,0], 45:[1,1], 90:[0,1], 135:[-1,1], 180:[-1,0], 225... 阅读全文
posted @ 2019-01-01 16:56 无工时代 阅读(237) 评论(1) 推荐(0)
摘要: 用到的知识点: 1、bind函数 2、函数递归调用自身 3、promise test 阅读全文
posted @ 2018-11-16 16:12 无工时代 阅读(750) 评论(0) 推荐(0)
摘要: 对函数参数的封装 一个原始函数有n个参数,用wrap对函数进行封装,生成一个新的函数,当给它传入参数数量为n的时候,将执行原始函数,否则不执行 阅读全文
posted @ 2018-11-13 10:50 无工时代 阅读(739) 评论(0) 推荐(0)
摘要: 已知有流程step1、step2、step3、step4、step5 , 如何控制输出下面过程 例如: 1:step1、step2、step3、step2、step3、step4、step5 2:step1、step2、step4、step5 3:step1、step2、step4、step5、st 阅读全文
posted @ 2018-11-01 20:07 无工时代 阅读(203) 评论(0) 推荐(0)
摘要: /** * Check if two values are loosely equal - that is, * if they are plain objects, do they have the same shape? */ function looseEqual (a, b) { if (a === b) { return true } var isObjectA = is... 阅读全文
posted @ 2018-10-16 15:33 无工时代 阅读(1311) 评论(0) 推荐(0)
摘要: 研究的方向错误,有现成的旋转公式,修正js数字计算溢出问题,就能用公式算出旋转值,可以查看文章https://www.cnblogs.com/caoke/p/10529713.html 阅读全文
posted @ 2018-09-30 15:36 无工时代 阅读(640) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 28 下一页