Class SLSimpleDataBuffer.TSLComplexBuffer
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 5: | Line 5: | ||
</span></b> | </span></b> | ||
− | '''Package:''' [[Package | + | '''Package:''' [[Package Mitov.BasicLab|Mitov.BasicLab]] |
'''Unit:''' [[Unit SLSimpleDataBuffer|SLSimpleDataBuffer]] | '''Unit:''' [[Unit SLSimpleDataBuffer|SLSimpleDataBuffer]] | ||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' ComplexBuffer : [[Class SLSimpleDataBuffer.TSLLinearMemoryBuffer|Mitov.SignalLab.LinearMemoryBuffer]] |
</code> | </code> | ||
== Description == | == Description == | ||
Line 88: | Line 88: | ||
=== Public === | === Public === | ||
− | *[[Method | + | *[[Method function SLSimpleDataBuffer.TSLLinearMemoryBuffer.Resize(Cardinal;Boolean) : Boolean|function Resize(Size : Cardinal; PreserveData : Boolean) : Boolean]] - Resizes the buffer. |
== From [[Class SLSimpleDataBuffer.TSLMemoryBuffer|TSLMemoryBuffer]] == | == From [[Class SLSimpleDataBuffer.TSLMemoryBuffer|TSLMemoryBuffer]] == |
Latest revision as of 00:29, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: Mitov.BasicLab
Unit: SLSimpleDataBuffer
Inherits: TSLLinearMemoryBuffer
Contents |
Syntax
Delphi:
type TSLComplexBuffer = class( TSLLinearMemoryBuffer, ISLComplexBuffer )
C++ Builder:
class TSLComplexBuffer : public TSLLinearMemoryBuffer
Visual C++ (MFC):
class CTSLComplexBuffer : public CTSLLinearMemoryBuffer
C# (.NET):
public ref class ComplexBuffer : Mitov.SignalLab.LinearMemoryBuffer
Description
This is Complex Data wrapper buffer. Use this buffer to access and manipulate the Complex data from inside your Delphi code. C++ Builder and Visual C++ users should use the much more convenient and powerful TVLCComplexBuffer class.
Note
Delphi only.
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function GetSize() : Cardinal
- function IsEqual(Other : ISLDataBuffer) : Boolean
- function GetItem(Index : Integer) : TOWRealComplex
- procedure SetItem(Index : Integer; Value : TOWRealComplex)
- function GetReal() : ISLRealBuffer
- function GetImaginary() : ISLRealBuffer
- procedure Add(Right : ISLComplexBuffer)
- procedure Subtract(Right : ISLComplexBuffer)
- procedure Multiply(Right : ISLComplexBuffer)
- procedure Divide(Right : ISLComplexBuffer)
- procedure SetBuffer(AReal : ISLRealBuffer; AImag : ISLRealBuffer)
- procedure SetValue(AReal : Real; AImag : Real)
- procedure SetValue(AValue : TOWRealComplex)
- procedure AddValue(AReal : Real; AImag : Real)
- procedure SubtractValue(AReal : Real; AImag : Real)
- procedure MultiplyValue(AReal : Real; AImag : Real)
- procedure DivideValue(AReal : Real; AImag : Real)
- procedure Zero()
- procedure NormalizeFrom(Src : ISLComplexBuffer; Offset : TOWRealComplex; Factor : Real)
- procedure Normalize(Offset : TOWRealComplex; Factor : Real)
- function Dot(Src : ISLComplexBuffer) : TOWRealComplex
- procedure Threshold(AThreshold : Real; AType : TSLThresholdType)
- procedure ThresholdFrom(Src : ISLComplexBuffer; AThreshold : Real; AType : TSLThresholdType)
- procedure Sqr()
- procedure SqrFrom(Src : ISLComplexBuffer)
- procedure Sqrt()
- function Mean() : TOWRealComplex
- procedure SqrtFrom(Src : ISLComplexBuffer)
- procedure AutoCorr(Src : ISLComplexBuffer; AType : TSLAutoCorrType)
- procedure CrossCorr(Src1 : ISLComplexBuffer; Src2 : ISLComplexBuffer; LoLag : Integer)
- function Phase() : ISLRealBuffer
- function Magnitude() : ISLRealBuffer
- function PowerSpectrum() : ISLRealBuffer
- function IsEqualToValue(AValue : TOWRealComplex) : Boolean
From TSLLinearMemoryBuffer
Methods
Public
- function Resize(Size : Cardinal; PreserveData : Boolean) : Boolean - Resizes the buffer.
From TSLMemoryBuffer
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- function GetByteSize() : Cardinal - Call this method to get the buffer size in bytes.
- function GetCharSize() : Cardinal - Call this method to get the buffer size in characters.
- function GetSize() : Cardinal - Call this method to get the buffer size in bytes.
From TSLGenericBuffer
Methods
Public
- function MakeCopy() : TInterfacedObject - Creates a copy from the buffer.
- procedure SaveToFile(AFileName : String)
- procedure LoadFromFile(AFileName : String)
- function IsEqual(Other : ISLDataBuffer) : Boolean
- procedure Unique(PreserveData : Boolean)
- function MakeUnique(PreserveData : Boolean) : Boolean
- function GetByteSize() : Cardinal - Returns the size of the buffer in bytes.
- function GetSize() : Cardinal - Returns the size of the buffer in elements.
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- procedure RemoveOwnerShip()
- function OwnsData() : Boolean
- function GetDataBufferIntf() : ISLDataBuffer