Java interpolate interpolate(final float prev, final float curr, final float alpha)

Here you can find the source of interpolate(final float prev, final float curr, final float alpha)

Description

interpolate

License

Creative Commons License

Declaration

public static float interpolate(final float prev, final float curr, final float alpha) 

Method Source Code

//package com.java2s;
//License from project: Creative Commons License 

public class Main {
    public static float interpolate(final float prev, final float curr, final float alpha) {
        return (prev * (1 - alpha)) + (curr * alpha);
    }//from  w ww.  j  a  va2 s. c  o  m
}

Related

  1. interpolate(double p0, double p1, double p2, double p3, double t)
  2. interpolate(double x, double x1, double y1, double x2, double y2)
  3. interpolate(double x1, double x2, double inbetween)
  4. interpolate(double x1, double x2, float zeroToOne)
  5. interpolate(final double min, final double max, final int currentClass, final int numOfClasses)
  6. interpolate(final int n, final int lastN, final float interpolation)
  7. interpolate(final int x1, final double y1, final int x2, final double y2, final double... f)
  8. interpolate(float a, float b, float d)
  9. interpolate(float bottom, float top, float ratio)