{"id":434,"date":"2017-09-14T12:19:19","date_gmt":"2017-09-14T15:19:19","guid":{"rendered":"http:\/\/www.professores.uff.br\/diomarcesarlobao\/?page_id=434"},"modified":"2017-09-14T12:19:19","modified_gmt":"2017-09-14T15:19:19","slug":"tridiag-m","status":"publish","type":"page","link":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/tridiag-m\/","title":{"rendered":"tridiag.m."},"content":{"rendered":"<pre>function T = tridiag(a, b, c, n)\r\n\r\n% tridiag  Tridiagonal matrix.\r\n% T = tridiag(a, b, c, n) returns an n by n matrix that has \r\n% a, b, c as the subdiagonal, main diagonal, and superdiagonal \r\n% entries in the matrix.\r\n\r\nT = b*diag(ones(n,1)) + c*diag(ones(n-1,1),1) + a*diag(ones(n-1,1),-1);<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>function T = tridiag(a, b, c, n) % tridiag Tridiagonal matrix. % T = tridiag(a, b, c, n) returns an n by n matrix that has % a, b, c as the subdiagonal, main diagonal, and superdiagonal % entries in the matrix. T = b*diag(ones(n,1)) + c*diag(ones(n-1,1),1) + a*diag(ones(n-1,1),-1);<\/p>\n","protected":false},"author":22,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[],"tags":[],"class_list":["post-434","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":1,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/434\/revisions"}],"predecessor-version":[{"id":435,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/pages\/434\/revisions\/435"}],"wp:attachment":[{"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.professores.uff.br\/diomarcesarlobao\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}