Loading [MathJax]/extensions/tex2jax.js
LSST Applications g0000d66e7c+4a51730b0a,g0485b4d2cb+be65c9c1d7,g0fba68d861+eb108e5914,g1ec0fe41b4+3ea9d11450,g1fd858c14a+41d169aaf2,g2440f9efcc+8c5ae1fdc5,g35bb328faa+8c5ae1fdc5,g470b45d79c+bb7d8e732a,g4d2262a081+972b13e66a,g53246c7159+8c5ae1fdc5,g55585698de+c657de43f9,g56a49b3a55+7eddd92ad8,g60b5630c4e+c657de43f9,g67b6fd64d1+97cc007aa2,g78460c75b0+7e33a9eb6d,g786e29fd12+668abc6043,g7ac00fbb6c+088e1a4fa9,g8352419a5c+8c5ae1fdc5,g8852436030+3f3bba821f,g89139ef638+97cc007aa2,g94187f82dc+c657de43f9,g989de1cb63+97cc007aa2,g9d31334357+c657de43f9,g9f33ca652e+06d39d8afb,ga815be3f0b+8e7c4d07ad,gabe3b4be73+8856018cbb,gabf8522325+977d9fabaf,gb1101e3267+12c96a40b1,gb89ab40317+97cc007aa2,gc91f06edcd+2ffb87f22b,gcf25f946ba+3f3bba821f,gd6cbbdb0b4+1cc2750d2e,gde0f65d7ad+4ad7118dbf,ge278dab8ac+6b863515ed,ge410e46f29+97cc007aa2,gf35d7ec915+97dd712d81,gf5e32f922b+8c5ae1fdc5,gf67bdafdda+97cc007aa2,w.2025.19
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
lsst::shapelet::ConversionMatrix Class Reference

Conversions between shapelet basis types. More...

#include <ConversionMatrix.h>

Public Member Functions

Eigen::MatrixXd getBlock (int n) const
 Return a block of the block-diagonal conversion matrix.
 
Eigen::MatrixXd buildDenseMatrix () const
 Construct the full conversion matrix (should just be used for testing).
 
void multiplyOnLeft (ndarray::Array< double, 1 > const &array) const
 Multiply the given array by the conversion matrix on the left in-place.
 
void multiplyOnRight (ndarray::Array< double, 1 > const &array) const
 Multiply the given array by the conversion matrix on the right in-place.
 
 ConversionMatrix (BasisTypeEnum input, BasisTypeEnum output, int order)
 Construct a conversion matrix that maps the input basis to the output basis.
 

Static Public Member Functions

static void convertCoefficientVector (ndarray::Array< double, 1 > const &array, BasisTypeEnum input, BasisTypeEnum output, int order)
 Convert a coefficient vector between basis types in-place.
 
static void convertOperationVector (ndarray::Array< double, 1 > const &array, BasisTypeEnum input, BasisTypeEnum output, int order)
 Convert an operation (evaluation, integration) vector between basis types in-place.
 

Detailed Description

Conversions between shapelet basis types.

The basis conversion matrix is block-diagonal and only needs to be computed once, so we cache the blocks in a hidden singleton and provide operations that act on shapelet matrices while taking advantage of the sparseness of the conversion.

Definition at line 42 of file ConversionMatrix.h.

Constructor & Destructor Documentation

◆ ConversionMatrix()

lsst::shapelet::ConversionMatrix::ConversionMatrix ( BasisTypeEnum input,
BasisTypeEnum output,
int order )
explicit

Construct a conversion matrix that maps the input basis to the output basis.

Member Function Documentation

◆ buildDenseMatrix()

Eigen::MatrixXd lsst::shapelet::ConversionMatrix::buildDenseMatrix ( ) const

Construct the full conversion matrix (should just be used for testing).

◆ convertCoefficientVector()

static void lsst::shapelet::ConversionMatrix::convertCoefficientVector ( ndarray::Array< double, 1 > const & array,
BasisTypeEnum input,
BasisTypeEnum output,
int order )
static

Convert a coefficient vector between basis types in-place.

◆ convertOperationVector()

static void lsst::shapelet::ConversionMatrix::convertOperationVector ( ndarray::Array< double, 1 > const & array,
BasisTypeEnum input,
BasisTypeEnum output,
int order )
static

Convert an operation (evaluation, integration) vector between basis types in-place.

◆ getBlock()

Eigen::MatrixXd lsst::shapelet::ConversionMatrix::getBlock ( int n) const

Return a block of the block-diagonal conversion matrix.

◆ multiplyOnLeft()

void lsst::shapelet::ConversionMatrix::multiplyOnLeft ( ndarray::Array< double, 1 > const & array) const

Multiply the given array by the conversion matrix on the left in-place.

◆ multiplyOnRight()

void lsst::shapelet::ConversionMatrix::multiplyOnRight ( ndarray::Array< double, 1 > const & array) const

Multiply the given array by the conversion matrix on the right in-place.


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