Add interp and repmat function.
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
#include "Matrix.h"
|
||||
|
||||
namespace Aurora {
|
||||
|
||||
enum InterpnMethod
|
||||
{
|
||||
Spline=0,Linear
|
||||
};
|
||||
|
||||
Matrix complex(const Matrix& matrix);
|
||||
|
||||
Matrix real(const Matrix& matrix);
|
||||
@@ -34,6 +40,12 @@ namespace Aurora {
|
||||
Matrix sign(const Matrix& matrix);
|
||||
|
||||
Matrix sign(const Matrix&& matrix);
|
||||
|
||||
Matrix interp1(const Matrix& aX, const Matrix& aV, const Matrix& aX1, InterpnMethod aMethod);
|
||||
|
||||
Matrix repmat(const Matrix& aMatrix,int aRowTimes, int aColumnTimes);
|
||||
|
||||
Matrix repmat(const Matrix& aMatrix,int aRowTimes, int aColumnTimes, int aSliceTimes);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user