/* (non-Javadoc)
@see org.joml.Vector4fc#lerp(org.joml.Vector4fc, float, org.joml.Vector4f)
424291
public Vector4f lerp(Vector4fc other, float t, Vector4f dest) {
        dest.x = x + (other.x() - x) * t;
        dest.y = y + (other.y() - y) * t;
        dest.z = z + (other.z() - z) * t;
        dest.w = w + (other.w() - w) * t;
        return dest;
    }
282917
void rfftf(final double a[], final int offa) {
		if (n == 1)
			return;
		int l1, l2, na, kh, nf, ip, iw, ido, idl1;

		final int twon = 2 * n;
		nf = (int) wtable_r[1 + twon];
		na = 1;
		l2 = n;
		iw = twon - 1;
		for (int k1 = 1; k1 <= nf; ++k1) {
			kh = nf - k1;
			ip = (int) wtable_r[kh + 2 + twon];
			l1 = l2 / ip;
			ido = n / l2;
			idl1 = ido * l1;
			iw -= (ip - 1) * ido;
			na = 1 - na;
			switch (ip) {
				case 2:
					if (na == 0) {
						radf2(ido, l1, a, offa, ch, 0, iw);
					} else {
						radf2(ido, l1, ch, 0, a, offa, iw);
					}
					break;
				case 3:
					if (na == 0) {
						radf3(ido, l1, a, offa, ch, 0, iw);
					} else {
						radf3(ido, l1, ch, 0, a, offa, iw);
					}
					break;
				case 4:
					if (na == 0) {
						radf4(ido, l1, a, offa, ch, 0, iw);
					} else {
						radf4(ido, l1, ch, 0, a, offa, iw);
					}
					break;
				case 5:
					if (na == 0) {
						radf5(ido, l1, a, offa, ch, 0, iw);
					} else {
						radf5(ido, l1, ch, 0, a, offa, iw);
					}
					break;
				default:
					if (ido == 1)
						na = 1 - na;
					if (na == 0) {
						radfg(ido, ip, l1, idl1, a, offa, ch, 0, iw);
						na = 1;
					} else {
						radfg(ido, ip, l1, idl1, ch, 0, a, offa, iw);
						na = 0;
					}
					break;
			}
			l2 = l1;
		}
		if (na == 1)
			return;
		System.arraycopy(ch, 0, a, offa, n);
	}
1279958
@Pure
	public static Point2d L4_EL2(double x, double y) {
		final Point2d ntfLambdaPhi = NTFLambert_NTFLambdaPhi(x, y,
				LAMBERT_4_N,
				LAMBERT_4_C,
				LAMBERT_4_XS,
				LAMBERT_4_YS);
		return NTFLambdaPhi_NTFLambert(
				ntfLambdaPhi.getX(), ntfLambdaPhi.getY(),
				LAMBERT_2E_N,
				LAMBERT_2E_C,
				LAMBERT_2E_XS,
				LAMBERT_2E_YS);
	}
901013
static void drop4(FileDescriptor fd, int group, int interf, int source)
        throws IOException
    {
        joinOrDrop4(false, fd, group, interf, source);
    }
1374652
public synchronized PacketBuilder withFloat(final float f)
    {
        checkBuilt();
        try
        {
            dataOutputStream.writeFloat(f);
        }
        catch (final IOException e)
        {
            logger.error("Unable to add float: {} : {}", e.getClass(), e.getMessage());
        }
        return this;
    }
755663
public static void lsp_prev_update(
	  float lsp_ele[],             /* input : LSP vectors           */
	  float freq_prev[][]     /* input/output: previous LSP vectors  */
	)
	{
	  int k;

	  for ( k = LD8KConstants.MA_NP-1 ; k > 0 ; k-- )
	    Util.copy(freq_prev[k-1], freq_prev[k], LD8KConstants.M);

	  Util. copy(lsp_ele, freq_prev[0], LD8KConstants.M);
	  return;
	}
715268
public static <T, E extends Exception> FloatList mapToFloat(final Collection<? extends T> c, final int fromIndex, final int toIndex,
            final Try.ToFloatFunction<? super T, E> func) throws E {
        checkFromToIndex(fromIndex, toIndex, size(c));
        N.checkArgNotNull(func);

        if (N.isNullOrEmpty(c) && fromIndex == 0 && toIndex == 0) {
            return new FloatList();
        }

        final FloatList result = new FloatList(toIndex - fromIndex);

        if (c instanceof List && c instanceof RandomAccess) {
            final List<T> list = (List<T>) c;

            for (int i = fromIndex; i < toIndex; i++) {
                result.add(func.applyAsFloat(list.get(i)));
            }
        } else {
            int idx = 0;

            for (T e : c) {
                if (idx++ < fromIndex) {
                    continue;
                }

                result.add(func.applyAsFloat(e));

                if (idx >= toIndex) {
                    break;
                }
            }
        }

        return result;
    }
1160101
public void setLeftRight(Expression l, Expression r)
  {
    m_left = l;
    m_right = r;
    l.exprSetParent(this);
    r.exprSetParent(this);
  }
135098
@Pure
	public static Point2d L1_L4(double x, double y) {
		final Point2d ntfLambdaPhi = NTFLambert_NTFLambdaPhi(x, y,
				LAMBERT_1_N,
				LAMBERT_1_C,
				LAMBERT_1_XS,
				LAMBERT_1_YS);
		return NTFLambdaPhi_NTFLambert(
				ntfLambdaPhi.getX(), ntfLambdaPhi.getY(),
				LAMBERT_4_N,
				LAMBERT_4_C,
				LAMBERT_4_XS,
				LAMBERT_4_YS);
	}
1118276
@Pure
	public static Point2d L3_L4(double x, double y) {
		final Point2d ntfLambdaPhi = NTFLambert_NTFLambdaPhi(x, y,
				LAMBERT_3_N,
				LAMBERT_3_C,
				LAMBERT_3_XS,
				LAMBERT_3_YS);
		return NTFLambdaPhi_NTFLambert(
				ntfLambdaPhi.getX(), ntfLambdaPhi.getY(),
				LAMBERT_4_N,
				LAMBERT_4_C,
				LAMBERT_4_XS,
				LAMBERT_4_YS);
	}
1033378
public Vector4f set(Vector4fc v) {
        if (v instanceof Vector4f) {
            MemUtil.INSTANCE.copy((Vector4f) v, this);
        } else {
            this.x = v.x();
            this.y = v.y();
            this.z = v.z();
            this.w = v.w();
        }
        return this;
    }
476306
public Matrix4x3d lerp(Matrix4x3dc other, double t, Matrix4x3d dest) {
        dest.m00 = m00 + (other.m00() - m00) * t;
        dest.m01 = m01 + (other.m01() - m01) * t;
        dest.m02 = m02 + (other.m02() - m02) * t;
        dest.m10 = m10 + (other.m10() - m10) * t;
        dest.m11 = m11 + (other.m11() - m11) * t;
        dest.m12 = m12 + (other.m12() - m12) * t;
        dest.m20 = m20 + (other.m20() - m20) * t;
        dest.m21 = m21 + (other.m21() - m21) * t;
        dest.m22 = m22 + (other.m22() - m22) * t;
        dest.m30 = m30 + (other.m30() - m30) * t;
        dest.m31 = m31 + (other.m31() - m31) * t;
        dest.m32 = m32 + (other.m32() - m32) * t;
        dest.properties = properties & other.properties();
        return dest;
    }
341764
protected boolean isFloatingPointType(Object left, Object right) {
    return left instanceof Float || left instanceof Double || right instanceof Float || right instanceof Double;
  }
1259908
public void plus(LinearSparseVector sv, float w) {
		if (sv == null)
			return;
		for (int i = 0; i < sv.length; i++) {
			float val = (float) sv.data[i] * w;
			add(sv.index[i], val);
		}
	}
327776
public final void mFLOAT() throws RecognitionException {
		try {
			int _type = FLOAT;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// druidG.g:728:10: ( ( NUM )* '.' ( NUM )+ )
			// druidG.g:728:15: ( NUM )* '.' ( NUM )+
			{
			// druidG.g:728:15: ( NUM )*
			loop43:
			while (true) {
				int alt43=2;
				int LA43_0 = input.LA(1);
				if ( ((LA43_0 >= '0' && LA43_0 <= '9')) ) {
					alt43=1;
				}

				switch (alt43) {
				case 1 :
					// druidG.g:
					{
					if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					break loop43;
				}
			}

			match('.'); 
			// druidG.g:728:24: ( NUM )+
			int cnt44=0;
			loop44:
			while (true) {
				int alt44=2;
				int LA44_0 = input.LA(1);
				if ( ((LA44_0 >= '0' && LA44_0 <= '9')) ) {
					alt44=1;
				}

				switch (alt44) {
				case 1 :
					// druidG.g:
					{
					if ( (input.LA(1) >= '0' && input.LA(1) <= '9') ) {
						input.consume();
					}
					else {
						MismatchedSetException mse = new MismatchedSetException(null,input);
						recover(mse);
						throw mse;
					}
					}
					break;

				default :
					if ( cnt44 >= 1 ) break loop44;
					EarlyExitException eee = new EarlyExitException(44, input);
					throw eee;
				}
				cnt44++;
			}

			}

			state.type = _type;
			state.channel = _channel;
		}
		finally {
			// do for sure before leaving
		}
	}
1342980
public void elemApply(Lambda.FnIntDoubleToDouble fn) {
        for (int c=0; c<this.values.length; c++) {
            this.values[c] = fn.call(c, this.values[c]);
        }
    }
1067778
public Matrix4f mulLocal(Matrix4fc left, Matrix4f dest) {
        if ((properties & PROPERTY_IDENTITY) != 0)
            return dest.set(left);
        else if ((left.properties() & PROPERTY_IDENTITY) != 0)
            return dest.set(this);
        else if ((properties & PROPERTY_AFFINE) != 0 && (left.properties() & PROPERTY_AFFINE) != 0)
            return mulLocalAffine(left, dest);
        return mulLocalGeneric(left, dest);
    }