projects/nnum/decomposition/base.py
def e(i, d):
    """Create the i-th axis of the canonical base of the R^d.
    """
    _e = np.zeros((d, 1))
    _e[i, 0] = 1
    return _e
Create the i-th axis of the canonical base of the R^d.
    
Create the i-th axis of the canonical base of the R^d.
Create the i - th axis of the canonical base of the R^d .
def e(i, d):
    _e = np.zeros((d, 1))
    _e[i, 0] = 1
    return _e
def e ( i , d ) : _e = np . zeros ( ( d , 1 ) ) _e [ i , 0 ] = 1 return _e
Create the i-th axis of the canonical base of the R^d.
Create the i - th axis of the canonical base of the R^d .
"""Create the i-th axis of the canonical base of the R^d.
    """
i
d