Utilities > Quadrature > Trap


Trap

Purpose

locations and weights for trapezoidal integration rule

Synopsis

[xIP,wIP] = Trap (nIP)

Description

TRAP locations and weights for trapezoidal integration rule    
  [XIP,WIP] = TRAP (NIP)
  the function determines the locations in the interval -1<x<1 and the weights
  of the trapezoidal integration scheme for NIP integration points;
  the locations are reported in vector XIP and the weights in vector WIP

Cross-Reference Information

This function calls:

This function is called by: