NuTo
Numerics Tool
Namespaces | Classes | Functions
NuTo::Math Namespace Reference

Namespaces

 Polynomial
 

Classes

class  CubicSplineInterpolation
 
class  Interpolation
 
class  LinearInterpolation
 

Functions

std::pair< std::vector< double >, std::vector< double > > ComputeWeightsAndPoints1DLobatto (int nIps)
 computes points and weights for Lobatto quadrature in 1D More...
 
std::pair< std::vector< double >, std::vector< double > > ComputeWeightsAndPoints1DGauss (int nIps)
 computes points and weights for Gauss quadrature in 1D More...
 

Function Documentation

std::pair< std::vector< double >, std::vector< double > > NuTo::Math::ComputeWeightsAndPoints1DGauss ( int  nIps)

computes points and weights for Gauss quadrature in 1D

Parameters
nIpsnumber of integration points
Returns
pair of quadrature weights and points range (-1,1)
std::pair< std::vector< double >, std::vector< double > > NuTo::Math::ComputeWeightsAndPoints1DLobatto ( int  nIps)

computes points and weights for Lobatto quadrature in 1D

Parameters
nIpsnumber of integration points
Returns
pair of quadrature weights and points range [-1,1] including boundary points