26 #if ! defined (octave_CollocWt_h)
27 #define octave_CollocWt_h 1
29 #include "octave-config.h"
43 : m_n (0), m_inc_left (0), m_inc_right (0), m_lb (0.0), m_rb (1.0),
44 m_alpha (0.0), m_beta (0.0), m_r (), m_q (), m_A (), m_B (),
49 : m_n (nc), m_inc_left (il), m_inc_right (ir), m_lb (0.0), m_rb (1.0),
50 m_alpha (0.0), m_beta (0.0), m_r (), m_q (), m_A (), m_B (),
56 : m_n (nc), m_inc_left (il), m_inc_right (ir), m_lb (l), m_rb (rr),
57 m_alpha (0.0), m_beta (0.0), m_r (), m_q (), m_A (), m_B (),
63 : m_n (nc), m_inc_left (il), m_inc_right (ir), m_lb (0.0), m_rb (1.0),
64 m_alpha (a), m_beta (b), m_r (), m_q (), m_A (), m_B (),
71 : m_n (nc), m_inc_left (il), m_inc_right (ir), m_lb (ll), m_rb (rr),
72 m_alpha (a), m_beta (b), m_r (), m_q (), m_A (), m_B (),
85 m_initialized =
false;
92 m_initialized =
false;
99 m_initialized =
false;
108 m_initialized =
false;
115 m_initialized =
false;
124 m_initialized =
false;
131 m_initialized =
false;
140 double left (
void)
const {
return m_lb; }
141 double right (
void)
const {
return m_rb; }
143 double width (
void)
const {
return m_rb - m_lb; }
145 double alpha (
void)
const {
return m_alpha; }
146 double beta (
void)
const {
return m_beta; }
207 void error (
const char *msg);
212 #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
213 OCTAVE_DEPRECATED (7,
"use 'octave::CollocWt' instead")
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
CollocWt(octave_idx_type nc, octave_idx_type il, octave_idx_type ir, double l, double rr)
CollocWt(octave_idx_type nc, octave_idx_type il, octave_idx_type ir)
ColumnVector quad_weights(void)
CollocWt & resize(octave_idx_type nc)
CollocWt & delete_left(void)
CollocWt(octave_idx_type nc, double a, double b, octave_idx_type il, octave_idx_type ir, double ll, double rr)
octave_idx_type ncol(void) const
CollocWt(const CollocWt &a)=default
CollocWt & set_beta(double val)
octave_idx_type m_inc_left
octave_idx_type right_included(void) const
CollocWt & add_left(void)
CollocWt & delete_right(void)
octave_idx_type m_inc_right
octave_idx_type left_included(void) const
CollocWt & add_right(void)
CollocWt & set_alpha(double val)
CollocWt(octave_idx_type nc, double a, double b, octave_idx_type il, octave_idx_type ir)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void error(const char *fmt,...)