funcy  1.6.1
Public Member Functions | List of all members
funcy::linalg::SecondPrincipalInvariant< Mat > Class Template Reference

#include <principal_invariants.h>

Inheritance diagram for funcy::linalg::SecondPrincipalInvariant< Mat >:
Inheritance graph
[legend]
Collaboration diagram for funcy::linalg::SecondPrincipalInvariant< Mat >:
Collaboration graph
[legend]

Public Member Functions

 SecondPrincipalInvariant (const Mat &A)
 Constructor. More...
 
void update (const Mat &A)
 Reset matrix to compute second principal invariant from.
 
auto d0 () const noexcept
 Value of the second principal invariant.
 
auto d1 (const Mat &dA1) const
 First directional derivative. More...
 
auto d2 (const Mat &dA1, const Mat &dA2) const
 Second directional derivative. More...
 

Detailed Description

template<Matrix Mat>
class funcy::linalg::SecondPrincipalInvariant< Mat >

Second principal invariant \( \iota_2(A)=\mathrm{tr}(\mathrm{cof}(A)) \) for \(A\in\mathbb{R}^{n,n}\).

Constructor & Destructor Documentation

◆ SecondPrincipalInvariant()

template<Matrix Mat>
funcy::linalg::SecondPrincipalInvariant< Mat >::SecondPrincipalInvariant ( const Mat &  A)
inline

Constructor.

Parameters
Amatrix to compute second principal invariant from

Member Function Documentation

◆ d1()

template<Matrix Mat>
auto funcy::linalg::SecondPrincipalInvariant< Mat >::d1 ( const Mat &  dA1) const
inline

First directional derivative.

Parameters
dA1direction for which the derivative is computed

◆ d2()

template<Matrix Mat>
auto funcy::linalg::SecondPrincipalInvariant< Mat >::d2 ( const Mat &  dA1,
const Mat &  dA2 
) const
inline

Second directional derivative.

Parameters
dA1direction for which the derivative is computed
dA2direction for which the derivative is computed

The documentation for this class was generated from the following file: