MatrixBerryCore
|
Functions | |
function | classname2typeinfo (in classNameList) |
CLASSNAME2TYPEINFO translates built-in class names into STypeInfo definitions. More... | |
function | createarraybytypeinfo (in STypeInfoInp, in sizeInpVec) |
CREATEARRAYBYTYPEINFO creates an array of STypeInfo structure. More... | |
function | createarraybytypesizeinfo (in STypeSizeInfoInp, in varargin) |
CREATEARRAYBYTYPESIZEINFO generates an array based on TYPESIZEINFO structure. More... | |
function | generatetypeinfostruct (in value) |
GENERATETYPEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type of input array. More... | |
function | generatetypesizeinfostruct (in value) |
GENERATETYPESIZEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type and size of input array. More... | |
function | istypesizeinfouniform (in STypeSizeInfo) |
ISTYPESIZEINFOUNIFORM check the input STypeSizeInfo structure for uniformity. More... | |
function | typeinfo2classname (in STypeInfo) |
function mxberry::core::type::legacy::classname2typeinfo | ( | in | classNameList | ) |
CLASSNAME2TYPEINFO translates built-in class names into STypeInfo definitions.
* Input: * classNameList: char/cell[1,nNestedLevels] * * Output: * STypeInfo: struct[1,1] - type information *
function mxberry::core::type::legacy::createarraybytypeinfo | ( | in | STypeInfoInp, |
in | sizeInpVec | ||
) |
CREATEARRAYBYTYPEINFO creates an array of STypeInfo structure.
* Input: * regular: * STypeInfo: struct[1,1] - structure containing type information * sizeInpVec: double [1,nDims] - size of the array to be created * * properties: * createIsNull: logical[1,2] - depending on whether the first element * is true, an array for the value field (false) or an array for isNull * indicator field (true) is created. In the latter case the second * element specified a value of isNull indicator * * Output: * valueMat: requested type of size specified by sizeInpVec parameter *
function mxberry::core::type::legacy::createarraybytypesizeinfo | ( | in | STypeSizeInfoInp, |
in | varargin | ||
) |
CREATEARRAYBYTYPESIZEINFO generates an array based on TYPESIZEINFO structure.
* Input: * regular: * STypeSizeInfo: struct[1,1] * properties: * 'createIsNull' logical [1,2] with the first elemnt switching * creation of isNull on and off and the second one responsible for * choosing a value of is-null indicator * * Output * valueMat [] * * Example: * valueMat=createarraybytypesizeinfo(STypeSizeInfoInp,'createIsNull',[true false]) *
function mxberry::core::type::legacy::generatetypeinfostruct | ( | in | value | ) |
GENERATETYPEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type of input array.
* Input: value - array of any type * * Output: * isUniform: logical[1,1] * * STypeInfo struct[1,1] containing type information for input * array, contains the following fields * * type: char[1,] * itemTypeInfo: STypeInfo[1,] * isCell: logical[1,1] *
function mxberry::core::type::legacy::generatetypesizeinfostruct | ( | in | value | ) |
GENERATETYPESIZEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type and size of input array.
* Input: value - array of any type * * Output: STypeSizeInfo structure each node of which has the following * fields: * * type: char[1,] * sizeVec: double[1,] * itemTypeInfo: STypeSizeInfo[1,] * isCell: logical[1,1] *
function mxberry::core::type::legacy::istypesizeinfouniform | ( | in | STypeSizeInfo | ) |
ISTYPESIZEINFOUNIFORM check the input STypeSizeInfo structure for uniformity.
* Input: * STypeSizeInfo: struct[1,1] * * Output: * isOk: logical[1,1] true is the input structure is uniform * STypeInfo: struct[1,1] - unified type info structure compiled from * the input STypeSizeInfo structure by removing size information and * unified the type information across all the elements *
function mxberry::core::type::legacy::typeinfo2classname | ( | in | STypeInfo | ) |