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

#include "graphics.in.h"

Collaboration diagram for scaler:

Public Member Functions

 scaler (const scaler &s)
 
 scaler (const std::string &s)
 
 scaler (void)
 
 ~scaler (void)
 
bool is_linear (void) const
 
scaleroperator= (const scaler &s)
 
scaleroperator= (const std::string &s)
 
Matrix scale (const Matrix &m) const
 
NDArray scale (const NDArray &m) const
 
double scale (double d) const
 
double unscale (double d) const
 

Private Attributes

base_scalerrep
 

Detailed Description

Definition at line 195 of file graphics.in.h.

Constructor & Destructor Documentation

◆ scaler() [1/3]

scaler::scaler ( void  )
inline

Definition at line 198 of file graphics.in.h.

◆ scaler() [2/3]

scaler::scaler ( const scaler s)
inline

Definition at line 200 of file graphics.in.h.

◆ scaler() [3/3]

scaler::scaler ( const std::string &  s)
inline

Definition at line 202 of file graphics.in.h.

◆ ~scaler()

scaler::~scaler ( void  )
inline

Definition at line 212 of file graphics.in.h.

References rep.

Member Function Documentation

◆ is_linear()

bool scaler::is_linear ( void  ) const
inline

Definition at line 226 of file graphics.in.h.

References base_scaler::is_linear(), and rep.

◆ operator=() [1/2]

scaler& scaler::operator= ( const scaler s)
inline

Definition at line 229 of file graphics.in.h.

References base_scaler::clone(), and rep.

◆ operator=() [2/2]

scaler& scaler::operator= ( const std::string &  s)
inline

Definition at line 245 of file graphics.in.h.

References rep.

◆ scale() [1/3]

Matrix scaler::scale ( const Matrix m) const
inline

Definition at line 214 of file graphics.in.h.

References m, rep, and base_scaler::scale().

◆ scale() [2/3]

NDArray scaler::scale ( const NDArray m) const
inline

Definition at line 217 of file graphics.in.h.

References m, rep, and base_scaler::scale().

◆ scale() [3/3]

double scaler::scale ( double  d) const
inline

Definition at line 220 of file graphics.in.h.

References d, rep, and base_scaler::scale().

◆ unscale()

double scaler::unscale ( double  d) const
inline

Definition at line 223 of file graphics.in.h.

References d, rep, and base_scaler::unscale().

Member Data Documentation

◆ rep

base_scaler* scaler::rep
private

Definition at line 266 of file graphics.in.h.

Referenced by ~scaler(), is_linear(), operator=(), scale(), and unscale().


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