Arrays¶
These functions are applicable for general ND-arrays.
Inner products¶
|
Returns the inner product of two arrays by flattening it |
|
Returns the inner product Re(x^H, y) on two arrays by flattening them |
Norms¶
|
Returns the l1-norm of an array by flattening it |
|
Returns the l2-norm of an array by flattening it |
Returns the squared l2-norm of an array by flattening it |
Utilities¶
|
Returns the Hermitian transpose of an array |
Returns the unraveled index of the largest entry (by magnitude) in an n-d array |
|
|
Converts an nd array to a vector |
|
Raise an error if the shapes of the two arrays do not match. |