{"id":34275443,"url":"https://github.com/fhs/blas","last_synced_at":"2025-12-16T21:02:01.143Z","repository":{"id":25220491,"uuid":"28644738","full_name":"fhs/blas","owner":"fhs","description":"A blas implementation for Go.","archived":false,"fork":true,"pushed_at":"2015-02-14T02:18:19.000Z","size":709,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-09T13:04:40.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"gonum/blas","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fhs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-30T20:43:36.000Z","updated_at":"2024-05-09T13:04:40.106Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fhs/blas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fhs/blas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhs%2Fblas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhs%2Fblas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhs%2Fblas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhs%2Fblas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhs","download_url":"https://codeload.github.com/fhs/blas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhs%2Fblas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27771145,"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","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-12-16T21:02:00.095Z","updated_at":"2025-12-16T21:02:01.132Z","avatar_url":"https://github.com/fhs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gonum BLAS [![Build Status](https://travis-ci.org/gonum/blas.svg?branch=master)](https://travis-ci.org/gonum/blas)  [![Coverage Status](https://img.shields.io/coveralls/gonum/blas.svg)](https://coveralls.io/r/gonum/blas)\n\nA collection of packages to provide BLAS functionality for the [Go programming\nlanguage](http://golang.org)\n\n## Installation\n```sh\n  go get github.com/gonum/blas\n```\n\n### BLAS C-bindings\n\nIf you want to use OpenBLAS, install it in any directory:\n```sh\n  git clone https://github.com/xianyi/OpenBLAS\n  cd OpenBLAS\n  make\n```\n\nThe blas/cgo package provides bindings to C-backed BLAS packages. blas/cgo needs the `CGO_LDFLAGS`\nenvironment variable to point to the blas installation. More information can be found in the\n[cgo command documentation](http://golang.org/cmd/cgo/).\n\nThen install the blas/cgo package:\n```sh\n  CGO_LDFLAGS=\"-L/path/to/OpenBLAS -lopenblas\" go install github.com/gonum/blas/cgo\n```\n\nFor Windows you can download binary packages for OpenBLAS at\n[SourceForge](http://sourceforge.net/projects/openblas/files/).\n\nIf you want to use a different BLAS package such as the Intel MKL you can\nadjust the `CGO_LDFLAGS` variable:\n```sh\n  CGO_LDFLAGS=\"-lmkl_rt\" go install github.com/gonum/blas/cgo\n```\n\nOn OS X the easiest solution is to use the libraries provided by the system:\n```sh\n  CGO_LDFLAGS=\"-framework Accelerate\" go install github.com/gonum/blas/cgo\n```\n\n## Packages\n\n### blas\n\nDefines [BLAS API](http://www.netlib.org/blas/blast-forum/cinterface.pdf) split in several\ninterfaces.\n\n### blas/native\n\nGo implementation of the BLAS API (incomplete, implements the `float32` and `float64` API)\n\n### blas/cgo\n\nBinding to a C implementation of the cblas interface (e.g. ATLAS, OpenBLAS, Intel MKL)\n\nThe recommended (free) option for good performance on both Linux and Darwin is OpenBLAS.\n\n### blas/blas64 and blas/blas32\n\nWrappers for an implementation of the double (i.e., `float64`) and single (`float32`)\nprecision real parts of the blas API\n\n```Go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/gonum/blas/blas64\"\n)\n\nfunc main() {\n\tv := blas64.Vector{Inc: 1, Data: []float64{1, 1, 1}}\n\tfmt.Println(\"v has length:\", blas64.Nrm2(len(v.Data), v))\n}\n```\n\n### blas/cblas128 and blas/cblas64\n\nWrappers for an implementation of the double (i.e., `complex128`) and single (`complex64`) \nprecision complex parts of the blas API\n\nCurrently blas/cblas64 and blas/cblas128 require blas/cgo.\n\n## Issues\n\nIf you find any bugs, feel free to file an issue on the github issue tracker.\nDiscussions on API changes, added features, code review, or similar requests\nare preferred on the [gonum-dev Google Group](https://groups.google.com/forum/#!forum/gonum-dev).\n\n## License\n\nPlease see [github.com/gonum/license](https://github.com/gonum/license) for general\nlicense information, contributors, authors, etc on the Gonum suite of packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhs%2Fblas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhs%2Fblas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhs%2Fblas/lists"}