lsst.meas.modelfit  20.0.0+9367f635fc
Public Types | Static Public Member Functions | List of all members
lsst::meas::modelfit::detail::Vandermonde< N > Class Template Reference

Class that computes rows of the Vandermonde matrix and related matrices; the dot product of these row vectors with the polynomial coefficient vectors evaluates the polynomial (or computes a derivative). More...

#include <polynomials.h>

Public Types

typedef Eigen::Matrix< double, 1, N > RowVector
 

Static Public Member Functions

static RowVector eval (double x)
 Return a row vector that product with a polynomial coefficient vector[ evaluates the polynomial at x. More...
 
static RowVector differentiate1 (double x)
 Return a row vector whose product with a polynomial coefficient vector evaluates the first derivative at x. More...
 
static RowVector differentiate2 (double x)
 Return a row vector whose product with a polynomial coefficient vector evaluates the second derivative at x. More...
 
static RowVector moment (double x0, double x1, int m=0)
 Return a row vector whose product with a polynomial coefficient vector computes the integral of p(x) x^m dx from x0 to x1. More...
 

Detailed Description

template<int N>
class lsst::meas::modelfit::detail::Vandermonde< N >

Class that computes rows of the Vandermonde matrix and related matrices; the dot product of these row vectors with the polynomial coefficient vectors evaluates the polynomial (or computes a derivative).

Definition at line 37 of file polynomials.h.

Member Typedef Documentation

◆ RowVector

template<int N>
typedef Eigen::Matrix<double,1,N> lsst::meas::modelfit::detail::Vandermonde< N >::RowVector

Definition at line 39 of file polynomials.h.

Member Function Documentation

◆ differentiate1()

template<int N>
static RowVector lsst::meas::modelfit::detail::Vandermonde< N >::differentiate1 ( double  x)
static

Return a row vector whose product with a polynomial coefficient vector evaluates the first derivative at x.

◆ differentiate2()

template<int N>
static RowVector lsst::meas::modelfit::detail::Vandermonde< N >::differentiate2 ( double  x)
static

Return a row vector whose product with a polynomial coefficient vector evaluates the second derivative at x.

◆ eval()

template<int N>
static RowVector lsst::meas::modelfit::detail::Vandermonde< N >::eval ( double  x)
static

Return a row vector that product with a polynomial coefficient vector[ evaluates the polynomial at x.

◆ moment()

template<int N>
static RowVector lsst::meas::modelfit::detail::Vandermonde< N >::moment ( double  x0,
double  x1,
int  m = 0 
)
static

Return a row vector whose product with a polynomial coefficient vector computes the integral of p(x) x^m dx from x0 to x1.


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