GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
CollocWt Class Reference

#include "CollocWt.h"

Public Member Functions

 CollocWt ()
 
 CollocWt (const CollocWt &a)=default
 
 CollocWt (octave_idx_type nc, double a, double b, octave_idx_type il, octave_idx_type ir)
 
 CollocWt (octave_idx_type nc, double a, double b, octave_idx_type il, octave_idx_type ir, double ll, double rr)
 
 CollocWt (octave_idx_type nc, octave_idx_type il, octave_idx_type ir)
 
 CollocWt (octave_idx_type nc, octave_idx_type il, octave_idx_type ir, double l, double rr)
 
 ~CollocWt ()=default
 
CollocWtadd_left ()
 
CollocWtadd_right ()
 
double alpha () const
 
double beta () const
 
CollocWtdelete_left ()
 
CollocWtdelete_right ()
 
Matrix first ()
 
double left () const
 
octave_idx_type left_included () const
 
octave_idx_type ncol () const
 
CollocWtoperator= (const CollocWt &a)=default
 
ColumnVector quad ()
 
ColumnVector quad_weights ()
 
CollocWtresize (octave_idx_type nc)
 
double right () const
 
octave_idx_type right_included () const
 
ColumnVector roots ()
 
Matrix second ()
 
CollocWtset_alpha (double val)
 
CollocWtset_beta (double val)
 
CollocWtset_left (double val)
 
CollocWtset_right (double val)
 
double width () const
 

Protected Member Functions

void error (const char *msg)
 
void init ()
 

Protected Attributes

Matrix m_A
 
double m_alpha
 
Matrix m_B
 
double m_beta
 
octave_idx_type m_inc_left
 
octave_idx_type m_inc_right
 
bool m_initialized
 
double m_lb
 
octave_idx_type m_n
 
ColumnVector m_q
 
ColumnVector m_r
 
double m_rb
 

Friends

std::ostream & operator<< (std::ostream &, const CollocWt &)
 

Detailed Description

Definition at line 38 of file CollocWt.h.

Constructor & Destructor Documentation

◆ CollocWt() [1/6]

CollocWt::CollocWt ( )
inline

Definition at line 42 of file CollocWt.h.

◆ CollocWt() [2/6]

CollocWt::CollocWt ( octave_idx_type  nc,
octave_idx_type  il,
octave_idx_type  ir 
)
inline

Definition at line 48 of file CollocWt.h.

◆ CollocWt() [3/6]

CollocWt::CollocWt ( octave_idx_type  nc,
octave_idx_type  il,
octave_idx_type  ir,
double  l,
double  rr 
)
inline

Definition at line 54 of file CollocWt.h.

◆ CollocWt() [4/6]

CollocWt::CollocWt ( octave_idx_type  nc,
double  a,
double  b,
octave_idx_type  il,
octave_idx_type  ir 
)
inline

Definition at line 61 of file CollocWt.h.

◆ CollocWt() [5/6]

CollocWt::CollocWt ( octave_idx_type  nc,
double  a,
double  b,
octave_idx_type  il,
octave_idx_type  ir,
double  ll,
double  rr 
)
inline

Definition at line 68 of file CollocWt.h.

◆ CollocWt() [6/6]

CollocWt::CollocWt ( const CollocWt a)
default

◆ ~CollocWt()

CollocWt::~CollocWt ( )
default

Member Function Documentation

◆ add_left()

CollocWt& CollocWt::add_left ( )
inline

Definition at line 89 of file CollocWt.h.

◆ add_right()

CollocWt& CollocWt::add_right ( )
inline

Definition at line 105 of file CollocWt.h.

◆ alpha()

double CollocWt::alpha ( ) const
inline

Definition at line 145 of file CollocWt.h.

◆ beta()

double CollocWt::beta ( ) const
inline

Definition at line 146 of file CollocWt.h.

◆ delete_left()

CollocWt& CollocWt::delete_left ( )
inline

Definition at line 96 of file CollocWt.h.

◆ delete_right()

CollocWt& CollocWt::delete_right ( )
inline

Definition at line 112 of file CollocWt.h.

◆ error()

void CollocWt::error ( const char *  msg)
protected

Definition at line 383 of file CollocWt.cc.

Referenced by init(), set_left(), and set_right().

◆ first()

Matrix CollocWt::first ( )
inline

Definition at line 166 of file CollocWt.h.

◆ init()

void CollocWt::init ( )
protected

◆ left()

double CollocWt::left ( ) const
inline

Definition at line 140 of file CollocWt.h.

◆ left_included()

octave_idx_type CollocWt::left_included ( ) const
inline

Definition at line 137 of file CollocWt.h.

◆ ncol()

octave_idx_type CollocWt::ncol ( ) const
inline

Definition at line 135 of file CollocWt.h.

◆ operator=()

CollocWt& CollocWt::operator= ( const CollocWt a)
default

◆ quad()

ColumnVector CollocWt::quad ( )
inline

Definition at line 156 of file CollocWt.h.

◆ quad_weights()

ColumnVector CollocWt::quad_weights ( )
inline

Definition at line 164 of file CollocWt.h.

◆ resize()

CollocWt& CollocWt::resize ( octave_idx_type  nc)
inline

Definition at line 82 of file CollocWt.h.

◆ right()

double CollocWt::right ( ) const
inline

Definition at line 141 of file CollocWt.h.

◆ right_included()

octave_idx_type CollocWt::right_included ( ) const
inline

Definition at line 138 of file CollocWt.h.

◆ roots()

ColumnVector CollocWt::roots ( )
inline

Definition at line 148 of file CollocWt.h.

◆ second()

Matrix CollocWt::second ( )
inline

Definition at line 174 of file CollocWt.h.

◆ set_alpha()

CollocWt& CollocWt::set_alpha ( double  val)
inline

Definition at line 121 of file CollocWt.h.

◆ set_beta()

CollocWt& CollocWt::set_beta ( double  val)
inline

Definition at line 128 of file CollocWt.h.

◆ set_left()

CollocWt & CollocWt::set_left ( double  val)

Definition at line 389 of file CollocWt.cc.

References error(), m_initialized, m_lb, and m_rb.

◆ set_right()

CollocWt & CollocWt::set_right ( double  val)

Definition at line 400 of file CollocWt.cc.

References error(), m_initialized, m_lb, and m_rb.

◆ width()

double CollocWt::width ( ) const
inline

Definition at line 143 of file CollocWt.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const CollocWt a 
)
friend

Definition at line 488 of file CollocWt.cc.

Member Data Documentation

◆ m_A

Matrix CollocWt::m_A
protected

Definition at line 200 of file CollocWt.h.

Referenced by init().

◆ m_alpha

double CollocWt::m_alpha
protected

Definition at line 194 of file CollocWt.h.

◆ m_B

Matrix CollocWt::m_B
protected

Definition at line 201 of file CollocWt.h.

Referenced by init().

◆ m_beta

double CollocWt::m_beta
protected

Definition at line 195 of file CollocWt.h.

◆ m_inc_left

octave_idx_type CollocWt::m_inc_left
protected

Definition at line 188 of file CollocWt.h.

Referenced by init().

◆ m_inc_right

octave_idx_type CollocWt::m_inc_right
protected

Definition at line 189 of file CollocWt.h.

Referenced by init().

◆ m_initialized

bool CollocWt::m_initialized
protected

Definition at line 203 of file CollocWt.h.

Referenced by set_left(), and set_right().

◆ m_lb

double CollocWt::m_lb
protected

Definition at line 191 of file CollocWt.h.

Referenced by init(), set_left(), and set_right().

◆ m_n

octave_idx_type CollocWt::m_n
protected

Definition at line 186 of file CollocWt.h.

Referenced by init().

◆ m_q

ColumnVector CollocWt::m_q
protected

Definition at line 198 of file CollocWt.h.

Referenced by init().

◆ m_r

ColumnVector CollocWt::m_r
protected

Definition at line 197 of file CollocWt.h.

Referenced by init().

◆ m_rb

double CollocWt::m_rb
protected

Definition at line 192 of file CollocWt.h.

Referenced by init(), set_left(), and set_right().


The documentation for this class was generated from the following files: