Interface SLSimpleDataBuffer.ISLRealBufferArray
From Mitov Wiki Doc
(Difference between revisions)
(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 47: | Line 47: | ||
*[[Method procedure SLSimpleDataBuffer.ISLRealBufferArray.DivideValue(Real)|procedure DivideValue(AValue : Real)]] - Divides each element of the buffer data by a value. | *[[Method procedure SLSimpleDataBuffer.ISLRealBufferArray.DivideValue(Real)|procedure DivideValue(AValue : Real)]] - Divides each element of the buffer data by a value. | ||
*[[Method procedure SLSimpleDataBuffer.ISLRealBufferArray.Zero()|procedure Zero()]] - Sets all the elements of the buffer to 0. | *[[Method procedure SLSimpleDataBuffer.ISLRealBufferArray.Zero()|procedure Zero()]] - Sets all the elements of the buffer to 0. | ||
− | *[[Method | + | *[[Method function SLSimpleDataBuffer.ISLRealBufferArray.Resize(Integer;Integer;Boolean) : Boolean|function Resize(ARows : Integer; ACols : Integer; PreserveData : Boolean) : Boolean]] - Resizes the array and the contained buffers. |
[[Category:Interfaces]] | [[Category:Interfaces]] |
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: ISLData
Contents |
Syntax
Delphi:
type ISLRealBufferArray = interface( ISLData )
Summary
Real data buffer array interface.
Description
This is the Real data buffer array interface.
Properties
- Count - Returns the number of buffers in the array.
- MaxSize - Returns the size of the biggest buffers in the array.
- Items - Access to individual buffer of the array.
Methods
- procedure Assign(Other : ISLRealBufferArray) - Assigns the array with values from another array.
- function IsEqualArray(AOther : ISLRealBufferArray) : Boolean - Returns True if the buffer array contains data equal to another buffer array.
- function GetMaxSize() : Integer
- function GetCount() : Integer - Returns the number of buffers in the array.
- function GetColCount(ARow : Integer) : Integer - Returns the count of items in a buffer.
- function GetItem(AIndex : Integer) : ISLRealBuffer
- procedure SetItem(AIndex : Integer; AValue : ISLRealBuffer)
- function GetCell(ARow : Integer; ACol : Integer) : Real
- procedure SetCell(ARow : Integer; ACol : Integer; AValue : Real)
- procedure Add(Right : ISLRealBufferArray) - Adds the elements of the buffer to the corresponding elements of another buffer.
- procedure Subtract(Right : ISLRealBufferArray) - Subtracts the elements of the buffer by the corresponding elements of another buffer.
- procedure Multiply(Right : ISLRealBufferArray) - Multiplies the elements of the buffer by the corresponding elements of another buffer.
- procedure Divide(Right : ISLRealBufferArray) - Divides the elements of the buffer by the corresponding elements of another buffer.
- procedure SetValue(AValue : Real) - Sets all the elements of the buffer to a certain value.
- procedure AddValue(AValue : Real) - Adds a double value to each element of the buffer.
- procedure SubtractValue(AValue : Real) - Subtracts a double value from each element of the buffer.
- procedure MultiplyValue(AValue : Real) - Multiplies a real value to each element of the buffer.
- procedure DivideValue(AValue : Real) - Divides each element of the buffer data by a value.
- procedure Zero() - Sets all the elements of the buffer to 0.
- function Resize(ARows : Integer; ACols : Integer; PreserveData : Boolean) : Boolean - Resizes the array and the contained buffers.