Giter Site home page Giter Site logo

blitzpp / blitz Goto Github PK

View Code? Open in Web Editor NEW
398.0 29.0 83.0 20.04 MB

Blitz++ Multi-Dimensional Array Library for C++

Home Page: https://github.com/blitzpp/blitz/wiki

License: Other

C++ 71.16% Fortran 2.26% Forth 0.04% MATLAB 0.07% Shell 0.38% C 3.44% Python 2.83% HTML 12.18% TeX 0.36% M4 0.03% Roff 6.18% CMake 1.07%
blitz array-manipulations tensor array vector cpp-library scientific-computing high-performance hpc template-metaprogramming

blitz's Introduction

Github Actions Build Status Windows Build status

IMPORTANT NOTICE

Blitz++ written for the C++98 standard, and is not able to make use of the substantial benefits that came with C++11. Although it works as well as ever, as of 2024, Blitz++ is thoroughly obsolete, which results in a number of annoyances when using it in modern C++ code.

In the meantime, Fortran-90 / NumPy style arrays have received high-level thought in the C++ Standards community, resulting in std::mdspan. I highly recommend anyone starting a new project to consider this alternative before using Blitz++. MDSpan is part of C++23 and in theory should be supported by popular compilers "out of the box." If your C++ compiler does not (yet) support MDSpan, I would try using the publicly available Reference Implemenation. Here is more information on MDSpan:

Blitz++ has not received new features for many years, and will not going forward either. However, it is likely to be required for many years by a number of existing projects, and is provided here for users and developers of those projects.

Overview

Blitz++ is a C++ template class library that provides high-performance multidimensional array containers for scientific computing.

Blitz++ has gone through some changes in location:

  1. The original Blitz++ website was located at http://oonumerics.org/blitz (archived at http://www.math.unipd.it/~michela/OP.htm).

  2. Blitz++ then moved to SourceForge, at http://www.sourceforge.net/projects/blitz.

  3. The latest maintained version of Blitz++ is now on GitHub, at https://github.com/blitzpp/blitz

Diverse information on Blitz++ is now being catalogued at the GitHub wiki: http://github.com/blitzpp/blitz/wiki/

Licensing information is detailed in the LEGAL file. Summary: you can do anything except sell this library in source form. Blitz is licensed under either the Lesser GPL version 3 license (see COPYING and COPYING.LESSER), the BSD license (see COPYRIGHT), and the less restrictive Perl "artistic license" version 2.0 (see LICENSE).

Blitz++ uses CMake for build, test and installation automation. For details on using CMake consult https://cmake.org/documentation/ In short, the following steps should work on UNIX-like systems:

  mkdir build
  cd build
  cmake ..
  make lib
  sudo make install

On Windows try:

  md build
  cd build
  cmake ..
  cmake --build . --config Release
  cmake --build . --target install

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.