🍺 BREW Explorer

← all formulae

cotila

brew install cotila v1.2.1 Apache-2.0

Compile-time linear algebra system for C++

1
30-day installs · #17433
1
90-day · #21320
5
365-day · #22261
122
★ GitHub stars · updated 4y ago

Build dependencies

GitHub topics

blas compile-time constexpr linear-algebra

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Compile-time linear algebra system for C++",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:37+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "cotila",
  "github_default_branch": "master",
  "github_last_commit_at": "2021-10-11T14:10:56Z",
  "github_readme_excerpt": "\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"logo.svg\" width=\"30%\" height=\"auto\"\u003e\n\n[![Build Status](https://github.com/calebzulawski/cotila/workflows/Test/badge.svg)](https://github.com/calebzulawski/cotila/actions)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![GitHub release](https://img.shields.io/github/release/calebzulawski/cotila.svg)](https://github.com/calebzulawski/cotila/releases)\n\n\u003c/div\u003e\n\n## Overview\n\nCotila (**co**mpile-**ti**me **l**inear **a**lgebra) is a header-only library that provides a set of linear algebra functions in C++ intended for use during compile time. \nAll functions available in Cotila are ***constexpr***, meaning they can be used at compile-time to generate constants and lookup tables in a type-safe, readable, and maintainable manner.\n\n## Installation\n\nCotila is a header-only library.  Simply point your compiler to include the `include/` directory.\n\nIf you are using CMake, you can also import the `cotila::cotila` library.\n\nCode must be compiled with at least C++17 support to use Cotila.\n\n## Documentation\n\nThe current documentaiton is [available online](https://calebzulawski.github.io/cotila/).\n\nThe documentation can also be built with CMake and Doxygen:\n```bash\ncmake -D BUILD_DOCS=ON -B build .\ncmake --build build --target doc\n```\n\n## Quickstart Guide\n\nTo use Cotila, all you need to do is `#include \u003ccotila/cotila.h\u003e`.  This header will include all of the headers provided by Cotila.\n\nThe Cotila interface is designed around operations commonly found in BLAS or MATLAB and should be simple and predictable.\n\n### Types\n\nCotila provides support for three types: **scalars**, **vectors**, and **matrices**.\n\n**Scalars** are represented by fundamental types, such as `float` or `double`, as well as `std::complex`.  Cotila provides a variety of operations that manipulate scalar types.  In some cases, such as square roots, a standard library implementation already exists but it is not `cons",
  "github_repo": "calebzulawski/cotila",
  "github_stars": 122,
  "github_topics": [
    "blas",
    "compile-time",
    "constexpr",
    "linear-algebra"
  ],
  "homepage": "https://github.com/calebzulawski/cotila",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 1,
  "installs_365d": 5,
  "installs_90d": 1,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "cotila",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 17433,
  "rank_365d": 22261,
  "rank_90d": 21320,
  "raw_hash": "d5fee41cc20c9223",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/cotila.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.2.1",
  "versioned_formulae": [],
  "why_use_this": null
}