Class SLSimpleDataBuffer.TSLRealBuffer
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 TSLRealBuffer = class( TSLLinearMemoryBuffer, ISLRealBuffer, ISLData )
C++ Builder:
class TSLRealBuffer : public TSLLinearMemoryBuffer
Visual C++ (MFC):
class CTSLRealBuffer : public CTSLLinearMemoryBuffer
C# (.NET):
public ref class RealBuffer : Mitov.SignalLab.LinearMemoryBuffer
Summary
Delphi Real data buffer.
Description
This is Real(double) Data wrapper buffer. Use this buffer to access and manipulate the Real(double) data from inside your Delphi code. .NET, C++ Builder and Visual C++ users should use the much more convenient and powerful TSLCRealBuffer class. Note Delphi only.
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject - Creates a copy from the buffer.
- function IsEqual(Other : ISLDataBuffer) : Boolean
- function GetSize() : Cardinal
- function GetItem(Index : Integer) : Real
- procedure SetItem(Index : Integer; Value : Real)
- procedure VectorJaehne(AMagnitude : Real)
- procedure Add(Right : ISLRealBuffer)
- procedure Subtract(Right : ISLRealBuffer)
- procedure Multiply(Right : ISLRealBuffer)
- procedure Divide(Right : ISLRealBuffer)
- procedure SetValue(AValue : Real)
- procedure AddValue(AValue : Real)
- procedure SubtractValue(AValue : Real)
- procedure MultiplyValue(AValue : Real)
- procedure DivideValue(AValue : Real)
- procedure Zero()
- procedure ToInt(OutBuffer : PInteger; ARound : Boolean)
- procedure ToShort(OutBuffer : PSmallInt; ARound : Boolean)
- procedure ToSingle(OutBuffer : PSingle)
- procedure FromInt(InBuffer : PInteger)
- procedure FromShort(InBuffer : PSmallInt)
- procedure FromSingle(InBuffer : PSingle)
- procedure NormalizeFrom(Src : ISLRealBuffer; Offset : Real; Factor : Real)
- procedure Normalize(Offset : Real; Factor : Real)
- function Dot(Right : ISLRealBuffer) : Real
- procedure Threshold(AThreshold : Real; AType : TSLThresholdType)
- procedure ThresholdFrom(Src : ISLRealBuffer; AThreshold : Real; AType : TSLThresholdType)
- procedure Sqr()
- procedure SqrFrom(Src : ISLRealBuffer)
- procedure Sqrt()
- procedure SqrtFrom(Src : ISLRealBuffer)
- procedure AutoCorr(Src : ISLRealBuffer; AType : TSLAutoCorrType)
- procedure CrossCorr(Src1 : ISLRealBuffer; Src2 : ISLRealBuffer; LoLag : Integer)
- procedure Abs()
- procedure AbsFrom(Src : ISLRealBuffer)
- procedure Exp()
- procedure ExpFrom(Src : ISLRealBuffer)
- procedure Ln()
- procedure LnFrom(Src : ISLRealBuffer)
- function Mean() : Real
- function StdDev() : Real
- procedure Convolve(Src : ISLRealBuffer; H : ISLRealBuffer)
- function Norm(Src : ISLRealBuffer; AType : TSLNormType) : Real
- function GetMinValue() : Real
- function GetMaxValue() : Real
- function GetMinIndex(var AIndex : Integer) : Real
- function GetMaxIndex(var AIndex : Integer) : Real
- function GetMin(IndexBegin : Integer; IndexEnd : Integer) : Real
- function GetMax(IndexBegin : Integer; IndexEnd : Integer) : Real
- function GetMinRestricted(IndexBegin : Integer; IndexEnd : Integer) : Real
- function GetMaxRestricted(IndexBegin : Integer; IndexEnd : Integer) : Real
- function IsEqualToValue(AValue : Real) : 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