195 Reputation

5 Badges

15 years, 316 days

MaplePrimes Activity

These are replies submitted by Teep


That did the trick!

Thanks very much.


Lovely solution ... than's for introducting me to DataFrame.


Thank you!

@Carl Love 

Thank you for your (usual!) speedy assistance. This is a great help.

Suppose the 4 points are labelled A,B,C and D (can we assign a name to each point?)

Then I would look for a 4x4 matrix with column labels, A, B, C and D and also row labels A, B, C and D and at each intersection, the distance would be recorded. Ideally, I would love to export the results to Excel - please see attached Excel sheet.



@Carl Love 

This is very useful and insightful. I thank you!

@Thomas Richard

Thanks for this ... interesting.

@Lenin Araujo Castillo 

The Maple routine is quite useful - thanks so much.

Suppose a relation under investigation is nonlinear. Do you know how this is treated?


@Carl Love 

Very interesting ... this worked just fine and satisfied a little curiosity!

Thanks (again!).


This is a welcomed addition to the solution ... I'm obliged!


As usual, you have provided a good insight intyo this problem .... I thank you for that.

The classification routine is great and on the matter of a non-source/sink, I'll explore this further. The matrices, A and B, were for the sake of example only - I'll run some more representative problems to test this out.

Thanks again!


This seems to have done the job - thank you so much!

I like your routine ... with this, I can move on.


Thanks again.


Yes - I can relabel the vertices as you proposed. The Help link was very useful ... thanks.

However, I might be on the wrong track here. I wish to assign labels (letters) to the matrix rows and numbers to the matrix columns as mentioned in the problem statement. The sources lie in the row number; the sinks lie in the columns that have entries=1. 



Thank you for the suggestion - much appreciated.

However, I tried to apply this to the matrix B graph ... I can't seem to find a way to replicate your method.


These are very useful insights you provided - I appreciate you taking the time and effort to share these. 

And of course, you are completely right -  the worksheet source file should have been attached rather than the pdf. I'll remember that in future also!


Thanks again...

@Carl Love 

It is great to get this workaround - thank you! It makes life so much easier ... now I can visualise the relationships of the solutions.

Thanks (again!) for your generous support.

3 4 5 6 7 8 9 Page 5 of 9