{"action":"created","comment":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments/27111079","id":27111079,"diff_hunk":"@@ -0,0 +1,54 @@\n+/*\n+ * This program is free software; you can redistribute it and/or modify\n+ * it under the terms of the GNU General turalPublic License as published by\n+ * the Free Software Foundation; either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * Written (W) 2015 Yingrui Chang\n+ */\n+\n+#ifndef DIRECT_DENSE_LINEAR_SOLVER_LLT_H_\n+#define DIRECT_DENSE_LINEAR_SOLVER_LLT_H_\n+\n+#include <shogun/lib/config.h>\n+\n+#ifdef HAVE_EIGEN3\n+#include <shogun/mathematics/linalg/linsolver/LinearSolver.h>\n+\n+namespace shogun\n+{\n+\n+/** @brief Class that provides a solve method for real SPD dense systems\n+ * using LLT decomposition\n+ */\n+class CDirectDenseLinearSolverLLT : public CLinearSolver<float64_t, float64_t>\n+{\n+public:\n+\t/** default constructor */\n+\tCDirectDenseLinearSolverLLT();\n+\n+\t/** destructor */\n+\tvirtual ~CDirectDenseLinearSolverLLT();\n+\n+\t/**\n+\t * solve method for solving real-valued SPD linear systems","path":"src/shogun/mathematics/linalg/linsolver/DirectDenseLinearSolverLLT.h","position":34,"original_position":34,"commit_id":"b713ae0785a0f91ba319d5e72588aecce4f02bbe","original_commit_id":"b713ae0785a0f91ba319d5e72588aecce4f02bbe","user":{"login":"karlnapf","id":699071,"avatar_url":"https://avatars.githubusercontent.com/u/699071?v=3","gravatar_id":"","url":"https://api.github.com/users/karlnapf","html_url":"https://github.com/karlnapf","followers_url":"https://api.github.com/users/karlnapf/followers","following_url":"https://api.github.com/users/karlnapf/following{/other_user}","gists_url":"https://api.github.com/users/karlnapf/gists{/gist_id}","starred_url":"https://api.github.com/users/karlnapf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlnapf/subscriptions","organizations_url":"https://api.github.com/users/karlnapf/orgs","repos_url":"https://api.github.com/users/karlnapf/repos","events_url":"https://api.github.com/users/karlnapf/events{/privacy}","received_events_url":"https://api.github.com/users/karlnapf/received_events","type":"User","site_admin":false},"body":"Solve","created_at":"2015-03-25T11:04:55Z","updated_at":"2015-03-25T11:04:55Z","html_url":"https://github.com/shogun-toolbox/shogun/pull/2782#discussion_r27111079","pull_request_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782","_links":{"self":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments/27111079"},"html":{"href":"https://github.com/shogun-toolbox/shogun/pull/2782#discussion_r27111079"},"pull_request":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782"}}},"pull_request":{"url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782","id":31877032,"html_url":"https://github.com/shogun-toolbox/shogun/pull/2782","diff_url":"https://github.com/shogun-toolbox/shogun/pull/2782.diff","patch_url":"https://github.com/shogun-toolbox/shogun/pull/2782.patch","issue_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/2782","number":2782,"state":"open","locked":false,"title":"Add solver for linear and least square to linalg","user":{"login":"yingryic","id":11013550,"avatar_url":"https://avatars.githubusercontent.com/u/11013550?v=3","gravatar_id":"","url":"https://api.github.com/users/yingryic","html_url":"https://github.com/yingryic","followers_url":"https://api.github.com/users/yingryic/followers","following_url":"https://api.github.com/users/yingryic/following{/other_user}","gists_url":"https://api.github.com/users/yingryic/gists{/gist_id}","starred_url":"https://api.github.com/users/yingryic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yingryic/subscriptions","organizations_url":"https://api.github.com/users/yingryic/orgs","repos_url":"https://api.github.com/users/yingryic/repos","events_url":"https://api.github.com/users/yingryic/events{/privacy}","received_events_url":"https://api.github.com/users/yingryic/received_events","type":"User","site_admin":false},"body":" corresponds to #2526, built interface to call Eigen3 internal dense solver for linear systems (LLT) and least square problem (Householder QR). Please check if this form is what you want, @karlnapf May add more solver's later.","created_at":"2015-03-24T22:32:32Z","updated_at":"2015-03-25T11:04:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09adb93a7fa02f793b920da7fcbb9a4d22b796ff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782/commits","review_comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782/comments","review_comment_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/2782/comments","statuses_url":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/b713ae0785a0f91ba319d5e72588aecce4f02bbe","head":{"label":"yingryic:LinearAlgebra","ref":"LinearAlgebra","sha":"b713ae0785a0f91ba319d5e72588aecce4f02bbe","user":{"login":"yingryic","id":11013550,"avatar_url":"https://avatars.githubusercontent.com/u/11013550?v=3","gravatar_id":"","url":"https://api.github.com/users/yingryic","html_url":"https://github.com/yingryic","followers_url":"https://api.github.com/users/yingryic/followers","following_url":"https://api.github.com/users/yingryic/following{/other_user}","gists_url":"https://api.github.com/users/yingryic/gists{/gist_id}","starred_url":"https://api.github.com/users/yingryic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yingryic/subscriptions","organizations_url":"https://api.github.com/users/yingryic/orgs","repos_url":"https://api.github.com/users/yingryic/repos","events_url":"https://api.github.com/users/yingryic/events{/privacy}","received_events_url":"https://api.github.com/users/yingryic/received_events","type":"User","site_admin":false},"repo":{"id":30846961,"name":"shogun","full_name":"yingryic/shogun","owner":{"login":"yingryic","id":11013550,"avatar_url":"https://avatars.githubusercontent.com/u/11013550?v=3","gravatar_id":"","url":"https://api.github.com/users/yingryic","html_url":"https://github.com/yingryic","followers_url":"https://api.github.com/users/yingryic/followers","following_url":"https://api.github.com/users/yingryic/following{/other_user}","gists_url":"https://api.github.com/users/yingryic/gists{/gist_id}","starred_url":"https://api.github.com/users/yingryic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yingryic/subscriptions","organizations_url":"https://api.github.com/users/yingryic/orgs","repos_url":"https://api.github.com/users/yingryic/repos","events_url":"https://api.github.com/users/yingryic/events{/privacy}","received_events_url":"https://api.github.com/users/yingryic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yingryic/shogun","description":"The Shogun Machine Learning Toolbox (Source Code)","fork":true,"url":"https://api.github.com/repos/yingryic/shogun","forks_url":"https://api.github.com/repos/yingryic/shogun/forks","keys_url":"https://api.github.com/repos/yingryic/shogun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yingryic/shogun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yingryic/shogun/teams","hooks_url":"https://api.github.com/repos/yingryic/shogun/hooks","issue_events_url":"https://api.github.com/repos/yingryic/shogun/issues/events{/number}","events_url":"https://api.github.com/repos/yingryic/shogun/events","assignees_url":"https://api.github.com/repos/yingryic/shogun/assignees{/user}","branches_url":"https://api.github.com/repos/yingryic/shogun/branches{/branch}","tags_url":"https://api.github.com/repos/yingryic/shogun/tags","blobs_url":"https://api.github.com/repos/yingryic/shogun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yingryic/shogun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yingryic/shogun/git/refs{/sha}","trees_url":"https://api.github.com/repos/yingryic/shogun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yingryic/shogun/statuses/{sha}","languages_url":"https://api.github.com/repos/yingryic/shogun/languages","stargazers_url":"https://api.github.com/repos/yingryic/shogun/stargazers","contributors_url":"https://api.github.com/repos/yingryic/shogun/contributors","subscribers_url":"https://api.github.com/repos/yingryic/shogun/subscribers","subscription_url":"https://api.github.com/repos/yingryic/shogun/subscription","commits_url":"https://api.github.com/repos/yingryic/shogun/commits{/sha}","git_commits_url":"https://api.github.com/repos/yingryic/shogun/git/commits{/sha}","comments_url":"https://api.github.com/repos/yingryic/shogun/comments{/number}","issue_comment_url":"https://api.github.com/repos/yingryic/shogun/issues/comments{/number}","contents_url":"https://api.github.com/repos/yingryic/shogun/contents/{+path}","compare_url":"https://api.github.com/repos/yingryic/shogun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yingryic/shogun/merges","archive_url":"https://api.github.com/repos/yingryic/shogun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yingryic/shogun/downloads","issues_url":"https://api.github.com/repos/yingryic/shogun/issues{/number}","pulls_url":"https://api.github.com/repos/yingryic/shogun/pulls{/number}","milestones_url":"https://api.github.com/repos/yingryic/shogun/milestones{/number}","notifications_url":"https://api.github.com/repos/yingryic/shogun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yingryic/shogun/labels{/name}","releases_url":"https://api.github.com/repos/yingryic/shogun/releases{/id}","created_at":"2015-02-15T23:54:04Z","updated_at":"2015-03-24T17:06:38Z","pushed_at":"2015-03-24T22:22:08Z","git_url":"git://github.com/yingryic/shogun.git","ssh_url":"git@github.com:yingryic/shogun.git","clone_url":"https://github.com/yingryic/shogun.git","svn_url":"https://github.com/yingryic/shogun","homepage":"http://www.shogun-toolbox.org","size":50109,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"shogun-toolbox:develop","ref":"develop","sha":"ee6cf40c1f811e01cb7eaa7e4fa1081b62a5435e","user":{"login":"shogun-toolbox","id":690673,"avatar_url":"https://avatars.githubusercontent.com/u/690673?v=3","gravatar_id":"","url":"https://api.github.com/users/shogun-toolbox","html_url":"https://github.com/shogun-toolbox","followers_url":"https://api.github.com/users/shogun-toolbox/followers","following_url":"https://api.github.com/users/shogun-toolbox/following{/other_user}","gists_url":"https://api.github.com/users/shogun-toolbox/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-toolbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-toolbox/subscriptions","organizations_url":"https://api.github.com/users/shogun-toolbox/orgs","repos_url":"https://api.github.com/users/shogun-toolbox/repos","events_url":"https://api.github.com/users/shogun-toolbox/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-toolbox/received_events","type":"Organization","site_admin":false},"repo":{"id":1555094,"name":"shogun","full_name":"shogun-toolbox/shogun","owner":{"login":"shogun-toolbox","id":690673,"avatar_url":"https://avatars.githubusercontent.com/u/690673?v=3","gravatar_id":"","url":"https://api.github.com/users/shogun-toolbox","html_url":"https://github.com/shogun-toolbox","followers_url":"https://api.github.com/users/shogun-toolbox/followers","following_url":"https://api.github.com/users/shogun-toolbox/following{/other_user}","gists_url":"https://api.github.com/users/shogun-toolbox/gists{/gist_id}","starred_url":"https://api.github.com/users/shogun-toolbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shogun-toolbox/subscriptions","organizations_url":"https://api.github.com/users/shogun-toolbox/orgs","repos_url":"https://api.github.com/users/shogun-toolbox/repos","events_url":"https://api.github.com/users/shogun-toolbox/events{/privacy}","received_events_url":"https://api.github.com/users/shogun-toolbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shogun-toolbox/shogun","description":"The Shogun Machine Learning Toolbox (Source Code)","fork":false,"url":"https://api.github.com/repos/shogun-toolbox/shogun","forks_url":"https://api.github.com/repos/shogun-toolbox/shogun/forks","keys_url":"https://api.github.com/repos/shogun-toolbox/shogun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shogun-toolbox/shogun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shogun-toolbox/shogun/teams","hooks_url":"https://api.github.com/repos/shogun-toolbox/shogun/hooks","issue_events_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/events{/number}","events_url":"https://api.github.com/repos/shogun-toolbox/shogun/events","assignees_url":"https://api.github.com/repos/shogun-toolbox/shogun/assignees{/user}","branches_url":"https://api.github.com/repos/shogun-toolbox/shogun/branches{/branch}","tags_url":"https://api.github.com/repos/shogun-toolbox/shogun/tags","blobs_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/refs{/sha}","trees_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/{sha}","languages_url":"https://api.github.com/repos/shogun-toolbox/shogun/languages","stargazers_url":"https://api.github.com/repos/shogun-toolbox/shogun/stargazers","contributors_url":"https://api.github.com/repos/shogun-toolbox/shogun/contributors","subscribers_url":"https://api.github.com/repos/shogun-toolbox/shogun/subscribers","subscription_url":"https://api.github.com/repos/shogun-toolbox/shogun/subscription","commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/commits{/sha}","git_commits_url":"https://api.github.com/repos/shogun-toolbox/shogun/git/commits{/sha}","comments_url":"https://api.github.com/repos/shogun-toolbox/shogun/comments{/number}","issue_comment_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues/comments{/number}","contents_url":"https://api.github.com/repos/shogun-toolbox/shogun/contents/{+path}","compare_url":"https://api.github.com/repos/shogun-toolbox/shogun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shogun-toolbox/shogun/merges","archive_url":"https://api.github.com/repos/shogun-toolbox/shogun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shogun-toolbox/shogun/downloads","issues_url":"https://api.github.com/repos/shogun-toolbox/shogun/issues{/number}","pulls_url":"https://api.github.com/repos/shogun-toolbox/shogun/pulls{/number}","milestones_url":"https://api.github.com/repos/shogun-toolbox/shogun/milestones{/number}","notifications_url":"https://api.github.com/repos/shogun-toolbox/shogun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shogun-toolbox/shogun/labels{/name}","releases_url":"https://api.github.com/repos/shogun-toolbox/shogun/releases{/id}","created_at":"2011-04-01T10:44:32Z","updated_at":"2015-03-25T10:58:32Z","pushed_at":"2015-03-25T10:58:32Z","git_url":"git://github.com/shogun-toolbox/shogun.git","ssh_url":"git@github.com:shogun-toolbox/shogun.git","clone_url":"https://github.com/shogun-toolbox/shogun.git","svn_url":"https://github.com/shogun-toolbox/shogun","homepage":"http://www.shogun-toolbox.org","size":192457,"stargazers_count":728,"watchers_count":728,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":431,"mirror_url":null,"open_issues_count":355,"forks":431,"open_issues":355,"watchers":728,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782"},"html":{"href":"https://github.com/shogun-toolbox/shogun/pull/2782"},"issue":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/issues/2782"},"comments":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/issues/2782/comments"},"review_comments":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782/comments"},"review_comment":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/pulls/2782/commits"},"statuses":{"href":"https://api.github.com/repos/shogun-toolbox/shogun/statuses/b713ae0785a0f91ba319d5e72588aecce4f02bbe"}}}}