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

#include "CollocWt.h"

Collaboration diagram for CollocWt:

Public Member Functions

 CollocWt (const CollocWt &a)
 
 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 (void)
 
 ~CollocWt (void)=default
 
CollocWtadd_left (void)
 
CollocWtadd_right (void)
 
double alpha (void) const
 
double beta (void) const
 
CollocWtdelete_left (void)
 
CollocWtdelete_right (void)
 
Matrix first (void)
 
double left (void) const
 
octave_idx_type left_included (void) const
 
octave_idx_type ncol (void) const
 
CollocWtoperator= (const CollocWt &a)
 
ColumnVector quad (void)
 
ColumnVector quad_weights (void)
 
CollocWtresize (octave_idx_type nc)
 
double right (void) const
 
octave_idx_type right_included (void) const
 
ColumnVector roots (void)
 
Matrix second (void)
 
CollocWtset_alpha (double val)
 
CollocWtset_beta (double val)
 
CollocWtset_left (double val)
 
CollocWtset_right (double val)
 
double width (void) const
 

Protected Member Functions

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

Protected Attributes

Matrix A
 
double Alpha
 
Matrix B
 
double Beta
 
octave_idx_type inc_left
 
octave_idx_type inc_right
 
bool initialized
 
double lb
 
octave_idx_type n
 
ColumnVector q
 
ColumnVector r
 
double rb
 

Friends

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

Detailed Description

Definition at line 36 of file CollocWt.h.

Constructor & Destructor Documentation

◆ CollocWt() [1/6]

CollocWt::CollocWt ( void  )
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 46 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 50 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 55 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 60 of file CollocWt.h.

◆ CollocWt() [6/6]

CollocWt::CollocWt ( const CollocWt a)
inline

Definition at line 66 of file CollocWt.h.

◆ ~CollocWt()

CollocWt::~CollocWt ( void  )
default

Member Function Documentation

◆ add_left()

CollocWt& CollocWt::add_left ( void  )
inline

Definition at line 99 of file CollocWt.h.

◆ add_right()

CollocWt& CollocWt::add_right ( void  )
inline

Definition at line 115 of file CollocWt.h.

◆ alpha()

double CollocWt::alpha ( void  ) const
inline

Definition at line 155 of file CollocWt.h.

◆ beta()

double CollocWt::beta ( void  ) const
inline

Definition at line 156 of file CollocWt.h.

◆ delete_left()

CollocWt& CollocWt::delete_left ( void  )
inline

Definition at line 106 of file CollocWt.h.

◆ delete_right()

CollocWt& CollocWt::delete_right ( void  )
inline

Definition at line 122 of file CollocWt.h.

◆ error()

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

Definition at line 382 of file CollocWt.cc.

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

◆ first()

Matrix CollocWt::first ( void  )
inline

Definition at line 163 of file CollocWt.h.

References A.

Referenced by Fcolloc().

◆ init()

void CollocWt::init ( void  )
protected

◆ left()

double CollocWt::left ( void  ) const
inline

Definition at line 150 of file CollocWt.h.

◆ left_included()

octave_idx_type CollocWt::left_included ( void  ) const
inline

Definition at line 147 of file CollocWt.h.

◆ ncol()

octave_idx_type CollocWt::ncol ( void  ) const
inline

Definition at line 145 of file CollocWt.h.

References n.

◆ operator=()

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

Definition at line 72 of file CollocWt.h.

References A, A, B, B, inc_left, inc_right, initialized, lb, n, n, q, r, r, and rb.

◆ quad()

ColumnVector CollocWt::quad ( void  )
inline

Definition at line 159 of file CollocWt.h.

◆ quad_weights()

ColumnVector CollocWt::quad_weights ( void  )
inline

Definition at line 161 of file CollocWt.h.

Referenced by Fcolloc().

◆ resize()

CollocWt& CollocWt::resize ( octave_idx_type  nc)
inline

Definition at line 92 of file CollocWt.h.

References n.

◆ right()

double CollocWt::right ( void  ) const
inline

Definition at line 151 of file CollocWt.h.

◆ right_included()

octave_idx_type CollocWt::right_included ( void  ) const
inline

Definition at line 148 of file CollocWt.h.

◆ roots()

ColumnVector CollocWt::roots ( void  )
inline

Definition at line 158 of file CollocWt.h.

References r.

Referenced by Fcolloc().

◆ second()

Matrix CollocWt::second ( void  )
inline

Definition at line 165 of file CollocWt.h.

References B.

Referenced by Fcolloc().

◆ set_alpha()

CollocWt& CollocWt::set_alpha ( double  val)
inline

Definition at line 131 of file CollocWt.h.

◆ set_beta()

CollocWt& CollocWt::set_beta ( double  val)
inline

Definition at line 138 of file CollocWt.h.

◆ set_left()

CollocWt & CollocWt::set_left ( double  val)

Definition at line 388 of file CollocWt.cc.

References error(), initialized, lb, and rb.

◆ set_right()

CollocWt & CollocWt::set_right ( double  val)

Definition at line 399 of file CollocWt.cc.

References error(), initialized, lb, and rb.

◆ width()

double CollocWt::width ( void  ) const
inline

Definition at line 153 of file CollocWt.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 485 of file CollocWt.cc.

Member Data Documentation

◆ A

Matrix CollocWt::A
protected

Definition at line 185 of file CollocWt.h.

Referenced by init(), and operator=().

◆ Alpha

double CollocWt::Alpha
protected

Definition at line 179 of file CollocWt.h.

Referenced by init().

◆ B

Matrix CollocWt::B
protected

Definition at line 186 of file CollocWt.h.

Referenced by init(), and operator=().

◆ Beta

double CollocWt::Beta
protected

Definition at line 180 of file CollocWt.h.

Referenced by init().

◆ inc_left

octave_idx_type CollocWt::inc_left
protected

Definition at line 173 of file CollocWt.h.

Referenced by init(), and operator=().

◆ inc_right

octave_idx_type CollocWt::inc_right
protected

Definition at line 174 of file CollocWt.h.

Referenced by init(), and operator=().

◆ initialized

bool CollocWt::initialized
protected

Definition at line 188 of file CollocWt.h.

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

◆ lb

double CollocWt::lb
protected

Definition at line 176 of file CollocWt.h.

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

◆ n

octave_idx_type CollocWt::n
protected

Definition at line 171 of file CollocWt.h.

Referenced by init(), and operator=().

◆ q

ColumnVector CollocWt::q
protected

Definition at line 183 of file CollocWt.h.

Referenced by init(), and operator=().

◆ r

ColumnVector CollocWt::r
protected

Definition at line 182 of file CollocWt.h.

Referenced by init(), and operator=().

◆ rb

double CollocWt::rb
protected

Definition at line 177 of file CollocWt.h.

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


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