AuxPort 0.2
Modules for Audio Software Development
Loading...
Searching...
No Matches
AuxPort::Terms Class Reference

This class provides functionality to compute and manage powers of a given sample. More...

#include <AuxUtility.h>

Public Member Functions

 Terms (const Terms &terms)=default
 
void computePowers (float sample, uint32_t powers)
 Computes the powers of the given sample (from sample^0 to sample^powers). The computed powers are stored in the internal vector.
 
void computeAdditionalPowers (uint32_t start, uint32_t end)
 Computes the additional powers of the given sample.
 
std::vector< float > & getInternalVector ()
 Returns a refrence to the internal vector which contains the calculated powers.
 
void swap (Terms &term)
 Swaps the contents with another Term Object.
 

Detailed Description

This class provides functionality to compute and manage powers of a given sample.

Definition at line 388 of file AuxUtility.h.

Constructor & Destructor Documentation

◆ Terms()

AuxPort::Terms::Terms ( )

Definition at line 61 of file AuxUtility.cpp.

Member Function Documentation

◆ computeAdditionalPowers()

void AuxPort::Terms::computeAdditionalPowers ( uint32_t start,
uint32_t end )

Computes the additional powers of the given sample.

Definition at line 75 of file AuxUtility.cpp.

◆ computePowers()

void AuxPort::Terms::computePowers ( float sample,
uint32_t powers )

Computes the powers of the given sample (from sample^0 to sample^powers). The computed powers are stored in the internal vector.

Definition at line 66 of file AuxUtility.cpp.

◆ getInternalVector()

std::vector< float > & AuxPort::Terms::getInternalVector ( )

Returns a refrence to the internal vector which contains the calculated powers.

Definition at line 83 of file AuxUtility.cpp.

◆ swap()

void AuxPort::Terms::swap ( Terms & term)

Swaps the contents with another Term Object.

Definition at line 88 of file AuxUtility.cpp.


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