mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-05 05:17:47 +08:00
36 lines
522 B
C++
36 lines
522 B
C++
/*
|
|
* ATAN.h
|
|
*
|
|
* Copyright (c) 2019 hikyuu.org
|
|
*
|
|
* Created on: 2019-5-1
|
|
* Author: fasiondog
|
|
*/
|
|
|
|
#ifndef INDICATOR_CRT_ATAN_H_
|
|
#define INDICATOR_CRT_ATAN_H_
|
|
|
|
#include "CVAL.h"
|
|
|
|
namespace hku {
|
|
|
|
/**
|
|
* 反正切值
|
|
* @ingroup Indicator
|
|
*/
|
|
Indicator HKU_API ATAN();
|
|
Indicator ATAN(price_t);
|
|
Indicator ATAN(const Indicator& ind);
|
|
|
|
inline Indicator ATAN(const Indicator& ind) {
|
|
return ATAN()(ind);
|
|
}
|
|
|
|
inline Indicator ATAN(price_t val) {
|
|
return ATAN(CVAL(val));
|
|
}
|
|
|
|
}
|
|
|
|
#endif /* INDICATOR_CRT_ATAN_H_ */
|