MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / summer

Function summer

source/matplot/util/colors.cpp:2193–2271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2191 return result;
2192 }
2193 std::vector<std::vector<double>> summer(size_t n) {
2194 static std::vector<std::vector<double>> map = {
2195 {0, 0.5, 0.4},
2196 {0.015873, 0.507937, 0.4},
2197 {0.031746, 0.515873, 0.4},
2198 {0.047619, 0.52381, 0.4},
2199 {0.0634921, 0.531746, 0.4},
2200 {0.0793651, 0.539683, 0.4},
2201 {0.0952381, 0.547619, 0.4},
2202 {0.111111, 0.555556, 0.4},
2203 {0.126984, 0.563492, 0.4},
2204 {0.142857, 0.571429, 0.4},
2205 {0.15873, 0.579365, 0.4},
2206 {0.174603, 0.587302, 0.4},
2207 {0.190476, 0.595238, 0.4},
2208 {0.206349, 0.603175, 0.4},
2209 {0.222222, 0.611111, 0.4},
2210 {0.238095, 0.619048, 0.4},
2211 {0.253968, 0.626984, 0.4},
2212 {0.269841, 0.634921, 0.4},
2213 {0.285714, 0.642857, 0.4},
2214 {0.301587, 0.650794, 0.4},
2215 {0.31746, 0.65873, 0.4},
2216 {0.333333, 0.666667, 0.4},
2217 {0.349206, 0.674603, 0.4},
2218 {0.365079, 0.68254, 0.4},
2219 {0.380952, 0.690476, 0.4},
2220 {0.396825, 0.698413, 0.4},
2221 {0.412698, 0.706349, 0.4},
2222 {0.428571, 0.714286, 0.4},
2223 {0.444444, 0.722222, 0.4},
2224 {0.460317, 0.730159, 0.4},
2225 {0.47619, 0.738095, 0.4},
2226 {0.492063, 0.746032, 0.4},
2227 {0.507937, 0.753968, 0.4},
2228 {0.52381, 0.761905, 0.4},
2229 {0.539683, 0.769841, 0.4},
2230 {0.555556, 0.777778, 0.4},
2231 {0.571429, 0.785714, 0.4},
2232 {0.587302, 0.793651, 0.4},
2233 {0.603175, 0.801587, 0.4},
2234 {0.619048, 0.809524, 0.4},
2235 {0.634921, 0.81746, 0.4},
2236 {0.650794, 0.825397, 0.4},
2237 {0.666667, 0.833333, 0.4},
2238 {0.68254, 0.84127, 0.4},
2239 {0.698413, 0.849206, 0.4},
2240 {0.714286, 0.857143, 0.4},
2241 {0.730159, 0.865079, 0.4},
2242 {0.746032, 0.873016, 0.4},
2243 {0.761905, 0.880952, 0.4},
2244 {0.777778, 0.888889, 0.4},
2245 {0.793651, 0.896825, 0.4},
2246 {0.809524, 0.904762, 0.4},
2247 {0.825397, 0.912698, 0.4},
2248 {0.84127, 0.920635, 0.4},
2249 {0.857143, 0.928571, 0.4},
2250 {0.873016, 0.936508, 0.4},

Callers 3

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

colormap_interpolationFunction · 0.85

Tested by

no test coverage detected