{"id":13622810,"url":"https://github.com/kaleidicassociates/lubeck","last_synced_at":"2025-04-15T10:31:44.273Z","repository":{"id":21388370,"uuid":"92384342","full_name":"kaleidicassociates/lubeck","owner":"kaleidicassociates","description":"High level linear algebra library for Dlang","archived":false,"fork":false,"pushed_at":"2024-05-11T13:59:58.000Z","size":161,"stargazers_count":66,"open_issues_count":7,"forks_count":14,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-01T21:55:09.599Z","etag":null,"topics":["big-data","blas","dlang","hedgefund","high-performance","linear-algebra","matlab","native-code","ndslice","numerical-methods","numpy","octave","quantitative-finance","symmetry-investments"],"latest_commit_sha":null,"homepage":"http://lubeck.libmir.org/","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaleidicassociates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-25T08:54:00.000Z","updated_at":"2024-01-16T06:28:29.000Z","dependencies_parsed_at":"2024-08-01T21:43:23.543Z","dependency_job_id":"158b8d55-2d45-4130-8487-85ff9795be42","html_url":"https://github.com/kaleidicassociates/lubeck","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaleidicassociates%2Flubeck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaleidicassociates%2Flubeck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaleidicassociates%2Flubeck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaleidicassociates%2Flubeck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaleidicassociates","download_url":"https://codeload.github.com/kaleidicassociates/lubeck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223668437,"owners_count":17182928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["big-data","blas","dlang","hedgefund","high-performance","linear-algebra","matlab","native-code","ndslice","numerical-methods","numpy","octave","quantitative-finance","symmetry-investments"],"created_at":"2024-08-01T21:01:24.355Z","updated_at":"2024-11-08T10:31:07.840Z","avatar_url":"https://github.com/kaleidicassociates.png","language":"D","funding_links":[],"categories":["D"],"sub_categories":[],"readme":"\n[![Gitter](https://img.shields.io/gitter/room/libmir/public.svg)](https://gitter.im/libmir/public)\n[![Build Status](https://www.travis-ci.org/kaleidicassociates/lubeck.svg?branch=master)](https://www.travis-ci.org/kaleidicassociates/lubeck)\n[![Dub downloads](https://img.shields.io/dub/dt/lubeck.svg)](http://code.dlang.org/packages/lubeck)\n[![Dub downloads](https://img.shields.io/dub/dm/lubeck.svg)](http://code.dlang.org/packages/lubeck)\n[![License](https://img.shields.io/dub/l/lubeck.svg)](http://code.dlang.org/packages/lubeck)\n[![Latest version](https://img.shields.io/dub/v/lubeck.svg)](http://code.dlang.org/packages/lubeck)\n\n# Lubeck\nHigh level linear algebra library for Dlang\n\n## Required system libraries\n\nSee [wiki: Link with CBLAS \u0026 LAPACK](https://github.com/libmir/mir-lapack/wiki/Link-with-CBLAS-\u0026-LAPACK).\n\n## API\n - `mtimes` - General matrix-matrix, row-matrix, matrix-column, and row-column multiplications.\n - `mldivide` - Solve systems of linear equations AX = B for X. Computes minimum-norm solution to a linear least squares problem\nif A is not a square matrix.\n - `inv` - Inverse of matrix.\n - `svd` - Singular value decomposition.\n - `pca` - Principal component analysis of raw data.\n - `pinv` - Moore-Penrose pseudoinverse of matrix.\n - `det`/`detSymmetric` - General/symmetric matrix determinant.\n - `eigSymmetric` - Eigenvalues and eigenvectors of symmetric matrix.\n - Qr decomposition: `qrDecomp` with `solve` method\n - Cholesky: `choleskyDecomp` with `solve` method\n - LU decomposition: `luDecomp` with `solve` method\n - LDL decomposition: `ldlDecomp` with `solve` method\n\n## Example\n\n```d\n/+dub.sdl:\ndependency \"lubeck\" version=\"~\u003e0.1\"\nlibs \"lapack\" \"blas\"\n+/\n// or libs \"openblas\"\nimport std.stdio;\nimport mir.ndslice: magic, repeat, as, slice;\nimport kaleidic.lubeck: mtimes;\n\nvoid main()\n{\n    auto n = 5;\n    // Magic Square\n    auto matrix = n.magic.as!double.slice;\n    // [1 1 1 1 1]\n    auto vec = 1.repeat(n).as!double.slice;\n    // Uses CBLAS for multiplication\n    matrix.mtimes(vec).writeln;\n    matrix.mtimes(matrix).writeln;\n}\n```\n\n[![Open on run.dlang.io](https://img.shields.io/badge/run.dlang.io-open-blue.svg)](https://run.dlang.io/is/RQRMoo)\n\n### Related packages\n - [mir-algorithm](https://github.com/libmir/mir-algorithm)\n - [mir-lapack](https://github.com/libmir/mir-lapack)\n - [mir-blas](https://github.com/libmir/mir-blas)\n - [lapack](https://github.com/libmir/lapack)\n - [cblas](https://github.com/DlangScience/cblas)\n\n---------------\n\nThis work has been sponsored by [Symmetry Investments](http://symmetryinvestments.com) and [Kaleidic Associates](https://github.com/kaleidicassociates).\n\n\nAbout Kaleidic Associates\n-------------------------\nWe are a boutique consultancy that advises a small number of hedge fund clients.  We are\nnot accepting new clients currently, but if you are interested in working either remotely\nor locally in London or Hong Kong, and if you are a talented hacker with a moral compass\nwho aspires to excellence then feel free to drop me a line: laeeth at kaleidic.io\n\nWe work with our partner Symmetry Investments, and some background on the firm can be\nfound here:\n\nhttp://symmetryinvestments.com/about-us/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaleidicassociates%2Flubeck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaleidicassociates%2Flubeck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaleidicassociates%2Flubeck/lists"}