Added pow.

This commit is contained in:
James Goppert
2016-02-26 03:39:04 -05:00
parent 95e3d7d6ce
commit 15865897d5
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ int main()
v2.normalize();
Vector<float, 5> v3(v2);
TEST(v2 == v3);
float data1_sq[] = {1,4,9,16,25};
Vector<float, 5> v4(data1_sq);
TEST(v1 == v4.pow(0.5));
return 0;
}