Package | Description |
---|---|
fr.cnes.sirius.patrius.covariance | |
fr.cnes.sirius.patrius.math.parameter |
Modifier and Type | Method and Description |
---|---|
ParameterDescriptor |
Covariance.getParameterDescriptor(int index)
Gets the parameter descriptors associated with the specified row/column of the covariance
matrix.
|
Modifier and Type | Method and Description |
---|---|
protected static List<ParameterDescriptor> |
AbstractOrbitalCovariance.convertParameterDescriptors(Collection<ParameterDescriptor> parameterDescriptors,
OrbitType destOrbitType,
PositionAngle destPositionAngle)
Returns an updated list of parameter descriptors where the orbital coordinates mapped to the
orbital coordinate descriptors were
all converted to the specified orbit type and position angle type.
|
List<ParameterDescriptor> |
AbstractOrbitalCovariance.getParameterDescriptors()
Gets the parameter descriptors associated with the covariance matrix.
|
List<ParameterDescriptor> |
Covariance.getParameterDescriptors()
Gets the parameter descriptors associated with the rows/columns of the covariance matrix.
|
Modifier and Type | Method and Description |
---|---|
double |
Covariance.getCorrelationCoefficient(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2)
Gets the correlation coefficient ρi,j associated with the specified parameter
descriptors, the first parameter* descriptor being mapped to the rows of the covariance
matrix (index "i"), while the second parameter descriptor is mapped to the columns of the
covariance matrix (index "j").
|
double |
Covariance.getStandardDeviation(ParameterDescriptor parameterDescriptor)
Gets the standard deviation σi = sqrt(Ci,i) associated
with the specified parameter descriptor.
|
double |
Covariance.getVariance(ParameterDescriptor parameterDescriptor)
Gets the variance σi = Ci,i associated with the
specified parameter descriptor.
|
protected int |
Covariance.indexOf(ParameterDescriptor parameterDescriptor)
Gets the index of a given parameter descriptor in the list stored internally.
|
Modifier and Type | Method and Description |
---|---|
protected static List<ParameterDescriptor> |
AbstractOrbitalCovariance.convertParameterDescriptors(Collection<ParameterDescriptor> parameterDescriptors,
OrbitType destOrbitType,
PositionAngle destPositionAngle)
Returns an updated list of parameter descriptors where the orbital coordinates mapped to the
orbital coordinate descriptors were
all converted to the specified orbit type and position angle type.
|
Covariance |
Covariance.getSubCovariance(Collection<ParameterDescriptor> selectedParameterDescriptors)
Extracts the parts of the covariance associated with the specified parameter descriptors.
|
Covariance |
Covariance.quadraticMultiplication(RealMatrix m,
Collection<ParameterDescriptor> newParameterDescriptors)
Gets the result of the quadratic multiplication M×C×MT, where C is
this covariance matrix and M is the provided matrix, and associates the computed matrix with
the specified parameter descriptors.
|
Covariance |
Covariance.quadraticMultiplication(RealMatrix m,
Collection<ParameterDescriptor> newParameterDescriptors,
boolean isTranspose)
Gets the result of the quadratic multiplication M×C×MT, where C is
this covariance matrix and M or MT is the provided matrix, and associates the
computed matrix with the specified parameter descriptors.
|
Constructor and Description |
---|
Covariance(SymmetricPositiveMatrix covarianceMatrixIn,
Collection<ParameterDescriptor> parameterDescriptorsIn)
Creates a new instance using the specified covariance matrix and parameter descriptors.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescriptor |
ParameterDescriptor.copy()
Performs a shallow copy of the parameter descriptor (the references to the field descriptors
and the mapped values are preserved).
|
ParameterDescriptor |
ParameterDescriptor.extractSubset(Collection<FieldDescriptor<?>> fieldDescriptors)
Returns a new ParameterDescriptor instance which is only associated with the
selected subset of field descriptors (the ones which are not currently associated with this
parameter descriptor are simply ignored; the field values remain unchanged).
|
ParameterDescriptor |
ParameterDescriptor.extractSubset(FieldDescriptor<?>... fieldDescriptors)
Returns a new ParameterDescriptor instance which is only associated with the
selected subset of field descriptors (the ones which are not currently associated with this
parameter descriptor are simply ignored; the field values remain unchanged).
|
ParameterDescriptor |
Parameter.getDescriptor()
Gets the parameter descriptor.
|
ParameterDescriptor |
ParameterDescriptor.intersectionWith(ParameterDescriptor descriptor)
Extracts the field descriptors associated with both this parameter descriptor and the one
provided, and which are mapped to the same value.
|
ParameterDescriptor |
ParameterDescriptor.mergeWith(ParameterDescriptor descriptor)
Merges this parameter descriptor with another one.
|
ParameterDescriptor |
ParameterDescriptor.setMutability(boolean enabled)
Enables or disables the mutability of this parameter descriptor.
|
Modifier and Type | Method and Description |
---|---|
static List<ParameterDescriptor> |
ParameterUtils.buildDefaultParameterDescriptors(int n)
Build a list of N parameter descriptors, each one associated with a single
PARAMETER_NAME descriptor mapped to the
string "p" + i, where i is the ith element (starting from 0). |
static List<ParameterDescriptor> |
ParameterUtils.buildDefaultParameterDescriptors(int n,
int startIndex)
Build a list of N parameter descriptors, each one associated with a single
PARAMETER_NAME descriptor mapped to the
string "p" + k, where k is the index of the ith element (starting from 0) shifted
by the specified start index. |
static List<ParameterDescriptor> |
ParameterUtils.buildOrbitalParameterDescriptors(OrbitType orbitType,
PositionAngle positionAngle)
Builds the parameter descriptors associated with a given orbit type and position angle type,
each representing one of the orbital coordinates.
|
static List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<Parameter> parameters)
Extracts the parameter descriptors from all the provided parameters and returns them into a
new list.
|
static List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<ParameterDescriptor> parameterDescriptors,
FieldDescriptor<?> fieldDescriptor)
Extracts the parameter descriptors associated with a given field descriptor.
|
static <T> List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
Predicate<T> fieldFilter)
Extracts the parameter descriptors associated with a given field descriptor if the mapped
value matches the specified predicate.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ParameterDescriptor.areEqual(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2,
Collection<FieldDescriptor<?>> fieldDescriptors)
Checks if two parameter descriptors are equal with respect to multiple field descriptors.
|
static boolean |
ParameterDescriptor.areEqual(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2,
FieldDescriptor<?>... fieldDescriptors)
Checks if two parameter descriptors are equal with respect to multiple field descriptors.
|
static boolean |
ParameterDescriptor.areEqual(ParameterDescriptor parameterDescriptor1,
ParameterDescriptor parameterDescriptor2,
FieldDescriptor<?> fieldDescriptor)
Checks if two parameter descriptors are equal with respect to a given field descriptor.
|
boolean |
ParameterDescriptor.equals(ParameterDescriptor parameterDescriptor,
Collection<FieldDescriptor<?>> fieldDescriptors)
Checks if this parameter descriptor is equal to another one with respect to multiple field
descriptors.
|
boolean |
ParameterDescriptor.equals(ParameterDescriptor parameterDescriptor,
FieldDescriptor<?>... fieldDescriptors)
Checks if this parameter descriptor is equal to another one with respect to multiple field
descriptors.
|
boolean |
ParameterDescriptor.equals(ParameterDescriptor parameterDescriptor,
FieldDescriptor<?> fieldDescriptor)
Checks if this parameter descriptor is equal to another one with respect to a given field
descriptor.
|
ParameterDescriptor |
ParameterDescriptor.intersectionWith(ParameterDescriptor descriptor)
Extracts the field descriptors associated with both this parameter descriptor and the one
provided, and which are mapped to the same value.
|
ParameterDescriptor |
ParameterDescriptor.mergeWith(ParameterDescriptor descriptor)
Merges this parameter descriptor with another one.
|
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
ParameterUtils.addFieldIfAbsentToParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to multiple parameter descriptors and maps it to the specified
value (existing values are overwritten when the field descriptor is already associated with a
parameter descriptor; parameter descriptors which are not currently mutable are ignored).
|
static <T> boolean |
ParameterUtils.addFieldToParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
T fieldValue)
Adds a given field descriptor to multiple parameter descriptors and maps it to the specified
value (existing values are overwritten when the field descriptor is already associated with a
parameter descriptor; parameter descriptors which are not currently mutable are ignored).
|
static String |
ParameterUtils.concatenateParameterDescriptorNames(Collection<ParameterDescriptor> descriptors,
String nameSeparator,
String fieldSeparator,
boolean reverseOrder)
Concatenates the names of multiple parameter descriptors.
|
static List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<ParameterDescriptor> parameterDescriptors,
FieldDescriptor<?> fieldDescriptor)
Extracts the parameter descriptors associated with a given field descriptor.
|
static <T> List<ParameterDescriptor> |
ParameterUtils.extractParameterDescriptors(Collection<ParameterDescriptor> descriptors,
FieldDescriptor<T> fieldDescriptor,
Predicate<T> fieldFilter)
Extracts the parameter descriptors associated with a given field descriptor if the mapped
value matches the specified predicate.
|
Constructor and Description |
---|
Parameter(ParameterDescriptor parameterDescriptor,
double parameterValue)
Creates a new instance using the provided parameter descriptor and value.
|
Copyright © 2023 CNES. All rights reserved.