Macaulay2 » Documentation
Packages » GraphicalModelsMLE :: solverMLE(...,RealPrecision=>...)
next | previous | forward | backward | up | index | toc

solverMLE(...,RealPrecision=>...) -- the number of bits of precision to use in the computation

Synopsis

Description

This optional input only applies when the sample data or the sample covariance matrix has real entries. By default, the precision is 53 (the default precision for real numbers in M2).

i1 : G = mixedGraph(digraph {{1,2},{1,3},{2,3},{3,4}},bigraph {{3,4}});
i2 : U = matrix{{6.2849049, 10.292875, 1.038475, 1.1845757}, {3.1938475, 3.2573, 1.13847, 1}, {4/5, 3/2, 9/8, 3/10}, {10/7, 2/3,1, 8/3}};

                4         4
o2 : Matrix RR    <-- RR
              53        53
i3 : solverMLE(G,U,RealPrecision=>10)

o3 = (1.83311, | 4.52904   7.81123   -.0250185 .309951   |, 2)
               | 7.81123   14.3732   -.0382332 .473665   |
               | -.0250185 -.0382332 .00337164 -.0418254 |
               | .309951   .473665   -.0418254 .742627   |

o3 : Sequence

Further information

See also

Functions with optional argument named RealPrecision: