https://github.com/reddec/vmath
Vector math with OpenMP support
https://github.com/reddec/vmath
Last synced: over 1 year ago
JSON representation
Vector math with OpenMP support
- Host: GitHub
- URL: https://github.com/reddec/vmath
- Owner: reddec
- License: mit
- Created: 2015-03-22T11:01:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-23T06:44:48.000Z (over 11 years ago)
- Last Synced: 2025-03-09T00:06:41.152Z (over 1 year ago)
- Language: C++
- Size: 148 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
vmath
=====
Vector math with OpenMP support
Install
=======
Use CMake:
$# cmake
$# make
Build requirements:
- c++ 11 compiler
- OpenMP
- CMake
- Make
- dpkg
- TCLAP
Will be created .deb package with
- `/usr/local/include/vmath.h` - base operations
- Parallel binary operation for each element in vector with
1. Single value
2. Single other vector
3. Multiple others vectors (variadic templates)
- `/usr/local/include/comath.h` - specific functions like Strike-Slip
function
- `/usr/local/bin/comath` - command-line utility
Command line help:
USAGE:
comath [-t] [-v] [-m] [-x] [-s] [-n] [-c ] [-a] [--] [--version]
[-h]
Where:
-t, --total Sum/Min/Max/Avg
-v, --avg Average of numbers
-m, --min Min of numbers
-x, --max Max of numbers
-s, --sum Sum of numbers
-n, --normalize Normalize (/max)
-c , --column Column number
-a, --alter-djonson Calculate Alter-Djonson
--, --ignore_rest Ignores the rest of the labeled arguments following
this flag.
--version Displays version information and exits.
-h, --help Displays usage information and exits.