TransportMaps.Maps.DeprecatedConditionallyLinearMapBase
¶
Module Contents¶
Classes¶
Map \(T:\mathbb{R}^{d_x}\times\mathbb{R}^{d_a}\rightarrow\mathbb{R}^{d_y}\) defined by \(T({\bf x};{\bf a}) = {\bf c}({\bf a}) + {\bf T}({\bf a}) {\bf x}\) |
- class TransportMaps.Maps.DeprecatedConditionallyLinearMapBase.ConditionallyLinearMap(c, T, coeffs=None)[source]¶
Bases:
TransportMaps.Maps.MapBase.Map
Map \(T:\mathbb{R}^{d_x}\times\mathbb{R}^{d_a}\rightarrow\mathbb{R}^{d_y}\) defined by \(T({\bf x};{\bf a}) = {\bf c}({\bf a}) + {\bf T}({\bf a}) {\bf x}\)
- Parameters:
c (
Map
) – map \({\bf c}:\mathbb{R}^{d_a}\rightarrow\mathbb{R}^{d_y}\)T (
Map
) – map \({\bf T}:\mathbb{R}^{d_a}\rightarrow\mathbb{R}^{d_y\times d_x}\)coeffs (
ndarray
) – fixing the coefficients \({\bf a}\) defining \({\bf c}({\bf a})\) and \({\bf T}({\bf a})\).
- property coeffs[source]¶
Returns the actual value of the coefficients.
- Returns:
(
ndarray
[\(N\)]) – coefficients.
- evaluate(x, precomp=None, idxs_slice=slice(None))[source]¶
Evaluate the map \(T\) at the points \({\bf x}\).
- Parameters:
- Returns:
(
ndarray
[\(m,d_y\)]) – transformed points
- grad_x(x, precomp=None, idxs_slice=slice(None))[source]¶
[Abstract] Evaluate the gradient \(\nabla_{\bf x}T\) at the points \({\bf x} \in \mathbb{R}^{m \times d_x}\).
- Parameters:
- Returns:
(
ndarray
[\(m,d_y,d_x\)]) – transformed points- Raises:
NotImplementedError – to be implemented in sub-classes