Example #1
0
real_array_t division_alloc_real_array_scalar(threadData_t *threadData,const real_array_t a,modelica_real b,const char* division_str)
{
    real_array_t dest;
    clone_real_array_spec(&a,&dest);
    alloc_real_array_data(&dest);
    division_real_array_scalar(threadData,&a,b,&dest,division_str);
    return dest;
}
Example #2
0
void division_alloc_real_array_scalar(const real_array_t * a,modelica_real b,real_array_t* dest, const char* division_str)
{
    clone_real_array_spec(a,dest);
    alloc_real_array_data(dest);
    division_real_array_scalar(a,b,dest,division_str);
}