transform 四种转换 translate 位置scale 缩放rotate 旋转skew 倾斜 以上四种转换方式是比较特殊的,其实他们都是由matrix 矩阵转换来; animation的五种状态 动画速度这些曲线称之为贝塞尔曲线CSS88 这是一个css有关的网站;ease 由快到慢 最后 ...
分类:
其他好文 时间:
2018-09-18 11:13:57
阅读次数:
186
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, which ...
分类:
其他好文 时间:
2018-09-18 00:25:29
阅读次数:
178
E. Vasya and Magic Matrix http://codeforces.com/contest/1042/problem/E 题意: 一个n*m的矩阵,每个位置有一个元素,给定一个起点,每次随机往一个小于这个点位置走,走过去的值为欧几里得距离的平方,求期望的值。 分析: 逆推期望。 ...
分类:
其他好文 时间:
2018-09-17 21:28:15
阅读次数:
237
一、题目 1、审题 2、分析 给一个正整数 n,生成 nXn 的矩阵数组,其中数组值为从 1 开始的旋转增加的数值。 二、解答 1、思路: 与 54 题思路类似。 ①、从左向右、右向左时需要判断 top 是否小与 bottom; ②、从上到下、下到上时需要判断 left 是否 小与 right。 注 ...
分类:
其他好文 时间:
2018-09-17 11:47:23
阅读次数:
116
题目链接:http://poj.org/problem?id=3233 Matrix Power Series Time Limit: 3000MS Memory Limit: 131072K Total Submissions: 28105 Accepted: 11461 Description ...
分类:
其他好文 时间:
2018-09-15 16:33:28
阅读次数:
306
用Binary search 先搜索row 再搜索col ...
分类:
其他好文 时间:
2018-09-15 13:10:51
阅读次数:
163
```py import numpy as np import matplotlib.pyplot as plt def loadSimpData(): dataMat = np.matrix([[1., 2.1], [2., 1.1], [1.3, 1.], [1., 1.], [2., 1.]] ...
分类:
编程语言 时间:
2018-09-14 23:08:06
阅读次数:
325
package matrix import ( "math" "github.com/astaxie/beego" ) type Matrix4 struct { Elements [16]float64 `json:"elements"` } type SQ struct { //矩阵结构 M,N... ...
分类:
其他好文 时间:
2018-09-14 21:36:09
阅读次数:
169
Description We are supposed to make a budget proposal for this multi-site competition. The budget proposal is a matrix where the rows represent differ ...
分类:
其他好文 时间:
2018-09-14 16:02:11
阅读次数:
155
Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. <! more Analysis 一道矩阵背景下的简单sumdiv,同样是两种算法。 等比数列 an ...
分类:
其他好文 时间:
2018-09-14 01:07:02
阅读次数:
256