Codota Logo
NumericalDifferentiator$MatrixJacobian.differentiate
Code IndexAdd Codota to your IDE (free)

How to use
differentiate
method
in
gov.sandia.cognition.math.matrix.NumericalDifferentiator$MatrixJacobian

Best Java code snippets using gov.sandia.cognition.math.matrix.NumericalDifferentiator$MatrixJacobian.differentiate (Showing top 12 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: algorithmfoundry/Foundry

public Matrix differentiate(
  Vector input )
{
  return MatrixJacobian.differentiate(
    input, this.getInternalFunction(), this.getDelta() );
}

origin: algorithmfoundry/Foundry

public Matrix differentiate(
  Vector input )
{
  return MatrixJacobian.differentiate(
    input, this.getInternalFunction(), this.getDelta() );
}

origin: gov.sandia.foundry/gov-sandia-cognition-common-core

/**
 * Static access to the numerical differentiation procedure.
 * @param input
 * Input about which to approximate the derivative.
 * @param f
 * Function of which to approximate the derivative.
 * @return
 * Approximated Jacobian, of the same dimension as input
 */
public static Matrix differentiate(
  Vector input,
  Evaluator<? super Vector,Vector> f )
{
  return MatrixJacobian.differentiate( input, f, DEFAULT_DELTA );
}

origin: algorithmfoundry/Foundry

/**
 * Static access to the numerical differentiation procedure.
 * @param input
 * Input about which to approximate the derivative.
 * @param f
 * Function of which to approximate the derivative.
 * @return
 * Approximated Jacobian, of the same dimension as input
 */
public static Matrix differentiate(
  Vector input,
  Evaluator<? super Vector,Vector> f )
{
  return MatrixJacobian.differentiate( input, f, DEFAULT_DELTA );
}

origin: algorithmfoundry/Foundry

/**
 * Static access to the numerical differentiation procedure.
 * @param input
 * Input about which to approximate the derivative.
 * @param f
 * Function of which to approximate the derivative.
 * @return
 * Approximated Jacobian, of the same dimension as input
 */
public static Matrix differentiate(
  Vector input,
  Evaluator<? super Vector,Vector> f )
{
  return MatrixJacobian.differentiate( input, f, DEFAULT_DELTA );
}

origin: gov.sandia.foundry/gov-sandia-cognition-common-core

public Matrix differentiate(
  Vector input )
{
  return MatrixJacobian.differentiate(
    input, this.getInternalFunction(), this.getDelta() );
}

origin: algorithmfoundry/Foundry

@Override
public void predict(
  MultivariateGaussian belief)
{
  // The only difference between the KF and EKF is that
  // in EKF we have to estimate the Jacobian (A), whereas the KF just
  // accesses the Jacobian directly.
  Vector x = belief.getMean();
  Vector xpred = this.getMotionModel().evaluate(
    this.currentInput, x );
  Matrix A = NumericalDifferentiator.MatrixJacobian.differentiate(
    x, new ModelJacobianEvaluator() );
  Matrix P = this.computePredictionCovariance(A, belief.getCovariance());
  // Load the updated belief
  belief.setMean( xpred );
  belief.setCovariance( P );
}
origin: gov.sandia.foundry/gov-sandia-cognition-learning-core

@Override
public void predict(
  MultivariateGaussian belief)
{
  // The only difference between the KF and EKF is that
  // in EKF we have to estimate the Jacobian (A), whereas the KF just
  // accesses the Jacobian directly.
  Vector x = belief.getMean();
  Vector xpred = this.getMotionModel().evaluate(
    this.currentInput, x );
  Matrix A = NumericalDifferentiator.MatrixJacobian.differentiate(
    x, new ModelJacobianEvaluator() );
  Matrix P = this.computePredictionCovariance(A, belief.getCovariance());
  // Load the updated belief
  belief.setMean( xpred );
  belief.setCovariance( P );
}
origin: algorithmfoundry/Foundry

@Override
public void measure(
  MultivariateGaussian belief,
  Vector observation)
{
  // Figure out what the model says the observation should be
  Vector xpred = belief.getMean();
  Vector ypred = this.observationModel.evaluate( xpred );
  // The only difference between the EKF and the KF is that we have
  // to estimate the output-Jacobian, the derivative of the estimated
  // output with respected to the current estimated state.
  Matrix C = NumericalDifferentiator.MatrixJacobian.differentiate(
    xpred, this.observationModel );
  // Update step... compute the difference between the observation
  // and what the model says.
  // Then compute the Kalman gain, which essentially indicates
  // how much to believe the observation, and how much to believe model
  Vector innovation = observation.minus( ypred );
  this.computeMeasurementBelief(belief, innovation, C);
}
origin: algorithmfoundry/Foundry

@Override
public void measure(
  MultivariateGaussian belief,
  Vector observation)
{
  // Figure out what the model says the observation should be
  Vector xpred = belief.getMean();
  Vector ypred = this.observationModel.evaluate( xpred );
  // The only difference between the EKF and the KF is that we have
  // to estimate the output-Jacobian, the derivative of the estimated
  // output with respected to the current estimated state.
  Matrix C = NumericalDifferentiator.MatrixJacobian.differentiate(
    xpred, this.observationModel );
  // Update step... compute the difference between the observation
  // and what the model says.
  // Then compute the Kalman gain, which essentially indicates
  // how much to believe the observation, and how much to believe model
  Vector innovation = observation.minus( ypred );
  this.computeMeasurementBelief(belief, innovation, C);
}
origin: gov.sandia.foundry/gov-sandia-cognition-learning-core

@Override
public void measure(
  MultivariateGaussian belief,
  Vector observation)
{
  // Figure out what the model says the observation should be
  Vector xpred = belief.getMean();
  Vector ypred = this.observationModel.evaluate( xpred );
  // The only difference between the EKF and the KF is that we have
  // to estimate the output-Jacobian, the derivative of the estimated
  // output with respected to the current estimated state.
  Matrix C = NumericalDifferentiator.MatrixJacobian.differentiate(
    xpred, this.observationModel );
  // Update step... compute the difference between the observation
  // and what the model says.
  // Then compute the Kalman gain, which essentially indicates
  // how much to believe the observation, and how much to believe model
  Vector innovation = observation.minus( ypred );
  this.computeMeasurementBelief(belief, innovation, C);
}
origin: algorithmfoundry/Foundry

@Override
public void predict(
  MultivariateGaussian belief)
{
  // The only difference between the KF and EKF is that
  // in EKF we have to estimate the Jacobian (A), whereas the KF just
  // accesses the Jacobian directly.
  Vector x = belief.getMean();
  Vector xpred = this.getMotionModel().evaluate(
    this.currentInput, x );
  Matrix A = NumericalDifferentiator.MatrixJacobian.differentiate(
    x, new ModelJacobianEvaluator() );
  Matrix P = this.computePredictionCovariance(A, belief.getCovariance());
  // Load the updated belief
  belief.setMean( xpred );
  belief.setCovariance( P );
}
gov.sandia.cognition.math.matrixNumericalDifferentiator$MatrixJacobiandifferentiate

Javadoc

Static access to the numerical differentiation procedure.

Popular methods of NumericalDifferentiator$MatrixJacobian

  • getDelta
  • getInternalFunction

Popular in Java

  • Updating database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • getContentResolver (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now