本文整理汇总了C++中TO_DOUBLE_PTR函数的典型用法代码示例。如果您正苦于以下问题:C++ TO_DOUBLE_PTR函数的具体用法?C++ TO_DOUBLE_PTR怎么用?C++ TO_DOUBLE_PTR使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了TO_DOUBLE_PTR函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: c_qd_selfadd_d
void c_qd_selfadd_d(double a, double *b) {
qd_real bb(b);
bb += a;
TO_DOUBLE_PTR(bb, b);
}
示例2: c_qd_pi
void c_qd_pi(double *a) {
TO_DOUBLE_PTR(qd_real::_pi, a);
}
示例3: c_dd_log10
void c_dd_log10(const double *a, double *b) {
dd_real bb;
bb = log10(dd_real(a));
TO_DOUBLE_PTR(bb, b);
}
示例4: c_dd_atan2
void c_dd_atan2(const double *a, const double *b, double *c) {
dd_real cc;
cc = atan2(dd_real(a), dd_real(b));
TO_DOUBLE_PTR(cc, c);
}
示例5: c_dd_nroot
void c_dd_nroot(const double *a, int n, double *b) {
dd_real bb;
bb = nroot(dd_real(a), n);
TO_DOUBLE_PTR(bb, b);
}
示例6: c_dd_floor
void c_dd_floor(const double *a, double *b) {
dd_real bb;
bb = floor(dd_real(a));
TO_DOUBLE_PTR(bb, b);
}
示例7: c_qd_sqrt
void c_qd_sqrt(const double *a, double *b) {
qd_real bb;
bb = sqrt(qd_real(a));
TO_DOUBLE_PTR(bb, b);
}
示例8: c_qd_mul_dd_qd
void c_qd_mul_dd_qd(const double *a, const double *b, double *c) {
qd_real cc;
cc = dd_real(a) * qd_real(b);
TO_DOUBLE_PTR(cc, c);
}
示例9: c_qd_selfdiv_dd
void c_qd_selfdiv_dd(const double *a, double *b) {
qd_real bb(b);
bb /= dd_real(a);
TO_DOUBLE_PTR(bb, b);
}
示例10: c_qd_selfdiv_d
void c_qd_selfdiv_d(double a, double *b) {
qd_real bb(b);
bb /= a;
TO_DOUBLE_PTR(bb, b);
}
示例11: c_qd_selfmul_d
void c_qd_selfmul_d(double a, double *b) {
qd_real bb(b);
bb *= a;
TO_DOUBLE_PTR(bb, b);
}
示例12: c_qd_selfmul
/* selfmul */
void c_qd_selfmul(const double *a, double *b) {
qd_real bb(b);
bb *= qd_real(a);
TO_DOUBLE_PTR(bb, b);
}
示例13: c_qd_selfsub_d
void c_qd_selfsub_d(double a, double *b) {
qd_real bb(b);
bb -= a;
TO_DOUBLE_PTR(bb, b);
}
示例14: c_qd_sub_qd_dd
void c_qd_sub_qd_dd(const double *a, const double *b, double *c) {
qd_real cc;
cc = qd_real(a) - dd_real(b);
TO_DOUBLE_PTR(cc, c);
}
示例15: c_qd_npwr
void c_qd_npwr(const double *a, int n, double *b) {
qd_real bb;
bb = npwr(qd_real(a), n);
TO_DOUBLE_PTR(bb, b);
}