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),
41 Alpha (0.0), Beta (0.0), r (), q (),
A (),
B (), initialized (
false) { }
44 : n (nc), inc_left (il), inc_right (ir), lb (0.0), rb (1.0),
45 Alpha (0.0), Beta (0.0), r (), q (),
A (),
B (), initialized (
false) { }
49 : n (nc), inc_left (il), inc_right (ir), lb (l), rb (rr),
50 Alpha (0.0), Beta (0.0), r (), q (),
A (),
B (), initialized (
false) { }
54 : n (nc), inc_left (il), inc_right (ir), lb (0.0), rb (1.0),
55 Alpha (a), Beta (b), r (), q (),
A (),
B (), initialized (
false) { }
60 : n (nc), inc_left (il), inc_right (ir), lb (ll), rb (rr),
61 Alpha (a), Beta (b), r (), q (),
A (),
B (), initialized (
false) { }
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),
66 r (a.r), q (a.q),
A (a.
A),
B (a.
B),
67 initialized (a.initialized) { }
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);
octave_idx_type right_included(void) const
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
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)
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 const F77_INT F77_CMPLX * B
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)
octave_idx_type ncol(void) const
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
CollocWt(octave_idx_type nc, octave_idx_type il, octave_idx_type ir)
octave_idx_type left_included(void) const
ColumnVector quad_weights(void)
octave_idx_type inc_right
F77_RET_T const F77_INT F77_CMPLX * A