Zephyr Scientific Library (zscilib)
Macros | Typedefs | Variables
zsl.h File Reference

API header file for zscilib. More...

#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <zsl/consts.h>

Go to the source code of this file.

Macros

#define ZSL_VERSION   "0.2.0-rc1"
 
#define ZSL_VERSION_MAJOR   0
 
#define ZSL_VERSION_MINOR   2
 
#define ZSL_VERSION_REVISION   0
 
#define ZSL_VERSION_STATUS   "-rc1"
 
#define ZSL_VERSION_DATE   __DATE__
 
#define ZSL_CEIL   ceil
 
#define ZSL_FLOOR   floor
 
#define ZSL_ROUND   round
 
#define ZSL_ABS   fabs
 
#define ZSL_MIN   fmin
 
#define ZSL_MAX   fmax
 
#define ZSL_POW   pow
 
#define ZSL_EXP   exp
 
#define ZSL_LOG   log
 
#define ZSL_LOG10   log10
 
#define ZSL_SQRT   sqrt
 
#define ZSL_SIN   sin
 
#define ZSL_COS   cos
 
#define ZSL_TAN   tan
 
#define ZSL_ASIN   asin
 
#define ZSL_ACOS   acos
 
#define ZSL_ATAN   atan
 
#define ZSL_ATAN2   atan2
 
#define ZSL_SINH   sinh
 
#define ZSL_COSH   cosh
 
#define ZSL_TANH   tanh
 
#define ZSL_ERF   erf
 
#define ZSL_FMA   fma
 

Typedefs

typedef double zsl_real_t
 

Variables

const char * zsl_version
 

Detailed Description

API header file for zscilib.

This file contains the entry points to the zscilib APIs.

Definition in file zsl.h.

Macro Definition Documentation

◆ ZSL_ABS

#define ZSL_ABS   fabs

Definition at line 84 of file zsl.h.

◆ ZSL_ACOS

#define ZSL_ACOS   acos

Definition at line 96 of file zsl.h.

◆ ZSL_ASIN

#define ZSL_ASIN   asin

Definition at line 95 of file zsl.h.

◆ ZSL_ATAN

#define ZSL_ATAN   atan

Definition at line 97 of file zsl.h.

◆ ZSL_ATAN2

#define ZSL_ATAN2   atan2

Definition at line 98 of file zsl.h.

◆ ZSL_CEIL

#define ZSL_CEIL   ceil

Definition at line 81 of file zsl.h.

◆ ZSL_COS

#define ZSL_COS   cos

Definition at line 93 of file zsl.h.

◆ ZSL_COSH

#define ZSL_COSH   cosh

Definition at line 100 of file zsl.h.

◆ ZSL_ERF

#define ZSL_ERF   erf

Definition at line 102 of file zsl.h.

◆ ZSL_EXP

#define ZSL_EXP   exp

Definition at line 88 of file zsl.h.

◆ ZSL_FLOOR

#define ZSL_FLOOR   floor

Definition at line 82 of file zsl.h.

◆ ZSL_FMA

#define ZSL_FMA   fma

Definition at line 103 of file zsl.h.

◆ ZSL_LOG

#define ZSL_LOG   log

Definition at line 89 of file zsl.h.

◆ ZSL_LOG10

#define ZSL_LOG10   log10

Definition at line 90 of file zsl.h.

◆ ZSL_MAX

#define ZSL_MAX   fmax

Definition at line 86 of file zsl.h.

◆ ZSL_MIN

#define ZSL_MIN   fmin

Definition at line 85 of file zsl.h.

◆ ZSL_POW

#define ZSL_POW   pow

Definition at line 87 of file zsl.h.

◆ ZSL_ROUND

#define ZSL_ROUND   round

Definition at line 83 of file zsl.h.

◆ ZSL_SIN

#define ZSL_SIN   sin

Definition at line 92 of file zsl.h.

◆ ZSL_SINH

#define ZSL_SINH   sinh

Definition at line 99 of file zsl.h.

◆ ZSL_SQRT

#define ZSL_SQRT   sqrt

Definition at line 91 of file zsl.h.

◆ ZSL_TAN

#define ZSL_TAN   tan

Definition at line 94 of file zsl.h.

◆ ZSL_TANH

#define ZSL_TANH   tanh

Definition at line 101 of file zsl.h.

◆ ZSL_VERSION

#define ZSL_VERSION   "0.2.0-rc1"

Definition at line 39 of file zsl.h.

◆ ZSL_VERSION_DATE

#define ZSL_VERSION_DATE   __DATE__

Definition at line 44 of file zsl.h.

◆ ZSL_VERSION_MAJOR

#define ZSL_VERSION_MAJOR   0

Definition at line 40 of file zsl.h.

◆ ZSL_VERSION_MINOR

#define ZSL_VERSION_MINOR   2

Definition at line 41 of file zsl.h.

◆ ZSL_VERSION_REVISION

#define ZSL_VERSION_REVISION   0

Definition at line 42 of file zsl.h.

◆ ZSL_VERSION_STATUS

#define ZSL_VERSION_STATUS   "-rc1"

Definition at line 43 of file zsl.h.

Typedef Documentation

◆ zsl_real_t

typedef double zsl_real_t

Definition at line 51 of file zsl.h.

Variable Documentation

◆ zsl_version

const char* zsl_version

Definition at line 9 of file zsl.c.