Giter Site home page Giter Site logo

hcephes's Introduction

hcephes

Travis

The Netlib Cephes library reformatted for the 21st century.

Install

The easiest way of installing it is via conda

conda install -c conda-forge hcephes

Alternatively, one can compile and install it. From Linux, MacOS, or Windows (bash terminal) systems, enter

# DO_CMD=sudo
curl -fsSL https://git.io/JerYI | GITHUB_USER=limix GITHUB_PROJECT=hcephes bash

Usage

It requires you to provide the library name hcephes to your linker and the path inclusion of its hcephes.h header to your compiler. For example, suppose you on MacOS and you are using gcc. A C file like

/* example.c */
#include "hcephes.h"

#include <stdio.h>
#include <stdlib.h>

int main() {
    printf("%f\n", hcephes_bdtr(4, 5, 0.25));
    return 0;
}

might require the following command to create an executable file:

gcc example.c -lhcephes -I/usr/local/include -o example

For the complete list of the available functions, we refer the reader to include/hcephes.h file itself and to the cephes library documentation.

CMake

Add the following to your CMakeLists.txt:

find_package(hcephes REQUIRED)

target_link_libraries(mylib PRIVATE HCEPHES::hcephes)

Authors

License

This project is licensed under the MIT License.

hcephes's People

Contributors

horta avatar

Stargazers

DAVID MAY avatar  avatar Jon Cavallie Mester avatar Leandro Lacerda Campos avatar Igor Macedo Quintanilha avatar Athan avatar

Watchers

 avatar James Cloos avatar Athan avatar

Forkers

aptx00 relaxar

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.