Java interpolate interpolate(float var1, float var2, float var3)

Here you can find the source of interpolate(float var1, float var2, float var3)

Description

interpolate

License

Apache License

Declaration

public static float interpolate(float var1, float var2, float var3) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static float interpolate(float var1, float var2, float var3) {
        return var1 + (var2 - var1) * var3;
    }//from   www .  j  ava2s .c om

    public static double interpolate(double var1, double var2, double var3) {
        return var1 + (var2 - var1) * var3;
    }
}

Related

  1. interpolate(float a, float b, float d)
  2. interpolate(float bottom, float top, float ratio)
  3. interpolate(float firstColor, float secondColor, float stage, float maxStages)
  4. interpolate(float s, float e, float t)
  5. interpolate(float t, float a, float b)
  6. interpolate(int a, int b, int theta, int reciprocal)
  7. interpolate(int i, int n, float u1, float u2, float du)
  8. interpolate(int start, int end, int n, int i)
  9. interpolate(int v1, int v2, float f)