Home | History | Annotate | Download | only in hardware

Lines Matching refs:cos

152         // cos(theta).  We want the associated Legendre functions for
153 // sin(latitude), which is the same as cos(PI/2 - latitude), except the
169 // Compute tables of sin(lon * m) and cos(lon * m) for m = 0..MAX_N --
176 cosMLon[1] = (float) Math.cos(mGcLongitudeRad);
180 // cos((m-x)*theta + x*theta).
186 float inverseCosLatitude = 1.0f / (float) Math.cos(mGcLatitudeRad);
207 // P_n^m(sin(theta)) and we use P_n^m(cos(90 - theta)), so the
234 mX = (float) (gcX * Math.cos(latDiffRad)
238 + gcZ * Math.cos(latDiffRad));
311 float clat = (float) Math.cos(gdLatRad);
333 * functions P_n^m(cos(theta))
349 * P_n^m(cos(thetaRad)), with thetaRad in radians.
356 float cos = (float) Math.cos(thetaRad);
369 mPDeriv[n][m] = cos * mP[n - 1][m - 1]
372 mP[n][m] = cos * mP[n - 1][m];
374 + cos * mPDeriv[n - 1][m];
379 mP[n][m] = cos * mP[n - 1][m] - k * mP[n - 2][m];
381 + cos * mPDeriv[n - 1][m] - k * mPDeriv[n - 2][m];