Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I am trying to make a comprehensive UNIFAC model program and I have it running, except for the user to be able to use this program for any size mixture system, they must edit the component matrices manually. What I want my program to be able to do is, after the user inputs the number of components, a vector is automatically output of the correct size where the user can input the mole fractions of each of the components. Additionally, I need to make a matrix that works in a similar fashion for the user to input the number each type of subgroup is present within each type of molecule present within the mixture.
This is a cross post. See here for the discussion: Variable sized vectors and matricies where the components can be edited by the user