Package com.polytechnik.freemoney
Class CommonlyUsedMomentsLegendreShifted
java.lang.Object
com.polytechnik.freemoney.CommonlyUsedMoments
com.polytechnik.freemoney.CommonlyUsedMomentsLegendreShifted
- All Implemented Interfaces:
CommonBasisOperations
An integrator with interal state
WIntegratorLegendreShifted
to calculate commonly used moments in shifted Legendre basis.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe basis.double[]
getDFMomentsFromF
(double[] Fmoments) Obtain \(\left<\frac{dF}{dt}Q_k\right>\) moments from \(\left<FQ_k\right>\) moments.double[]
getdtMoments
(int nmoms) An adapter toWIntegratorLegendreShifted.getDtMoments(int)
.double[]
getEDPsi
(double[] psi) Calculate \( \psi/2+x*d\psi/dx \), an adapter toWIntegratorLegendreShifted.getEDPsi(double[])
.getEmptyWIntegrator
(int ntm, double atau, int nobservables) double[]
getPolynomialWIntegratedDt
(double[] polynomial) Calculate \( \frac{1}{x}\int_0^x P(x)dx \), an adapter toWIntegratorLegendreShifted.getPolynomialWIntegratedDt(double[])
.Methods inherited from class com.polytechnik.freemoney.CommonlyUsedMoments
addIHObservationSecondarySampling, addObservationNoBasisShift, getAdPMoments, getdAMoments, getdIHdtMoments, getdPIHdtMoments, getdpMoments, getdtMoments, getdVMoments, getP2dVMoments, getP3dVMoments, getPdAMoments, getPdIHdtMoments, getPdVMoments, getPLast_withoutPOffset, getPOffset, getTdAMoments, getTdpMoments, getTdtMoments, getTdVMoments, getTotalA, getTotalVolume, getTP2dVMoments, getTP3dVMoments, getTPdVMoments, getVdPMoments, getVdtMoments, setInitIHForSecondarySampling, updateBasisToNewTimeReference, updateWithSingleObservation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.polytechnik.freemoney.CommonBasisOperations
getFMomentsFromDF, getPsi2WIntegratedDt
-
Constructor Details
-
CommonlyUsedMomentsLegendreShifted
public CommonlyUsedMomentsLegendreShifted(int n, double atau)
-
-
Method Details
-
getdtMoments
public double[] getdtMoments(int nmoms) An adapter toWIntegratorLegendreShifted.getDtMoments(int)
. -
getEDPsi
public double[] getEDPsi(double[] psi) Calculate \( \psi/2+x*d\psi/dx \), an adapter toWIntegratorLegendreShifted.getEDPsi(double[])
. -
getPolynomialWIntegratedDt
public double[] getPolynomialWIntegratedDt(double[] polynomial) Calculate \( \frac{1}{x}\int_0^x P(x)dx \), an adapter toWIntegratorLegendreShifted.getPolynomialWIntegratedDt(double[])
. -
getABasis
Description copied from interface:CommonBasisOperations
The basis. -
getEmptyWIntegrator
-
getDFMomentsFromF
public double[] getDFMomentsFromF(double[] Fmoments) Description copied from interface:CommonBasisOperations
Obtain \(\left<\frac{dF}{dt}Q_k\right>\) moments from \(\left<FQ_k\right>\) moments.- See Also:
-