All Projects → fortran-fans → forlab

fortran-fans / forlab

Licence: other
Forlab is a Fortran module that provides a lot of functions for scientific computing mostly inspired by Matlab and Python's package NumPy.

Programming Languages

fortran
972 projects

Projects that are alternatives of or similar to forlab

rudash
Rudash - Lodash for Ruby Apps
Stars: ✭ 27 (+3.85%)
Mutual labels:  functions
AzureFunctions-Workshop
Multi-language Azure Functions Workshop
Stars: ✭ 20 (-23.08%)
Mutual labels:  functions
ServerlessDeviceOfflineDetection
How to detect device status with Azure Durable Entities
Stars: ✭ 21 (-19.23%)
Mutual labels:  functions
messaging
Conveniently issue messages, warnings, and errors
Stars: ✭ 12 (-53.85%)
Mutual labels:  functions
Data-Science-Tutorials
Python Tutorials for Data Science
Stars: ✭ 104 (+300%)
Mutual labels:  functions
Compute.NET
.NET bindings for native numerical computing
Stars: ✭ 30 (+15.38%)
Mutual labels:  numerical
effepi
Fun functional programming with pipelinable functions
Stars: ✭ 13 (-50%)
Mutual labels:  functions
js-training
JS Training Course
Stars: ✭ 39 (+50%)
Mutual labels:  functions
ctxutil
utils for Go context
Stars: ✭ 18 (-30.77%)
Mutual labels:  functions
vbl
A collection of useful Bash modules to simplify everyday programming
Stars: ✭ 15 (-42.31%)
Mutual labels:  functions
koryphe
A flexible library for writing functional operations in Java
Stars: ✭ 18 (-30.77%)
Mutual labels:  functions
fnmate
A function definition generator.
Stars: ✭ 74 (+184.62%)
Mutual labels:  functions
returnof
TypeScript typeof function return helper
Stars: ✭ 16 (-38.46%)
Mutual labels:  functions
gcf-packs
Library packs for google cloud functions
Stars: ✭ 48 (+84.62%)
Mutual labels:  functions
docker base images
Vlad's Base Images for Docker
Stars: ✭ 61 (+134.62%)
Mutual labels:  fpm
Finite-Difference-Method
A Finite Difference Method Engine in C++
Stars: ✭ 15 (-42.31%)
Mutual labels:  numerical
learning R
List of resources for learning R
Stars: ✭ 32 (+23.08%)
Mutual labels:  functions
VBA-Arrays
😎 Array functions that are similar JavaScript functions. Example: Push, Pop, Shift, Unshift, Sort, length, toString.
Stars: ✭ 48 (+84.62%)
Mutual labels:  functions
THREEg.js
three.js addon to create special or extended geometries. The addon generates indexed or non indexed BufferGeometries.
Stars: ✭ 33 (+26.92%)
Mutual labels:  functions
strings
String helper methods and an inflector
Stars: ✭ 31 (+19.23%)
Mutual labels:  numerical

FORLAB

Actions Status

FORLAB is a Fortran module that provides some functions for scientific computing. It's more like a small toolbox.
FORLAB uses stdlib as an upstream package. FORLAB hopes to be a small scaffolding tool. Compared with stdlib, FORLAB is less formal.

Version: 1.0.2
Author: FORLAB Contributors
Web site: https://github.com/fortran-fans/forlab
API-Doc Web site: https://zoziha.github.io/forlab-API-doc/
Copyright: This document has been placed in the public domain.
License: FORLAB is released under the MIT License.

Getting Started (中文文档)

Get the code

git clone https://github.com/fortran-fans/forlab.git
cd forlab

Supported Compilers

The following combinations are tested on the default branch of forlab:

Name Vesrion Platform Architecture
GCC Fortran(MSYS2) 10 Windows 10 x86_64
GCC Fortran 10 Ubuntu x86_64
GCC Fortran 10 MacOS x86_64

Build with fortran-lang/fpm

Fortran Package Manager (fpm) is a great package manager and build system for Fortran. You can build using provided fpm.toml:

fpm build
fpm test --list
fpm test <test_name, see `fpm.toml` or list>

To use forlab within your fpm project, add the following to fpm.toml file:

[dependencies] # or [dev-dependencies] for tests.
forlab = { git="https://github.com/fortran-fans/forlab.git", branch="forlab-fpm" }

API-Doc

ford API-doc-FORD-file.md  # todo

see forlab-API-doc.

Some examples are prepared in the ./example folder, and you can use fpm to run them.

fpm run --example --list
fpm run --example <demo_name, see `fpm.toml` or list>

More informations

Links

  1. keurfonluu/Forlab
    Forlab is mainly developed by Keurfon Luu originally.
  2. stdlib
    Fortran standard library.
  3. Fortran Generics

Fypp

The original intention of developing the multi-precision library(forlab) is to facilitate the user to switch the program accuracy requirements in a timely manner, which is challenging. We use fypp to build a multi-precision forlab. I have to say that fypp has helped us a lot. I learned that the use of code to generate code is called meta-programming. I also think that metaprogramming has great potential, especially for some low-level polymorphic functions and improving the dynamics of statically compiled languages, which is very helpful.
I hope that fypp will get better and better, and that fortran will natively support meta-programming technology in the future.

The problems we encountered

  1. The adaptability of fortran metaprogramming ability is not strong;
  2. Modular development module and setting submodule should best be combined effectively to improve development efficiency.
  3. We don't want forlab to increase its volume unlimitedly. We hope that it can be used in areas where it can achieve value, such as rapid development of fortran automation applets. So we will keep the forlab lightweight, and update and repair it from time to time.
  4. Fpm currently has some problems and pain points when compiling the program (But we are very optimistic about the potential of fpm):
    • Slow compilation speed. (Improvements in this PR: optimize file listing)
    • Cannot manage and distribute fpm packages well now.
  5. Fortran Generics: Due to the lack of more complete generics, certain functions such as multiple precision and multiple array dimensions cannot be implemented now.
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].