Giter Site home page Giter Site logo

scientificc / cmathl Goto Github PK

View Code? Open in Web Editor NEW
44.0 3.0 5.0 1.58 MB

A pure-C math library with a great variety of mathematical functions. Seeks to be close to C89/C90 compliant for portability.

Home Page: https://scientificc.github.io/cmathl/

License: MIT License

C 65.88% C++ 0.38% CMake 2.02% Shell 0.28% Batchfile 0.04% Perl 31.40%
c math-library cml complex real math-functions cmake configuration-macros mathematical-functions

cmathl's People

Contributors

lukasgelbmann avatar timgates42 avatar ulises-jeremias avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cmathl's Issues

cmake error

git clone https://github.com/ScientificC/cmathl.git
cd cmathl
mkdir build && cd build
 cmake ..
-- The C compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Using math functions aliases
-- Using stdbool.h
-- Using stdint.h
-- Using math.h
-- No CMAKE_BUILD_TYPE specified, using default RELEASE
-- Built type is set to Release
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SCIC_ERRNO_LIB
    linked by target "cml" in directory /media/Coding/C/cmathl/cml/src
    linked by target "cml_static" in directory /media/Coding/C/cmathl/cml/src

-- Configuring incomplete, errors occurred!

Running Statistics

Running Statistics

I want to start the development of the module to compute running statistics. The truth is that at the moment I have no plans to implement anything that does not already exist in other libraries, but I would like this to not be the case. That is why I start this issue asking for contributions to this module, be it ideas, implementation and discussions about the development of this module.

Contributing

Those who wish to contribute to this module are asked to discuss the implementation of existing methods as well as the suggestion and development of new ones.

Building cmake file issue

I tried to build CMake file but I run across a problem.

cmake ..
-- Using math functions aliases
-- Using stdbool.h
-- Using stdint.h
-- Using math.h
-- No CMAKE_BUILD_TYPE specified, using default RELEASE
-- Built type is set to Release
CMake Error at cml/src/CMakeLists.txt:49 (find_library):
  Could not find SCIC_ERRNO_LIB using the following names: scic-errno



-- Configuring incomplete, errors occurred!
See also "/home/axe/git_clones/cmathl/build/CMakeFiles/CMakeOutput.log".

I think the problem which libraries collapse. Why this happening...

  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] ==> [/usr/lib]

Here, complete output.
CMakeOutput.log

One Dimensional Root-Finding

One Dimensional Root-Finding

Feature

Currently I am developing the routines for finding roots of arbitrary one-dimensional functions.
The idea is to offer simple functions that allow it, without the need to implement a robust search system such as workspaces and a little bigger structures like thoose.

Discussion

Since I do not have much knowledge about the different existing methods for the search of roots, would be grateful for any type of contribution that could be made.

In the first comment I show the methods that I plan to implement in this new feature as well as the prototype of each of them with the idea that each one of them is up for discussion.

Contributing

Those who wish to contribute to this module are asked to discuss the implementation of existing methods as well as the suggestion and development of new ones.

Configurable header files

The main idea is to generate the header files to be installed in the system after detecting the optimal configuration for the machine. For this it is suggested to see how to do it with CMake.

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.