- Author
Daniel Keep <daniel.keep@gmail.com>
- Version
1.0
- Licence
SSFS is designed to be an as-simple-as-possible filesystem for use with the
KULOG_K8581 (v.1.1) | |
|| // | |
||// | |
||\\ | |
|| \\ULOG HARDWARE TECHNOLOGIES | |
"Bringing 'fun' back into functionality" | |
Daniel Keep <daniel.keep@gmail.com>
1.0
SSFS is designed to be an as-simple-as-possible filesystem for use with the
package computer; | |
// Referenced classes of package computer: | |
// KeyMapping | |
public class AWTKeyMapping extends KeyMapping | |
{ | |
public AWTKeyMapping() |
package computer; | |
// Referenced classes of package computer: | |
// KeyMapping | |
public class AWTKeyMapping extends KeyMapping | |
{ | |
public AWTKeyMapping() |
Pick a 2n-element periodic sequence of complex numbers. This is isomorphic to a polynomial p in | |
C[x] / (x^2n - 1) | |
(x^2n = 1 = x^0, which encodes the 2n-periodicity). | |
Computing the 2n-element DFT of the original sequence is just evaluating p at the roots of unity | |
(\omega_{2n}^0, \omega_{2n}^1, ..., \omega_{2n}^{2n+1}). | |
Now, (x^2n - 1) = (x^n - 1) (x^n + 1). This implies that the given p mod (x^2n - 1) is uniquely | |
determined by the remainders p mod (x^n - 1) and p mod (x^n + 1) [via CRT]. That is, there is | |
an isomorphism between C[x] / (x^2n - 1) and (C[x] / (x^n - 1)) x (C[x] / (x^n + 1)). |
import numpy as np | |
from numpy.linalg import norm, solve | |
from scipy.spatial.distance import cdist | |
from sklearn.neighbors import kneighbors_graph | |
def phi(l, mu): | |
return (mu * (np.sqrt(l) - 1)**2) | |
//BASIC PIECES, 3 functions: unit, bind and the bind argument | |
//function unit(value) | |
//function bind(monad, function(value)) | |
//all three functions return a monad | |
/* The unit function is a constructor (returns a monad object) | |
* The magic is in the bind function | |
* | |
* There are AXIOMS: | |
* bind(unit(value)), f) === f(value) |
# setup python virtualenv and install nodeenv | |
virtualenv .python | |
. .python/bin/activate | |
pip install nodeenv | |
# setup nodeenv with the node of your choice, and upgrade npm to latest | |
nodeenv --node=0.10.37 --prebuilt .node | |
. .node/bin/activate | |
npm install -g npm |