41 lines
754 B
C
41 lines
754 B
C
|
|
#ifndef AURORA_FUNCTION1D_H
|
|||
|
|
#define AURORA_FUNCTION1D_H
|
|||
|
|
|
|||
|
|
#include "Matrix.h"
|
|||
|
|
|
|||
|
|
namespace Aurora {
|
|||
|
|
Matrix complex(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix real(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix imag(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix ceil(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix ceil(const Matrix&& matrix);
|
|||
|
|
|
|||
|
|
Matrix round(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix round(const Matrix&& matrix);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 开根号,暂时只支持正整数
|
|||
|
|
* @param matrix
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
Matrix sqrt(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix sqrt(const Matrix&& matrix);
|
|||
|
|
|
|||
|
|
Matrix abs(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix abs(const Matrix&& matrix);
|
|||
|
|
|
|||
|
|
Matrix sign(const Matrix& matrix);
|
|||
|
|
|
|||
|
|
Matrix sign(const Matrix&& matrix);
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endif //AURORA_FUNCTION1D_H
|