GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
CollocWt Class Reference

#include "CollocWt.h"

Collaboration diagram for CollocWt:
Collaboration graph
[legend]

Public Member Functions

 CollocWt (void)
 
 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 (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 (const CollocWt &a)
 
 ~CollocWt (void)
 
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 31 of file CollocWt.h.

Constructor & Destructor Documentation

CollocWt::CollocWt ( void  )
inline

Definition at line 37 of file CollocWt.h.

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

Definition at line 41 of file CollocWt.h.

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

Definition at line 45 of file CollocWt.h.

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

Definition at line 50 of file CollocWt.h.

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 55 of file CollocWt.h.

CollocWt::CollocWt ( const CollocWt a)
inline

Definition at line 61 of file CollocWt.h.

CollocWt::~CollocWt ( void  )
inline

Definition at line 85 of file CollocWt.h.

Member Function Documentation

CollocWt& CollocWt::add_left ( void  )
inline

Definition at line 94 of file CollocWt.h.

CollocWt& CollocWt::add_right ( void  )
inline

Definition at line 110 of file CollocWt.h.

double CollocWt::alpha ( void  ) const
inline

Definition at line 150 of file CollocWt.h.

Referenced by ddstp(), dlinsd(), dlinsk(), and droots().

double CollocWt::beta ( void  ) const
inline

Definition at line 151 of file CollocWt.h.

CollocWt& CollocWt::delete_left ( void  )
inline

Definition at line 101 of file CollocWt.h.

CollocWt& CollocWt::delete_right ( void  )
inline

Definition at line 117 of file CollocWt.h.

void CollocWt::error ( const char msg)
protected

Definition at line 376 of file CollocWt.cc.

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

Matrix CollocWt::first ( void  )
inline

Definition at line 158 of file CollocWt.h.

References A.

Referenced by Fcolloc().

void CollocWt::init ( void  )
protected
double CollocWt::left ( void  ) const
inline

Definition at line 145 of file CollocWt.h.

octave_idx_type CollocWt::left_included ( void  ) const
inline

Definition at line 142 of file CollocWt.h.

Referenced by operator<<().

octave_idx_type CollocWt::ncol ( void  ) const
inline

Definition at line 140 of file CollocWt.h.

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

Definition at line 67 of file CollocWt.h.

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

ColumnVector CollocWt::quad ( void  )
inline

Definition at line 154 of file CollocWt.h.

ColumnVector CollocWt::quad_weights ( void  )
inline

Definition at line 156 of file CollocWt.h.

Referenced by Fcolloc().

CollocWt& CollocWt::resize ( octave_idx_type  nc)
inline

Definition at line 87 of file CollocWt.h.

double CollocWt::right ( void  ) const
inline

Definition at line 146 of file CollocWt.h.

octave_idx_type CollocWt::right_included ( void  ) const
inline

Definition at line 143 of file CollocWt.h.

Referenced by operator<<().

ColumnVector CollocWt::roots ( void  )
inline

Definition at line 153 of file CollocWt.h.

Referenced by Fcolloc().

Matrix CollocWt::second ( void  )
inline

Definition at line 160 of file CollocWt.h.

References B.

Referenced by Fcolloc().

CollocWt& CollocWt::set_alpha ( double  val)
inline

Definition at line 126 of file CollocWt.h.

CollocWt& CollocWt::set_beta ( double  val)
inline

Definition at line 133 of file CollocWt.h.

CollocWt & CollocWt::set_left ( double  val)

Definition at line 382 of file CollocWt.cc.

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

CollocWt & CollocWt::set_right ( double  val)

Definition at line 396 of file CollocWt.cc.

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

double CollocWt::width ( void  ) const
inline

Definition at line 148 of file CollocWt.h.

Friends And Related Function Documentation

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

Definition at line 492 of file CollocWt.cc.

Member Data Documentation

Matrix CollocWt::A
protected

Definition at line 180 of file CollocWt.h.

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

double CollocWt::Alpha
protected

Definition at line 174 of file CollocWt.h.

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

Matrix CollocWt::B
protected

Definition at line 181 of file CollocWt.h.

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

double CollocWt::Beta
protected

Definition at line 175 of file CollocWt.h.

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

octave_idx_type CollocWt::inc_left
protected

Definition at line 168 of file CollocWt.h.

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

octave_idx_type CollocWt::inc_right
protected

Definition at line 169 of file CollocWt.h.

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

bool CollocWt::initialized
protected

Definition at line 183 of file CollocWt.h.

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

double CollocWt::lb
protected

Definition at line 171 of file CollocWt.h.

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

octave_idx_type CollocWt::n
protected

Definition at line 166 of file CollocWt.h.

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

ColumnVector CollocWt::q
protected

Definition at line 178 of file CollocWt.h.

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

ColumnVector CollocWt::r
protected

Definition at line 177 of file CollocWt.h.

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

double CollocWt::rb
protected

Definition at line 172 of file CollocWt.h.

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


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