Loading...
Searching...
No Matches
gpr::linalg::DistributedState::CholeskyFactorSnapshot Struct Reference

#include <gpr/linalg/DistributedState.h>

Public Member Functions

bool valid () const noexcept
void clear () noexcept

Public Attributes

std::vector< double > values
std::array< int, 9 > descriptor {}
int order = 0

Detailed Description

Definition at line 74 of file DistributedState.h.

Member Function Documentation

◆ clear()

void gpr::linalg::DistributedState::CholeskyFactorSnapshot::clear ( )
inlinenoexcept

◆ valid()

bool gpr::linalg::DistributedState::CholeskyFactorSnapshot::valid ( ) const
inlinenodiscardnoexcept

Definition at line 79 of file DistributedState.h.

80 {
81 // A global factor can have no entries on an idle rank.
82 return order > 0 && descriptor[2] == order &&
83 descriptor[3] == order && descriptor[8] > 0;
84 }

Member Data Documentation

◆ descriptor

std::array<int, 9> gpr::linalg::DistributedState::CholeskyFactorSnapshot::descriptor {}

Definition at line 76 of file DistributedState.h.

76{};

◆ order

int gpr::linalg::DistributedState::CholeskyFactorSnapshot::order = 0

Definition at line 77 of file DistributedState.h.

◆ values

std::vector<double> gpr::linalg::DistributedState::CholeskyFactorSnapshot::values

Definition at line 75 of file DistributedState.h.


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