module: vec_2elem_to_scalar
description: 
parameters:  
inputs:  double in_vec
outputs:  double out0, double out1
classes:  
static_variables:  
init:  
if (in_vec.get_length() != 2)
  {
   printf("error in 'vec_2elem_to_scalar':  in_vec must have length 2\n");
   printf("  -> in this case, in_vec has length %d\n",in_vec.get_length());
   exit(1);
  }

end:  
code:  
out0 = in_vec.get_elem(0);
out1 = in_vec.get_elem(1);