2022 f->fname = std::string(
"asin");
2024 f->args.resize(1 + 1);
2027 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, asin>;
2029 f->errmsg = std::string(
"invalid arg to asin()");
2031 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2032 silent_cerr(
"static namespace: "
2033 "unable to insert handler "
2034 "for function " << f->fname << std::endl);
2040 f->fname = std::string(
"acos");
2042 f->args.resize(1 + 1);
2045 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, acos>;
2047 f->errmsg = std::string(
"invalid arg to acos()");
2049 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2050 silent_cerr(
"static namespace: "
2051 "unable to insert handler "
2052 "for function " << f->fname << std::endl);
2058 f->fname = std::string(
"atan");
2060 f->args.resize(1 + 1);
2063 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, atan>;
2066 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2067 silent_cerr(
"static namespace: "
2068 "unable to insert handler "
2069 "for function " << f->fname << std::endl);
2075 f->fname = std::string(
"actan");
2077 f->args.resize(1 + 1);
2083 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2084 silent_cerr(
"static namespace: "
2085 "unable to insert handler "
2086 "for function " << f->fname << std::endl);
2092 f->fname = std::string(
"atan2");
2094 f->args.resize(1 + 2);
2098 f->f = mp_func_2<MathParser::MathArgReal_t, MathParser::MathArgReal_t, atan2>;
2101 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2102 silent_cerr(
"static namespace: "
2103 "unable to insert handler "
2104 "for function " << f->fname << std::endl);
2110 f->fname = std::string(
"actan2");
2112 f->args.resize(1 + 2);
2119 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2120 silent_cerr(
"static namespace: "
2121 "unable to insert handler "
2122 "for function " << f->fname << std::endl);
2128 f->fname = std::string(
"cos");
2130 f->args.resize(1 + 1);
2133 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, cos>;
2136 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2137 silent_cerr(
"static namespace: "
2138 "unable to insert handler "
2139 "for function " << f->fname << std::endl);
2145 f->fname = std::string(
"sin");
2147 f->args.resize(1 + 1);
2150 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, sin>;
2153 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2154 silent_cerr(
"static namespace: "
2155 "unable to insert handler "
2156 "for function " << f->fname << std::endl);
2162 f->fname = std::string(
"tan");
2164 f->args.resize(1 + 1);
2167 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, tan>;
2170 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2171 silent_cerr(
"static namespace: "
2172 "unable to insert handler "
2173 "for function " << f->fname << std::endl);
2179 f->fname = std::string(
"ctan");
2181 f->args.resize(1 + 1);
2187 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2188 silent_cerr(
"static namespace: "
2189 "unable to insert handler "
2190 "for function " << f->fname << std::endl);
2196 f->fname = std::string(
"cosh");
2198 f->args.resize(1 + 1);
2201 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, cosh>;
2204 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2205 silent_cerr(
"static namespace: "
2206 "unable to insert handler "
2207 "for function " << f->fname << std::endl);
2213 f->fname = std::string(
"sinh");
2215 f->args.resize(1 + 1);
2218 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, sinh>;
2221 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2222 silent_cerr(
"static namespace: "
2223 "unable to insert handler "
2224 "for function " << f->fname << std::endl);
2230 f->fname = std::string(
"tanh");
2232 f->args.resize(1 + 1);
2235 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, tanh>;
2238 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2239 silent_cerr(
"static namespace: "
2240 "unable to insert handler "
2241 "for function " << f->fname << std::endl);
2247 f->fname = std::string(
"ctanh");
2249 f->args.resize(1 + 1);
2255 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2256 silent_cerr(
"static namespace: "
2257 "unable to insert handler "
2258 "for function " << f->fname << std::endl);
2265 f->fname = std::string(
"acosh");
2267 f->args.resize(1 + 1);
2270 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, acosh>;
2273 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2274 silent_cerr(
"static namespace: "
2275 "unable to insert handler "
2276 "for function " << f->fname << std::endl);
2282 f->fname = std::string(
"asinh");
2284 f->args.resize(1 + 1);
2287 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, asinh>;
2290 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2291 silent_cerr(
"static namespace: "
2292 "unable to insert handler "
2293 "for function " << f->fname << std::endl);
2299 f->fname = std::string(
"atanh");
2301 f->args.resize(1 + 1);
2304 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, atanh>;
2307 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2308 silent_cerr(
"static namespace: "
2309 "unable to insert handler "
2310 "for function " << f->fname << std::endl);
2316 f->fname = std::string(
"actanh");
2318 f->args.resize(1 + 1);
2324 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2325 silent_cerr(
"static namespace: "
2326 "unable to insert handler "
2327 "for function " << f->fname << std::endl);
2334 f->fname = std::string(
"exp");
2336 f->args.resize(1 + 1);
2339 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, exp>;
2342 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2343 silent_cerr(
"static namespace: "
2344 "unable to insert handler "
2345 "for function " << f->fname << std::endl);
2351 f->fname = std::string(
"log");
2353 f->args.resize(1 + 1);
2356 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, log>;
2359 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2360 silent_cerr(
"static namespace: "
2361 "unable to insert handler "
2362 "for function " << f->fname << std::endl);
2368 f->fname = std::string(
"log10");
2370 f->args.resize(1 + 1);
2373 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, log10>;
2376 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2377 silent_cerr(
"static namespace: "
2378 "unable to insert handler "
2379 "for function " << f->fname << std::endl);
2385 f->fname = std::string(
"sqrt");
2387 f->args.resize(1 + 1);
2390 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, sqrt>;
2393 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2394 silent_cerr(
"static namespace: "
2395 "unable to insert handler "
2396 "for function " << f->fname << std::endl);
2402 f->fname = std::string(
"abs");
2404 f->args.resize(1 + 1);
2407 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, fabs>;
2410 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2411 silent_cerr(
"static namespace: "
2412 "unable to insert handler "
2413 "for function " << f->fname << std::endl);
2419 f->fname = std::string(
"sign");
2421 f->args.resize(1 + 1);
2427 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2428 silent_cerr(
"static namespace: "
2429 "unable to insert handler "
2430 "for function " << f->fname << std::endl);
2436 f->fname = std::string(
"copysign");
2438 f->args.resize(1 + 2);
2442 f->f = mp_func_2<MathParser::MathArgReal_t, MathParser::MathArgReal_t, copysign>;
2445 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2446 silent_cerr(
"static namespace: "
2447 "unable to insert handler "
2448 "for function " << f->fname << std::endl);
2454 f->fname = std::string(
"max");
2456 f->args.resize(1 + 2);
2463 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2464 silent_cerr(
"static namespace: "
2465 "unable to insert handler "
2466 "for function " << f->fname << std::endl);
2472 f->fname = std::string(
"min");
2474 f->args.resize(1 + 2);
2481 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2482 silent_cerr(
"static namespace: "
2483 "unable to insert handler "
2484 "for function " << f->fname << std::endl);
2490 f->fname = std::string(
"floor");
2492 f->args.resize(1 + 1);
2495 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, floor>;
2498 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2499 silent_cerr(
"static namespace: "
2500 "unable to insert handler "
2501 "for function " << f->fname << std::endl);
2507 f->fname = std::string(
"ceil");
2509 f->args.resize(1 + 1);
2512 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, ceil>;
2515 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2516 silent_cerr(
"static namespace: "
2517 "unable to insert handler "
2518 "for function " << f->fname << std::endl);
2525 f->fname = std::string(
"round");
2527 f->args.resize(1 + 1);
2530 f->f = mp_func_1<MathParser::MathArgReal_t, MathParser::MathArgReal_t, rint>;
2533 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2534 silent_cerr(
"static namespace: "
2535 "unable to insert handler "
2536 "for function " << f->fname << std::endl);
2543 f->fname = std::string(
"rand");
2545 f->args.resize(1 + 0);
2550 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2551 silent_cerr(
"static namespace: "
2552 "unable to insert handler "
2553 "for function " << f->fname << std::endl);
2559 f->fname = std::string(
"random");
2561 f->args.resize(1 + 0);
2566 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2567 silent_cerr(
"static namespace: "
2568 "unable to insert handler "
2569 "for function " << f->fname << std::endl);
2575 f->fname = std::string(
"seed");
2577 f->args.resize(1 + 1);
2578 f->args[0] =
new MathArgVoid_t;
2583 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2584 silent_cerr(
"static namespace: "
2585 "unable to insert handler "
2586 "for function " << f->fname << std::endl);
2592 f->fname = std::string(
"step");
2594 f->args.resize(1 + 1);
2600 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2601 silent_cerr(
"static namespace: "
2602 "unable to insert handler "
2603 "for function " << f->fname << std::endl);
2609 f->fname = std::string(
"ramp");
2611 f->args.resize(1 + 1);
2617 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2618 silent_cerr(
"static namespace: "
2619 "unable to insert handler "
2620 "for function " << f->fname << std::endl);
2626 f->fname = std::string(
"sramp");
2628 f->args.resize(1 + 2);
2635 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2636 silent_cerr(
"static namespace: "
2637 "unable to insert handler "
2638 "for function " << f->fname << std::endl);
2644 f->fname = std::string(
"par");
2646 f->args.resize(1 + 1);
2652 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2653 silent_cerr(
"static namespace: "
2654 "unable to insert handler "
2655 "for function " << f->fname << std::endl);
2661 f->fname = std::string(
"in_ll");
2663 f->args.resize(1 + 3);
2668 f->f = mp_in<IN_LL>;
2671 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2672 silent_cerr(
"static namespace: "
2673 "unable to insert handler "
2674 "for function " << f->fname << std::endl);
2679 f->fname = std::string(
"in_le");
2681 f->args.resize(1 + 3);
2686 f->f = mp_in<IN_LE>;
2689 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2690 silent_cerr(
"static namespace: "
2691 "unable to insert handler "
2692 "for function " << f->fname << std::endl);
2697 f->fname = std::string(
"in_el");
2699 f->args.resize(1 + 3);
2704 f->f = mp_in<IN_EL>;
2707 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2708 silent_cerr(
"static namespace: "
2709 "unable to insert handler "
2710 "for function " << f->fname << std::endl);
2715 f->fname = std::string(
"in_ee");
2717 f->args.resize(1 + 3);
2722 f->f = mp_in<IN_EE>;
2725 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2726 silent_cerr(
"static namespace: "
2727 "unable to insert handler "
2728 "for function " << f->fname << std::endl);
2734 f->fname = std::string(
"print");
2736 f->args.resize(1 + 1);
2737 f->args[0] =
new MathArgVoid_t;
2742 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2743 silent_cerr(
"static namespace: "
2744 "unable to insert handler "
2745 "for function " << f->fname << std::endl);
2751 f->fname = std::string(
"sprintf");
2753 f->args.resize(1 + 2);
2760 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2761 silent_cerr(
"static namespace: "
2762 "unable to insert handler "
2763 "for function " << f->fname << std::endl);
2769 f->fname = std::string(
"stop");
2771 f->args.resize(1 + 2);
2772 f->args[0] =
new MathArgVoid_t;
2778 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2779 silent_cerr(
"static namespace: "
2780 "unable to insert handler "
2781 "for function " << f->fname << std::endl);
2807 f->args.resize(1 + 1);
2808 f->args[0] = data[i].arg;
2813 if (!
func.insert(funcType::value_type(f->fname, f)).second) {
2814 silent_cerr(
"static namespace: "
2815 "unable to insert handler "
2816 "for function " << f->fname << std::endl);
MathArgPriv_t< Real, AT_REAL > MathArgReal_t
static int mp_cast(const MathParser::MathArgs &args)
static int mp_step(const MathParser::MathArgs &args)
#define MBDYN_EXCEPT_ARGS
static int mp_ramp(const MathParser::MathArgs &args)
static int mp_greater_than_or_equal_to_0_t(const MathParser::MathArgs &args)
static int mp_acosh_t(const MathParser::MathArgs &args)
static int mp_actg2(const MathParser::MathArgs &args)
static int mp_sign(const MathParser::MathArgs &args)
static int mp_srnd(const MathParser::MathArgs &args)
static int mp_greater_than_0_t(const MathParser::MathArgs &args)
static int mp_rand(const MathParser::MathArgs &args)
MathArgPriv_t< bool, AT_BOOL > MathArgBool_t
const char *const GetTypeName(void) const
static int mp_ctgh(const MathParser::MathArgs &args)
static int mp_rndm(const MathParser::MathArgs &args)
static int mp_actg(const MathParser::MathArgs &args)
static int mp_atanh_t(const MathParser::MathArgs &args)
MathArgPriv_t< TypedValue, AT_ANY > MathArgAny_t
static int mp_tan_t(const MathParser::MathArgs &args)
static int mp_sprintf(const MathParser::MathArgs &args)
static int mp_ctgh_t(const MathParser::MathArgs &args)
static int mp_min(const MathParser::MathArgs &args)
static int mp_stop(const MathParser::MathArgs &args)
static int mp_acos_t(const MathParser::MathArgs &args)
static int mp_sramp(const MathParser::MathArgs &args)
MathArgPriv_t< std::string, AT_STRING > MathArgString_t
static int mp_ctg_t(const MathParser::MathArgs &args)
static int mp_asin_t(const MathParser::MathArgs &args)
MathArgPriv_t< Int, AT_INT > MathArgInt_t
static int mp_ctg(const MathParser::MathArgs &args)
static int mp_max(const MathParser::MathArgs &args)
static int mp_par(const MathParser::MathArgs &args)
static int mp_print(const MathParser::MathArgs &args)