An error occurred while loading the file. Please try again.
-
DockerZK authored
When "helm.sh/hook-delete-policy: hook-succeeded" is provided in a hook's annotation, Tiller will automatically delete the hook after the hook is succeeded. When "helm.sh/hook-delete-policy: hook-failed" is provided in a hook's annotation, Tiller will automatically delete the hook after the hook is failed. Closes #1769
734b1245
#include <iostream>
#include "matrix.cpp"
#include <iomanip>
#include <string>
#include <initializer_list>
using namespace std;
int main()
{
/*linalg::Matrix a(4,4);
linalg::Matrix b(4,4);
linalg::Matrix a = { {1,2,3},{4,5,6},{3,3} };
linalg::Matrix a = { {1,2,3},{4,5,6}};
cout << a;
linalg::Matrix b = transpose(a);
cout << b;
a(1, 1) = 10;
cout << a;*/
linalg::Matrix a = { { 1,2,3 }, { 2,-1,2 } };
cout << a;
//linalg::Matrix b = { { 1,4 }, { 2,5} };
a.gauss_forward();
cout << a;
//cout << b;
//Matrix c(4,4);
//try {
// a -=b;
//}
//catch (std::runtime_error& error) {
// cout << error.what() << endl;
//}
//if (a != b) {
// cout << "good!!!" << endl;
//}
////linalg::Matrix b(std::move(a));
//cout << a;
return 0;
}