GNU Octave  9.1.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"

Public Member Functions

 float_display_format ()=default
 
 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 ()=default
 
float_format imag_format () const
 
float_display_formatoperator= (const float_display_format &)=default
 
float_format real_format () const
 
double scale_factor () const
 
void set_precision (int prec)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ float_display_format() [1/4]

float_display_format::float_display_format ( )
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 216 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 221 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 ( )
default

Member Function Documentation

◆ imag_format()

float_format float_display_format::imag_format ( ) const
inline

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

◆ operator=()

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

◆ real_format()

float_format float_display_format::real_format ( ) const
inline

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

◆ scale_factor()

double float_display_format::scale_factor ( ) const
inline

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

◆ set_precision()

void float_display_format::set_precision ( int  prec)
inline

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


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