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

#include "pr-flt-fmt.h"

Collaboration diagram for float_display_format:

Public Member Functions

 float_display_format (const float_display_format &)=default
 
 float_display_format (const float_format &real_fmt, const float_format &imag_fmt=float_format())
 
 float_display_format (double scale, const float_format &real_fmt, const float_format &imag_fmt=float_format())
 
 float_display_format (void)=default
 
 ~float_display_format (void)=default
 
float_format imag_format (void) const
 
float_display_formatoperator= (const float_display_format &)=default
 
float_format real_format (void) const
 
double scale_factor (void) const
 
void set_precision (int prec)
 

Private Attributes

float_format m_imag_fmt
 
float_format m_real_fmt
 
double m_scale
 

Detailed Description

Definition at line 207 of file pr-flt-fmt.h.

Constructor & Destructor Documentation

◆ float_display_format() [1/4]

float_display_format::float_display_format ( void  )
default

◆ float_display_format() [2/4]

float_display_format::float_display_format ( double  scale,
const float_format real_fmt,
const float_format imag_fmt = float_format () 
)
inline

Definition at line 214 of file pr-flt-fmt.h.

◆ float_display_format() [3/4]

float_display_format::float_display_format ( const float_format real_fmt,
const float_format imag_fmt = float_format () 
)
inlineexplicit

Definition at line 219 of file pr-flt-fmt.h.

◆ float_display_format() [4/4]

float_display_format::float_display_format ( const float_display_format )
default

◆ ~float_display_format()

float_display_format::~float_display_format ( void  )
default

Member Function Documentation

◆ imag_format()

float_format float_display_format::imag_format ( void  ) const
inline

◆ operator=()

float_display_format& float_display_format::operator= ( const float_display_format )
default

◆ real_format()

float_format float_display_format::real_format ( void  ) const
inline

◆ scale_factor()

double float_display_format::scale_factor ( void  ) const
inline

◆ set_precision()

void float_display_format::set_precision ( int  prec)
inline

Member Data Documentation

◆ m_imag_fmt

float_format float_display_format::m_imag_fmt
private

Definition at line 248 of file pr-flt-fmt.h.

◆ m_real_fmt

float_format float_display_format::m_real_fmt
private

Definition at line 246 of file pr-flt-fmt.h.

◆ m_scale

double float_display_format::m_scale
private

Definition at line 244 of file pr-flt-fmt.h.


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