Documentation ¶
Overview ¶
Package trilateration solves a formulation of 3 space trilateration using least-squares optimizer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters3 ¶
type Parameters3 struct { // Location of fixed points Loc []Point3 // Distance to the target Dis []float64 }
func (*Parameters3) SolveTrilat3 ¶
func (p3 *Parameters3) SolveTrilat3() (loc []float64, err error)
SolveTrilat3 is the main interface to this library. Provide a set of parameters, loc is the 3 space location of target, If the 3rd dimension of each location is equal it is removed from the equation Returns error if solving the matrix fails, such if a interm matrix is singular
Click to show internal directories.
Click to hide internal directories.