LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Classes | Functions
lsst::afw::table::detail Namespace Reference

Classes

struct  FlagExtractor
 Functor to compute a flag bit, used to create an ndarray expression template for flag columns. More...
 
struct  KeyComparisonFunctor
 
struct  ComparisonAdaptor
 
struct  KeyExtractionFunctor
 
class  Access
 
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

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

Defines the packed size of a covariance matrices.

Definition at line 36 of file FieldBase.h.

36  {
37  return size * (size + 1) / 2;
38 }
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 31 of file FieldBase.h.

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