LSSTApplications  19.0.0-10-g4a5fae6+20,20.0.0,20.0.0+1,20.0.0+2,20.0.0+3,20.0.0+6,20.0.0+7,20.0.0-1-g10df615+5,20.0.0-1-g253301a+2,20.0.0-1-g32a200e+5,20.0.0-1-g596936a+5,20.0.0-1-g8a53f90,20.0.0-1-g98ac625,20.0.0-1-gc96f8cb+6,20.0.0-1-gd1c87d7,20.0.0-15-g34741e2,20.0.0-2-g92e20685+6,20.0.0-2-gec03fae,20.0.0-3-g082faa5,20.0.0-3-g2fa8bb8+2,20.0.0-4-gde602ef96+1,20.0.0-4-ge48a6ca,20.0.0-7-g180d0f2+1,20.0.0-8-g7eef53f7+1,w.2020.26
LSSTDataManagementBasePackage
Classes | Functions
lsst::afw::table::detail Namespace Reference

Classes

class  Access
 
struct  ComparisonAdaptor
 
struct  FlagExtractor
 Functor to compute a flag bit, used to create an ndarray expression template for flag columns. More...
 
struct  KeyComparisonFunctor
 
struct  KeyExtractionFunctor
 
struct  RecordData
 Helper struct that contains the information passed from BaseTable to BaseRecord at construction. More...
 
class  SchemaImpl
 A private implementation class to hide the messy details of Schema. More...
 
class  SchemaMapperImpl
 A private implementation class to hide the messy details of SchemaMapper. More...
 

Functions

int indexCovariance (int i, int j)
 Defines the ordering of packed covariance matrices. More...
 
int computeCovariancePackedSize (int size)
 Defines the packed size of a covariance matrices. More...
 

Function Documentation

◆ computeCovariancePackedSize()

int lsst::afw::table::detail::computeCovariancePackedSize ( int  size)
inline

Defines the packed size of a covariance matrices.

Definition at line 35 of file FieldBase.h.

35 { return size * (size + 1) / 2; }

◆ indexCovariance()

int lsst::afw::table::detail::indexCovariance ( int  i,
int  j 
)
inline

Defines the ordering of packed covariance matrices.

This storage is equivalent to LAPACK 'UPLO=U'.

Definition at line 32 of file FieldBase.h.

32 { return (i < j) ? (i + j * (j + 1) / 2) : (j + i * (i + 1) / 2); }