Add vecnorm and vecnorm's unittest.

Add norm function with complex support.
This commit is contained in:
sunwen
2023-04-26 11:17:15 +08:00
parent d1389df8a4
commit 7693ce9f9e
3 changed files with 98 additions and 5 deletions

View File

@@ -70,6 +70,8 @@ namespace Aurora {
Matrix horzcat(const Matrix& aMatrix1, const Matrix& aMatrix2);
Matrix vecnorm(const Matrix& aMatrix, NormMethod aNormMethod, int aDim);
/**
* 多项式计算
* @brief 例如p[1 0 1],x[3 2 5],代表对多项式 y = x^2 + 1 求(x=3, x=2, x=5)时所有的y