{"action":"created","issue":{"url":"https://api.github.com/repos/lemmingapex/Trilateration/issues/2","repository_url":"https://api.github.com/repos/lemmingapex/Trilateration","labels_url":"https://api.github.com/repos/lemmingapex/Trilateration/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lemmingapex/Trilateration/issues/2/comments","events_url":"https://api.github.com/repos/lemmingapex/Trilateration/issues/2/events","html_url":"https://github.com/lemmingapex/Trilateration/issues/2","id":116486899,"number":2,"title":"SingularMatrixException on Error Calculation","user":{"login":"bleckers","id":12459597,"avatar_url":"https://avatars.githubusercontent.com/u/12459597?v=3","gravatar_id":"","url":"https://api.github.com/users/bleckers","html_url":"https://github.com/bleckers","followers_url":"https://api.github.com/users/bleckers/followers","following_url":"https://api.github.com/users/bleckers/following{/other_user}","gists_url":"https://api.github.com/users/bleckers/gists{/gist_id}","starred_url":"https://api.github.com/users/bleckers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleckers/subscriptions","organizations_url":"https://api.github.com/users/bleckers/orgs","repos_url":"https://api.github.com/users/bleckers/repos","events_url":"https://api.github.com/users/bleckers/events{/privacy}","received_events_url":"https://api.github.com/users/bleckers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-11-12T06:07:02Z","updated_at":"2016-07-19T13:43:28Z","closed_at":"2015-12-01T16:26:05Z","body":"Hi Scott,\r\n\r\nIt seems the following two lines both give a SingularMatrixException when run:\r\n\r\n// error and geometry information\r\nRealVector standardDeviation = optimum.getSigma(0);\r\nRealMatrix covarianceMatrix = optimum.getCovariances(0);\r\n\r\nI cannot get it to work with any input data. For example, here are some positions that throw the error (these are a Mercator projection of GPS coordinates):\r\nPositions[0]:\r\n0 = -4565919.193832541\r\n1 = 1.6141672528603023E7\r\n2 = 2200.0\r\n\r\nPositions[1]:\r\n0 = -4565920.313515583\r\n1 = 1.6141679993156526E7\r\n2 = 2200.0\r\n\r\nPositions[2]:\r\n0 = -4565927.778069112\r\n1 = 1.6141678948119089E7\r\n2 = 2200.0\r\n\r\nPositions[3]:\r\n0 = -4565926.658386086\r\n1 = 1.6141671334274463E7\r\n2 = 2200.0\r\n\r\nDistances:\r\n0 = 1.6\r\n1 = 1.6\r\n2 = 1.6\r\n3 = 1.6\r\n\r\nWould you have any idea as to why this might be the case? This is running on Android with the same (recently updated) Apache commons Math3 library you are using. It also doesn't work with the previous version of the library.\r\n\r\nCalculating the point estimate works perfectly fine.\r\n\r\nRegards,\r\n\r\nBlair"},"comment":{"url":"https://api.github.com/repos/lemmingapex/Trilateration/issues/comments/233636662","html_url":"https://github.com/lemmingapex/Trilateration/issues/2#issuecomment-233636662","issue_url":"https://api.github.com/repos/lemmingapex/Trilateration/issues/2","id":233636662,"user":{"login":"rosivivas","id":16673169,"avatar_url":"https://avatars.githubusercontent.com/u/16673169?v=3","gravatar_id":"","url":"https://api.github.com/users/rosivivas","html_url":"https://github.com/rosivivas","followers_url":"https://api.github.com/users/rosivivas/followers","following_url":"https://api.github.com/users/rosivivas/following{/other_user}","gists_url":"https://api.github.com/users/rosivivas/gists{/gist_id}","starred_url":"https://api.github.com/users/rosivivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosivivas/subscriptions","organizations_url":"https://api.github.com/users/rosivivas/orgs","repos_url":"https://api.github.com/users/rosivivas/repos","events_url":"https://api.github.com/users/rosivivas/events{/privacy}","received_events_url":"https://api.github.com/users/rosivivas/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T13:43:27Z","updated_at":"2016-07-19T13:43:27Z","body":"Hi \r\nThis library works with android screen coordinate system?\r\n\r\nI have four beacons and I need draw user position, but always return same position regardless of which beacon is closest to the user"}}
{"actor":{"display_login":"rosivivas"}}