It appears that GraphDistance
, GraphDistanceMatrix
, FindShortestPath
, etc. all work with Machine Precision. I don't see an option for WorkingPrecision
. Please tell me that's not the case!
The overview introduction to Graphs & Networks says
Graphs are first-class citizens in the Wolfram Language; they can be used as input and output and they are deeply integrated into the rest of the Wolfram Language.
Has arbitrary precision been omitted from this deep integration? Or have I just missed something?
Example: Inputs have explicit precision 80
m = GraphDistanceMatrix[
CompleteGraph[3, DirectedEdges -> True,
EdgeWeight -> {0.0084166399999999995384936113396179280243813991546630859375`80.,
0.0003397469999999999982175091783886955454363487660884857177734375`80.,
0.005964065999999999638514491806517980876378715038299560546875`80.,
0.000114147000000000003344137466942953551551909185945987701416015625`80.,
0.0086472479999999997402060358808739692904055118560791015625`80.,
0.0037996010000000001068098942624828850966878235340118408203125`80.},
EdgeLabels -> "EdgeWeight",
VertexLabels -> "Name"
]
]
Outputs look like machine precision numbers:
{{0., 0.00413935, 0.000339747},
{0.00596407, 0., 0.000114147},
{0.00864725, 0.0037996, 0.}}
GraphDistance
only involves comparisons and additions. It seems to me that incorporating arbitrary precision would be a small step with great value.