KiCad PCB EDA Suite
Loading...
Searching...
No Matches
IBIS_MATRIX_SPARSE Class Reference

#include <ibis_parser.h>

Inheritance diagram for IBIS_MATRIX_SPARSE:
IBIS_MATRIX IBIS_INPUT IBIS_ANY

Public Member Functions

 IBIS_MATRIX_SPARSE (REPORTER *aReporter)
 
bool Check () override
 Check if the data held by the object is valid. More...
 
void Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO)
 Print a message. More...
 

Public Attributes

IBIS_MATRIX_TYPE m_type = IBIS_MATRIX_TYPE::BANDED
 
int m_dim = -3
 
std::vector< double > m_data
 
REPORTERm_reporter
 

Protected Member Functions

std::string doubleToString (double aNumber)
 Convert a double to string using scientific notation. More...
 

Detailed Description

Definition at line 133 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IBIS_MATRIX_SPARSE()

IBIS_MATRIX_SPARSE::IBIS_MATRIX_SPARSE ( REPORTER aReporter)
inline

Definition at line 136 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IBIS_MATRIX_SPARSE::Check ( )
overridevirtual

Check if the data held by the object is valid.

Returns
true in case of success

Reimplemented from IBIS_INPUT.

Definition at line 113 of file ibis_parser.cpp.

References _, m_data, m_dim, IBIS_ANY::Report(), and RPT_SEVERITY_ERROR.

◆ doubleToString()

std::string IBIS_ANY::doubleToString ( double  aNumber)
protectedinherited

Convert a double to string using scientific notation.

Parameters
aNumberNumber
Returns
Output string

Definition at line 300 of file ibis_parser.cpp.

Referenced by KIBIS_MODEL::generateSquareWave(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), KIBIS_PIN::KuKdDriver(), IVtable::Spice(), KIBIS_MODEL::SpiceDie(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().

◆ Report()

Member Data Documentation

◆ m_data

std::vector<double> IBIS_MATRIX_SPARSE::m_data

Definition at line 139 of file ibis_parser.h.

Referenced by Check().

◆ m_dim

int IBIS_MATRIX_SPARSE::m_dim = -3

Definition at line 138 of file ibis_parser.h.

Referenced by Check(), and IbisParser::readMatrixSparse().

◆ m_reporter

◆ m_type

IBIS_MATRIX_TYPE IBIS_MATRIX_SPARSE::m_type = IBIS_MATRIX_TYPE::BANDED

Definition at line 137 of file ibis_parser.h.


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