Skip to content

Instantly share code, notes, and snippets.

@rawsh
Created May 25, 2023 19:50
Show Gist options
  • Save rawsh/eea415a0c44f95a8e242d7e2fee9c1f0 to your computer and use it in GitHub Desktop.
Save rawsh/eea415a0c44f95a8e242d7e2fee9c1f0 to your computer and use it in GitHub Desktop.
Definition of a norm\n• Assigns a positive number to each non-zero vector\n• Is only zero if the vector is an all-zero vector\n• Think of it as a function\nNorm properties\n• Homogeneity: ∥αx∥ = |α|∥x∥, for x ∈ RN and α ∈ R\n• Subadditivity: ∥x + y∥ ≤ ∥x∥ + ∥y∥, for x, y ∈ RN\n• Separability: x = 0 if and only if ∥x∥ = 0
{"indices": [100,
1000,
1010,
1012,
1014,
1054,
1060,
1061,
1155,
1596,
2035,
2069,
2100,
2169,
2193,
2228,
2512,
2671,
2726,
2957,
3044,
3115,
3200,
3235,
3399,
3468,
3574,
3616,
3671,
3853,
3893,
4137,
4215,
4225,
4351,
4606,
4635,
4695,
4706,
4847,
4942,
4972,
4997,
5074,
5144,
5146,
5400,
5529,
5584,
5597,
5708,
5717,
5735,
6060,
6210,
6384,
6459,
6541,
6747,
6754,
6796,
6914,
7010,
7305,
7399,
7530,
7648,
7730,
8329,
8360,
8522,
8553,
8775,
8785,
9207,
9262,
9375,
9802,
9894,
9945,
9958,
10629,
10763,
10857,
10988,
11208,
12075,
12140,
12874,
12955,
13373,
13835,
14869,
15182,
16109,
16648,
17606,
17978,
18001,
18422,
18605,
19019,
19453,
19802,
20175,
21770,
23194,
23435,
23911,
24004,
24022,
24028,
24970,
26743,
29300],
"values": [0.0476374812,
0.00228299177,
0.125047117,
0.173771322,
0.252762586,
1.04172397,
1.12456214,
0.840407252,
0.712692559,
0.698068798,
0.885124683,
0.496560127,
0.407460541,
0.18258661,
0.643295169,
0.437651,
1.28546357,
0.194073439,
0.230534539,
0.293067127,
0.303576648,
0.217896134,
0.540607572,
0.0319737941,
0.419978976,
0.114682451,
0.187993184,
0.91795063,
1.19120777,
0.426880598,
1.37720108,
1.08289444,
0.903396547,
0.519450307,
0.383852273,
0.0201621726,
0.231476322,
0.01390984,
0.0973173231,
0.700102508,
0.84365207,
0.910321295,
0.480725706,
0.246446908,
1.10727525,
0.127582818,
1.2609818,
0.257092088,
0.460895956,
0.51612252,
0.0583492182,
1.64594865,
0.0567539334,
0.103278242,
1.18161166,
0.428830206,
0.157590479,
1.00248754,
0.463514,
0.154471636,
0.176963702,
1.03728843,
0.28490755,
0.413032293,
0.131484911,
0.165025488,
0.0732715279,
0.961160839,
0.0282368474,
0.120763391,
0.829931796,
0.991189957,
0.858490348,
1.1980685,
1.44002569,
0.0660370737,
0.0622918382,
0.0291761458,
0.472121,
0.264607608,
0.0220324602,
0.0897373408,
0.000534510764,
0.127507403,
0.265461802,
0.129339024,
0.251706332,
0.0355613418,
0.635235369,
0.0223904811,
2.82991433,
0.0728844181,
0.053913869,
0.159274295,
0.163338915,
0.206050664,
0.995626688,
0.276831716,
0.401943505,
0.224189609,
0.0164744686,
0.991960883,
0.0692834407,
1.25071144,
1.1535573,
0.00987194665,
1.27108705,
0.198169842,
0.587265253,
1.58655763,
0.814999819,
0.0547536276,
0.166037396,
0.0134058688,
1.71078253]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment