摘要:
Color Matching Function 的确立 人眼的实质不是光谱仪而是色度计,对颜色的感知是由三种锥细胞的感受所合成的。人视觉谱中每个波长的光对视锥细胞的刺激能力记为L(lambda),M(lambda),S(lambda),分别对应LMS三种视锥细胞。 这样,我们被给定一个光谱 P(la 阅读全文
摘要:
Upd: 写了一点资料. https://pan.baidu.com/s/1GyzysqQUVuUyI8Bsqs9O g cpp include include include include include include include include include typedef uint6 阅读全文
摘要:
求平方根下取整,对于gcc type __uint128_t。 ~45.5ns/op on i7 7700k@4.35G,即typical include include include typedef __uint128_t u128; typedef unsigned long long u64 阅读全文
摘要:
```cpp /// A heavily optimized sieve include include include include typedef unsigned int u32; typedef unsigned long long ull; const char pr60[]={2,3, 阅读全文
摘要:
```python
import random
import os
import sys
import re class _is: def __init__(self,reg): self.cr=re.compile(reg) def __call__(self,string): return self.cr.fullmatch(string)!=... 阅读全文