1.数学基础 导数(derivative) 导数四则运算法则 复合函数运算法则 凸函数定义 前提0≤α≤1 偏导数 二阶偏导数矩阵也就所谓的赫氏矩阵(Hessian matrix).一元函数就是二阶导,多元函数就是二阶偏导组成的矩阵.求向量函数最小值时用的,矩阵正定是最小值存在的充分条件。 示例 参... ...
分类:
其他好文 时间:
2016-03-28 21:31:16
阅读次数:
270
一、开篇
还是没能进入到源码部分研究,对姿态解算过程太过于模糊,所以主要开始研究一下关于姿态解算的过程和实现,本篇博文主要是以mahony的算法为基础理解姿态解算的过程,主要参考的论文就是William Premerlani and Paul Bizard的关于DCM的一篇经典论文《Direction Cosine Matrix IMU_Theory》,一定要搞透这偏论文,没...
分类:
其他好文 时间:
2016-03-28 11:59:10
阅读次数:
1014
题目链接: http://codeforces.com/gym/100917/problem/M 每次写$dp$都因为思路还不成熟就上了导致经常写出状态冗余的代码 这题看数据范围显然是状压$dp$ 然后注意优雅地使用位运算来减少代码长度就好了 ...
分类:
其他好文 时间:
2016-03-27 14:10:37
阅读次数:
214
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted i ...
分类:
其他好文 时间:
2016-03-27 12:35:21
阅读次数:
92
Problem You are given an N x N matrix with 0 and 1 values. You can swap any two adjacent rows of the matrix. Your goal is to have all the 1 values in ...
分类:
其他好文 时间:
2016-03-26 17:10:09
阅读次数:
173
问题描述:将二维数组中值为0的元素,所在行或者列全set为0;https://leetcode.com/problems/set-matrix-zeroes/ 问题分析:题中要求用 constant space 的辅助空间。自然想到位优化。一个int可以存储31个元素的信息。这里刚好用到了字符串论文 ...
分类:
其他好文 时间:
2016-03-24 14:41:38
阅读次数:
155
mul (UNITY_MATRIX_MVP,upPos):参数说明由第一个参数UNITY_MATRIX_MVP 矩阵去影响第二个参数upPos向量(或者矩阵)Shader "Sbin/vf35" {
SubShader {
pass{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "U...
分类:
其他好文 时间:
2016-03-23 22:26:01
阅读次数:
228
1、 Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in ZigZag-order. Given a matrix: return [1, 2, 5, 9, 6, 3,
分类:
其他好文 时间:
2016-03-22 19:09:21
阅读次数:
126
一、变形 1、旋转 rotate() 2、扭曲 skew() 3、缩放 scale() 4、位移 translate() 5、矩阵 matrix() 6、原点 transform-origin 二、动画 1、过渡属性 transition-property 2、过渡所需时间 transition-d
分类:
Web程序 时间:
2016-03-22 00:29:45
阅读次数:
313
Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2
分类:
其他好文 时间:
2016-03-21 07:06:40
阅读次数:
205