All Projects → arguiot → Euler

arguiot / Euler

Licence: MIT License
The open-source computational framework for the Swift language

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Euler

Math Php
Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
Stars: ✭ 2,009 (+5329.73%)
Mutual labels:  statistics, algebra, math, mathematics
Mather
zzllrr mather(an offline tool for Math learning, education and research)小乐数学,离线可用的数学学习(自学或教学)、研究辅助工具。计划覆盖数学全部学科的解题、作图、演示、探索工具箱。目前是演示Demo版(抛转引玉),但已经支持数学公式编辑显示,部分作图功能,部分学科,如线性代数、离散数学的部分解题功能。最终目标是推动专业数学家、编程专家、教育工作者、科普工作者共同打造出更加专业级的Mather数学工具
Stars: ✭ 270 (+629.73%)
Mutual labels:  algebra, math, mathematics
Machine Learning Curriculum
Complete path for a beginner to become a Machine Learning Scientist!
Stars: ✭ 279 (+654.05%)
Mutual labels:  statistics, math, mathematics
Gap
Main development repository for GAP - Groups, Algorithms, Programming, a System for Computational Discrete Algebra
Stars: ✭ 447 (+1108.11%)
Mutual labels:  algebra, math, mathematics
Basic Mathematics For Machine Learning
The motive behind Creating this repo is to feel the fear of mathematics and do what ever you want to do in Machine Learning , Deep Learning and other fields of AI
Stars: ✭ 300 (+710.81%)
Mutual labels:  statistics, algebra, mathematics
Librmath.js
Javascript Pure Implementation of Statistical R "core" numerical libRmath.so
Stars: ✭ 425 (+1048.65%)
Mutual labels:  statistics, math, mathematics
Fermat.js
Mathematics and statistics library for TypeScript.
Stars: ✭ 74 (+100%)
Mutual labels:  statistics, math, mathematics
Stdlib
✨ Standard library for JavaScript and Node.js. ✨
Stars: ✭ 2,749 (+7329.73%)
Mutual labels:  statistics, math, mathematics
Mathematics for Machine Learning
Learn mathematics behind machine learning and explore different mathematics in machine learning.
Stars: ✭ 28 (-24.32%)
Mutual labels:  algebra, math, mathematics
maths-for-deep-learning-ai
A open source book covering the foundational maths of deep learning and machine learning using TensorFlow
Stars: ✭ 35 (-5.41%)
Mutual labels:  math, mathematics
math eval
✖️➕➖➗ `math_eval` safely evaluates mathematical expressions
Stars: ✭ 33 (-10.81%)
Mutual labels:  math, mathematics
rclc
Mathematical expression calculator with big integers, floats, common fractions, and complex numbers support
Stars: ✭ 24 (-35.14%)
Mutual labels:  math, mathematics
Symbolic-computation-Python
Symbolic computation using SymPy and various applications
Stars: ✭ 18 (-51.35%)
Mutual labels:  algebra, symbolic-computation
mish
A no-std libm implementation in Rust
Stars: ✭ 14 (-62.16%)
Mutual labels:  math, mathematics
Project-Euler
Send PRs to contribute and see the Codemasters solving some really mind boggling questions.
Stars: ✭ 21 (-43.24%)
Mutual labels:  euler, mathematics
string-math
Evaluates a math expression from a string. Supports variables and custom operators.
Stars: ✭ 14 (-62.16%)
Mutual labels:  math, mathematics
swm-core
Pure Math in Pure Swift.
Stars: ✭ 190 (+413.51%)
Mutual labels:  algebra, mathematics
Program-Matematika
Program Matematika adalah sebuah repository GitHub yang berisi program yang dapat memudahkan para pelajar atau guru dalam menyelesaikan masalah Matematika dengan Terminal
Stars: ✭ 15 (-59.46%)
Mutual labels:  math, mathematics
tukey
Mini stats toolkit for Clojure/Script
Stars: ✭ 17 (-54.05%)
Mutual labels:  math, mathematics
autodiff
A .NET library that provides fast, accurate and automatic differentiation (computes derivative / gradient) of mathematical functions.
Stars: ✭ 69 (+86.49%)
Mutual labels:  math, mathematics
Logo

Euler

A computanional framework written in Swift

Euler is a mathematical framework that is packed up with tons of useful mathematical functions. It is composed of functions in most mathematical fields such as algebra, number theory, statistics, etc... It was designed to help you turn your computer into a mathematical guru.

Links

Installation

You can use the following options to install Euler, but we recommend using CocoaPods or SPM.

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Euler into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'Euler', '~> 0.3.7'

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Euler into your Xcode project using Carthage, specify it in your Cartfile:

github "arguiot/Euler" ~> 0.3.7

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but Euler does support its use on supported platforms.

Once you have your Swift package set up, adding Euler as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/arguiot/Euler.git", .upToNextMajor(from: "0.3.7"))
]

Manually

If you prefer not to use any of the aforementioned dependency managers, you can integrate Euler into your project manually.

Embedded Framework

  • Open up Terminal, cd into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:

    $ git init
  • Add Euler as a git submodule by running the following command:

    $ git submodule add https://github.com/arguiot/Euler.git
  • Open the new Euler folder, and drag the Euler.xcodeproj into the Project Navigator of your application's Xcode project.

    It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.

  • Select the Euler.xcodeproj in the Project Navigator and verify the deployment target matches that of your application target.

  • Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.

  • In the tab bar at the top of that window, open the "General" panel.

  • Click on the + button under the "Embedded Binaries" section.

  • You will see two different Euler.xcodeproj folders each with two different versions of the Euler.framework nested inside a Products folder.

    It does not matter which Products folder you choose from, but it does matter whether you choose the top or bottom Euler.framework.

  • Select the top Euler.framework for iOS and the bottom one for macOS.

    You can verify which one you selected by inspecting the build log for your project. The build target for Euler will be listed as either Euler iOS, Euler macOS, Euler tvOS or Euler watchOS.

  • And that's it!

    The Euler.framework is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.

Showcase

Here is a list of apps using Euler to work (not exhaustive)

Euclid

Euclid Calculator

Euclid is a modern and fully featured calculator for macOS that aims to replace the default calculation app. Euclid uses Euler to parse and evaluate every calculations. It relies heavily on the Algebra and Tables modules.

Project

Inspiration

The project was largely inspired by:

Why Swift

In retrospect, it isn’t a surprise that Swift is a good fit for the needs of this project. Swift was designed and built by a close-knit team. That team previously built a highly modular and composable compiler infrastructure (LLVM), a compiler and runtime for a highly dynamic Smalltalk-derived language (Objective-C), the compiler for a highly static language with a capable generics system (C++), and a path-sensitive static analysis engine (the Clang static analyzer). Furthermore, the goals for Swift’s design was to build something that was as easy to learn and use as a scripting language, but which had enough power to be used as a system’s programming language.

Swift was the perfect language, because of its performance, modularity, easy to read syntax and concurrency APIs. Swift aims to maximize clarity of code, and thus it fights to reduce boilerplate. The top-end goal of Swift is to optimize the time it takes to write and maintain the project, which includes debugging time and other things that go beyond just pounding out the code.

Goal

Euler aims to provide provide the building blocks of numerical computing in Swift, as a set of fine-grained modules bundled together into a single Swift package. Euler is intended to be used to experiment with Swift and with its math capabilities. It also aims to serve as an algorithm database that could be ported to other languages.

Organization

Euler is built around two main objects: BigDouble and BigInt. They are both used to represent big numbers with precision. You can see Euler as a set of modules:

  • Numerics: BigDouble / BigInt & more

    Helps to work with numbers

  • Algebra: Expression

    Helps parsing and working with mathematical expressions

  • Tables

    Tables was made for developing Excel-like software / parser.

  • Statistics

    Statistics was designed to help with the mathematics of the collection, organization, and interpretation of numerical data, especially the analysis of population characteristics by inference from sampling.

  • Visualisation & Geometry (Graph)

    Utility for visualizing any set of Point using SwiftPlot.

  • Matrix & Vectors

    Simple Matrix/Vector type. ⚠️ It only works on Apple devices, where Accelerate is supported.

  • Cryptography

    Basic crypto algorithm implemented. We don’t recommend using this in production as this is more for experimental purpose.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].