us.ihmc.utilities.math.alphaToAlpha
Class StretchedSlowAtStartAlphaToAlphaFunction

java.lang.Object
  extended by us.ihmc.utilities.math.alphaToAlpha.StretchedSlowAtStartAlphaToAlphaFunction
All Implemented Interfaces:
AlphaToAlphaFunction

public class StretchedSlowAtStartAlphaToAlphaFunction
extends java.lang.Object
implements AlphaToAlphaFunction

StretchedSlowAtStartAlphaToAlphaFunction

AlphaToAlphaFunction morphing that ensures: a) f(0) = 0, f(1) = 1, b) f'(0) = 0, f'(1) = derivativeAtEnd c) f''(1) = 0

Copyright (c) 2007

Company: IHMC

Version:
1.0
Author:
IHMC LearningLocomotion Team

Constructor Summary
StretchedSlowAtStartAlphaToAlphaFunction(double derivativeAtEnd)
          Create a StretchedSlowAtStartAlphaToAlphaFunction given nSwing points and nBody points.
 
Method Summary
 double getAlphaPrime(double alpha)
           
 double getDerivativeAtAlpha(double alpha)
           
 double getMaxAlpha()
           
 double getSecondDerivativeAtAlpha(double alpha)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StretchedSlowAtStartAlphaToAlphaFunction

public StretchedSlowAtStartAlphaToAlphaFunction(double derivativeAtEnd)
Create a StretchedSlowAtStartAlphaToAlphaFunction given nSwing points and nBody points.

Parameters:
derivativeAtEnd - The slope of d-alphaPrime
Method Detail

getAlphaPrime

public double getAlphaPrime(double alpha)
Specified by:
getAlphaPrime in interface AlphaToAlphaFunction

getMaxAlpha

public double getMaxAlpha()
Specified by:
getMaxAlpha in interface AlphaToAlphaFunction

main

public static void main(java.lang.String[] args)

getDerivativeAtAlpha

public double getDerivativeAtAlpha(double alpha)
Specified by:
getDerivativeAtAlpha in interface AlphaToAlphaFunction

getSecondDerivativeAtAlpha

public double getSecondDerivativeAtAlpha(double alpha)
Specified by:
getSecondDerivativeAtAlpha in interface AlphaToAlphaFunction