ArrayAToF

Synopsis

Converts an array of strings into an array of floats. The array of floats contains the results of the function call of atof on every single element of the input array.


module ArrayAToF <src_file = "arr_atof.cxx"> {
  string+IPort2 strings_in[];
  float+OPort2 floats_out[];
  cxxmethod+req+notify_inst update(
    .strings_in+notify+read+req,
    .floats_out+write
  );
};

Description

The module converts the strings in the input array into floats and stores the floats in the same position in the output array.

Array of floats that contains the results of the function call of atof on every single element of the input array.

Inputs

strings_in[]

Array of strings to be converted.

Outputs

floats_out[]

Array of floats that contains the results of the functions calls of atof on every single element of the input array.

Files

iac_proj/arr_atof/aa2fmods.v contains the ArrayAToF module V definition.

Other Notes

The low-level ArrayAToFMods library containing the module ArrayAToF does not specify a process. By default the express process will be used.

Authors

Brian Selle, Leon Thrane, Ian Curington
Advanced Visual Systems Inc.

Modifications

Paul G. Lever
Manchester Visualization Centre

Contact

International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL