https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
utils
MatrixTools.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "
MooseTypes.h
"
13
#include <petsc.h>
14
#include <vector>
15
16
namespace
MatrixTools
17
{
26
void
inverse
(
const
std::vector<std::vector<Real>> & m, std::vector<std::vector<Real>> & m_inv);
27
36
void
inverse
(std::vector<PetscScalar> & A,
unsigned
int
n);
37
}
MooseTypes.h
MatrixTools
Definition
MatrixTools.h:17
MatrixTools::inverse
void inverse(const std::vector< std::vector< Real > > &m, std::vector< std::vector< Real > > &m_inv)
Inverse the dense square matrix m using LAPACK routines.
Definition
MatrixTools.C:23
Generated on Fri Aug 21 2026 13:33:52 for https://mooseframework.inl.gov by
1.9.8