18 double ca[] = {10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
19 vector<double>
C(ca, ca + (N + 1) * (N + 2) / 2);
20 double sa[] = {6, 5, 4, 3, 2, 1};
21 vector<double>
S(sa, sa + N * (N + 1) / 2);
27 v = circ(x/
p,
y/
p, vx, vy, vz);
28 cout << v <<
" " << vx <<
" " << vy <<
" " << vz <<
"\n";
30 catch (
const exception&
e) {
31 cerr <<
"Caught exception: " << e.what() <<
"\n";
CircularEngine Circle(real p, real z, bool gradp) const
StridedVectorType vy(make_vector(y,*n, std::abs(*incy)))
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Header for GeographicLib::CircularEngine class.
Matrix< Scalar, Dynamic, Dynamic > C
Spherical harmonic sums for a circle.
Header for GeographicLib::SphericalHarmonic class.
const mpreal hypot(const mpreal &x, const mpreal &y, mp_rnd_t rnd_mode=mpreal::get_default_rnd())
StridedVectorType vx(make_vector(x,*n, std::abs(*incx)))
Spherical harmonic series.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x