I am writing my thesis right now and i wonder is that possible to give the function as an input and get the mathematical equation of that function for putting into thesis.
For example this is a function
public static bool CompareThresholdPassWithList(int irThreshold, List<string> srlstWord1, List<string> srlstWord2)
{
int irSameCount = 0;
int irMinOne = srlstWord1.Count;
if ((srlstWord2.Count) < irMinOne)
irMinOne = srlstWord2.Count;
foreach (string srVariable1 in srlstWord1)
{
if (srVariable1.Length > 0)
{
foreach (string srVariable2 in srlstWord2)
{
if (srVariable2.Length > 0 && srVariable1 == srVariable2)
{
irSameCount++;
}
}
}
}
if (((irSameCount * 100) / irMinOne) >= irThreshold)
return true;
else
return false;
}
Actually generating some output that i can use in my thesis would be sufficient. Maybe pseudo code or flow chart ? or else that can work.
C#
Thank you.