-
-
Save taless474/730c5101b6f2fdfb9e5edc75faf54188 to your computer and use it in GitHub Desktop.
tril_Lower
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <blaze/Math.h> | |
int main() | |
{ | |
blaze::DynamicMatrix<double> src{ { 3.0, 0.0, -2.0 }, | |
{ 8.0, 0.0, 0.0 }, | |
{ -2.0, -1.0, 4.0 } }; | |
blaze::DynamicMatrix<double> m = blaze::LowerMatrix<blaze::DynamicMatrix<double>>(src); | |
std::cout << src << std::endl; | |
std::cout << m << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment