Classes | |
struct | NurbsBase1D |
struct | NurbsBase2D |
Typedefs | |
typedef Eigen::SparseMatrix< double > | spMat |
typedef Eigen::Triplet< double > | trip |
Functions | |
void | add_triplets (Eigen::VectorXd values, double row, std::vector< trip > &triplets) |
double | divide (double a, double b) |
std::function< double(double)> | get_basis (int degree, int i, Eigen::VectorXd knots) |
std::function< double(double)> | get_basis_derivative (int order, int degree, int i, Eigen::VectorXd knots) |
Typedef Documentation
◆ spMat
typedef Eigen::SparseMatrix<double> nurbs::spMat |
◆ trip
typedef Eigen::Triplet<double> nurbs::trip |
Function Documentation
◆ add_triplets()
void nurbs::add_triplets | ( | Eigen::VectorXd | values, |
double | row, | ||
std::vector< trip > & | triplets | ||
) |
◆ divide()
double nurbs::divide | ( | double | a, |
double | b | ||
) |
References nurbs::NurbsBase1D::weights.
◆ get_basis()
std::function<double(double)> nurbs::get_basis | ( | int | degree, |
int | i, | ||
Eigen::VectorXd | knots | ||
) |
◆ get_basis_derivative()
std::function<double(double)> nurbs::get_basis_derivative | ( | int | order, |
int | degree, | ||
int | i, | ||
Eigen::VectorXd | knots | ||
) |
Referenced by add_triplets().