MatrixBerryCore
|
Namespaces | |
legacy | |
test | |
Classes | |
class | ANestedArrayType |
class | ANestedArrayUnknownType |
class | NestedArrayAnyType |
class | NestedArrayNoType |
class | NestedArrayType |
class | NestedArrayTypeFactory |
Functions | |
function | createarray (in className, in sizeVec) |
CREATEARRAY creates an array of specified size and type filling it with some values. More... | |
function | createarraybytypesizeinfo (in STypeSizeInfoInp) |
CREATEARRAYBYTYPESIZEINFO generates an array based on TYPESIZEINFO structure. More... | |
function | createarraybytypesizeinfo_int (in STypeSizeInfo) |
function | createvaluearray (in className, in value, in sizeVec) |
CREATEVALUEARRAY is designed for creating arrays of a specified type and size filled with a specified value. 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 | gettypeinfonested (in STypeSizeInfo) |
function | updatetypeinfostruct (in SOldTypeInfo) |
function | getbottomtype_v1 (in STypeInfo, in level) |
function | getbottomtype_v2 (in STypeInfo, in level) |
function mxberry::core::type::createarray | ( | in | className, |
in | sizeVec | ||
) |
CREATEARRAY creates an array of specified size and type filling it with some values.
* Input: * regular: * className: char[1,] - class name for a target array * sizeVec: numeric[1,] - size for a target array * * Output: * valueArray className[] - resulting array of size sizeVec *
function mxberry::core::type::createarraybytypesizeinfo | ( | in | STypeSizeInfoInp | ) |
CREATEARRAYBYTYPESIZEINFO generates an array based on TYPESIZEINFO structure.
* Input: * regular: * STypeSizeInfo: struct[1,1] * * Output * valueMat [] * * Example: * valueMat=createarraybytypesizeinfo(STypeSizeInfoInp,'createIsNull',[true false]) *
function mxberry::core::type::createarraybytypesizeinfo_int | ( | in | STypeSizeInfo | ) |
function mxberry::core::type::createvaluearray | ( | in | className, |
in | value, | ||
in | sizeVec | ||
) |
CREATEVALUEARRAY is designed for creating arrays of a specified type and size filled with a specified value.
* Input: * regular: * className: char[1,] - class of an array to create * value: [1,1,. . .,n1_n2,. . .,n_k] - value having the singular * dimensionality along the first s dimensions where s is a length of * sizeVec parameter * sizeVec: numeric[1,] - size along the first s dimensions for the * target array * * Output: * valueArray: className[m_1,..,m_s,n_1,. . .,n_k] where sizeVec=[m_1,. . .,m_s] *
function mxberry::core::type::generatetypesizeinfostruct | ( | in | value | ) |
GENERATETYPESIZEINFOSTRUCT constructs a meta structure containing a complete (recursive for cells) information about type and size of input array.
* Input: * regular: * value: any[] - array of any type * * Output: * STypeSizeInfo: struct[] - 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::getbottomtype_v1 | ( | in | STypeInfo, |
in | level | ||
) |
function mxberry::core::type::getbottomtype_v2 | ( | in | STypeInfo, |
in | level | ||
) |
function mxberry::core::type::gettypeinfonested | ( | in | STypeSizeInfo | ) |
function mxberry::core::type::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::updatetypeinfostruct | ( | in | SOldTypeInfo | ) |