ezyrb.reduction.pod.POD._truncation
- POD._truncation(X, s)[source]
Return the number of modes to select according to the rank parameter. See POD.__init__ for further info.
- Parameters:
X (numpy.ndarray) – the matrix to decompose.
s (numpy.ndarray) – the singular values of X.
- Returns:
the number of modes
- Return type: