Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

VectorDerivativeFactor

Open In Colab

Overview

VectorDerivativeFactor is a unary factor that enforces a vector measurement of the derivative of a vector-valued basis function at a given point.

Key Functionality / API

  • VectorDerivativeFactor(key, z, model, M, N, x) constrains f′(x)\mathbf{f}'(x).

  • Optional interval parameters a, b scale the basis domain.

C++ Usage Example

gtsam::Vector z{{0.1, -0.1}};
auto model = gtsam::noiseModel::Isotropic::Sigma(2, 0.05);
size_t M = 2, N = 6;
double x = 0.0;
gtsam::VectorDerivativeFactor<gtsam::Chebyshev2> factor(key, z, model, M, N, x);

Python Example

VectorDerivativeFactor wrappers:
   VectorDerivativeFactorChebyshev1Basis
   VectorDerivativeFactorChebyshev2
   VectorDerivativeFactorChebyshev2Basis
   VectorDerivativeFactorFourierBasis
factor:
   keys = { c0 }
isotropic dim=2 sigma=0.05
FunctorizedFactor(c0)
  measurement: [
	0.1;
	-0.1
]
  noise model sigmas: 0.05 0.05