TransportMaps.Maps.InverseParametricMapBase
¶
Module Contents¶
Classes¶
Defines the parametric map \(S[{\bf a}] := T[{\bf a}]^{\dagger}\) |
- class TransportMaps.Maps.InverseParametricMapBase.InverseParametricMap(**kwargs)[source]¶
Bases:
TransportMaps.Maps.InverseMapBase.InverseMap
,TransportMaps.Maps.ParametricMapBase.ParametricMap
Defines the parametric map \(S[{\bf a}] := T[{\bf a}]^{\dagger}\)
- property n_coeffs[source]¶
Returns the total number of coefficients.
- Returns:
- (
int
) – total number \(N\) of coefficients characterizing the map.
- (
- Raises:
NotImplementedError – needs to be implemented in subclasses
- property coeffs[source]¶
Returns the actual value of the coefficients.
- Returns:
(
ndarray
[\(N\)]) – coefficients.- Raises:
NotImplementedError – needs to be implemented in subclasses
- grad_a(x, *args, **kwargs)[source]¶
Compute \(\nabla_{\bf a} T[{\bf a}]({\bf x})\)
- Parameters:
- Returns:
(
ndarray
) – gradient- Raises:
NotImplementedError – needs to be implemented in subclasses