|
LSST Applications g013ef56533+2edba5e46d,g083dd6704c+a047e97985,g199a45376c+0ba108daf9,g1fd858c14a+d594c53611,g210f2d0738+d003cec0be,g25ecf2a47a+204e5a9ad5,g262e1987ae+16552835ac,g29ae962dfc+867dbde878,g2cef7863aa+aef1011c0b,g30d7c61c20+990af31dd2,g35bb328faa+8c5ae1fdc5,g3fd5ace14f+c8e8c50746,g47891489e3+f459a6810c,g53246c7159+8c5ae1fdc5,g54cd7ddccb+890c8e1e5d,g5b326b94bb+01d4acd216,g64539dfbff+d003cec0be,g67b6fd64d1+f459a6810c,g6ebf1fc0d4+8c5ae1fdc5,g74acd417e5+4b21cac47b,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g89139ef638+f459a6810c,g8d7436a09f+b19788b7f5,g8ea07a8fe4+81eaaadc04,g90f42f885a+34c0557caf,g97be763408+3bd86eedd0,g98a1a72a9c+67cf96cfb3,g98df359435+688a06938e,gbf99507273+8c5ae1fdc5,gc2a301910b+d003cec0be,gca7fc764a6+f459a6810c,gd7ef33dd92+f459a6810c,gdab6d2f7ff+4b21cac47b,ge410e46f29+f459a6810c,ge41e95a9f2+d003cec0be,geaed405ab2+e3b4b2a692,gf9a733ac38+8c5ae1fdc5,w.2025.43
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.