23 #if ! defined (octave_CollocWt_h) 24 #define octave_CollocWt_h 1 26 #include "octave-config.h" 40 : n (0), inc_left (0), inc_right (0), lb (0.0), rb (1.0),
44 : n (nc), inc_left (il), inc_right (ir), lb (0.0), rb (1.0),
49 : n (nc), inc_left (il), inc_right (ir), lb (l), rb (rr),
54 : n (nc), inc_left (il), inc_right (ir), lb (0.0), rb (1.0),
60 : n (nc), inc_left (il), inc_right (ir), lb (ll), rb (rr),
64 : n (
a.n), inc_left (
a.inc_left), inc_right (
a.inc_right),
65 lb (
a.lb), rb (
a.rb), Alpha (
a.Alpha), Beta (
a.Beta),
74 inc_left =
a.inc_left;
75 inc_right =
a.inc_right;
147 double left (
void)
const {
return lb; }
148 double right (
void)
const {
return rb; }
150 double width (
void)
const {
return rb - lb; }
152 double alpha (
void)
const {
return Alpha; }
153 double beta (
void)
const {
return Beta; }
189 void error (
const char *msg);
F77_RET_T const F77_INT F77_CMPLX const F77_INT F77_CMPLX * B
CollocWt(octave_idx_type nc, double a, double b, octave_idx_type il, octave_idx_type ir, double ll, double rr)
identity matrix If supplied two scalar respectively For allows like xample val
octave_idx_type left_included(void) const
void error(const char *fmt,...)
CollocWt & set_alpha(double val)
CollocWt(octave_idx_type nc, double a, double b, octave_idx_type il, octave_idx_type ir)
CollocWt & delete_right(void)
octave_idx_type ncol(void) const
CollocWt(const CollocWt &a)
CollocWt & add_right(void)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
CollocWt & resize(octave_idx_type nc)
F77_RET_T const F77_INT F77_CMPLX * A
CollocWt & set_beta(double val)
CollocWt & delete_left(void)
CollocWt(octave_idx_type nc, octave_idx_type il, octave_idx_type ir, double l, double rr)
CollocWt & add_left(void)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
CollocWt(octave_idx_type nc, octave_idx_type il, octave_idx_type ir)
ColumnVector quad_weights(void)
octave_idx_type right_included(void) const
octave_idx_type inc_right