LSST Applications g0f08755f38+9c285cab97,g1635faa6d4+13f3999e92,g1653933729+a8ce1bb630,g1a0ca8cf93+bf6eb00ceb,g28da252d5a+0829b12dee,g29321ee8c0+5700dc9eac,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+fde0dd39b6,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g80478fca09+55a9465950,g82479be7b0+d730eedb7d,g858d7b2824+9c285cab97,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+2a84bb7594,gacf8899fa4+c69c5206e8,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc28159a63d+9634bc57db,gcf0d15dbbd+4b7d09cae4,gda3e153d99+9c285cab97,gda6a2b7d83+4b7d09cae4,gdaeeff99f8+1711a396fd,ge2409df99d+5e831397f4,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+41c94011de,gf3fb38a9a8+8f07a9901b,gfb92a5be7c+9c285cab97,w.2024.46
LSST Data Management Base Package
|
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. | |
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.
|
explicit |
Construct a conversion matrix that maps the input basis to the output basis.
Eigen::MatrixXd lsst::shapelet::ConversionMatrix::buildDenseMatrix | ( | ) | const |
Construct the full conversion matrix (should just be used for testing).
|
static |
Convert a coefficient vector between basis types in-place.
|
static |
Convert an operation (evaluation, integration) vector between basis types in-place.
Eigen::MatrixXd lsst::shapelet::ConversionMatrix::getBlock | ( | int | n | ) | const |
Return a block of the block-diagonal conversion matrix.
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.
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.