Add Function1D, Function2D, Function3D files.
This commit is contained in:
40
src/Function1D.h
Normal file
40
src/Function1D.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user