STK++ 0.9.13
STK::Arrays Namespace Reference

the namespace Arrays contain the enum and utilities method used by the containers classes. More...

Classes

struct  DifferenceOp
 Array difference (by coefficient) Perform the matrix difference coefficient by coefficient of the Array lhs by the Array rhs. More...
 
struct  DivOp
 Matricial Division. More...
 
struct  MultLeftTransposeOp
 Array multiplication Perform the matrix product of the transposed Array lhs by the Array rhs. More...
 
struct  MultOp
 Array multiplication Perform the matrix product of the Array lhs by the Array rhs. More...
 
struct  MultRightTransposeOp
 Array multiplication Perform the matrix product of the Array lhs by the transposed Array rhs. More...
 
struct  Product
 Array product (by coefficient) Perform the matrix product coefficient by coefficient of the Array lhs by the Array rhs. More...
 
struct  SumOp
 Array sum (by coefficient) Perform the matrix sum coefficient by coefficient of the Array lhs by the Array rhs. More...
 

Enumerations

enum  Dimension {
  _0D_ = 0 , _1D_ = 1 , _2D_ = 2 , _3D_ = 3 ,
  _4D_ = 4
}
 Intrinsic dimension of the container : 0D, 1D, 2D, 3D or 4D. More...
 
enum  Orientation { by_row_ =0 , by_col_ =1 }
 Define the Storage Orientation of the container. More...
 
enum  Storage { dense_ =1 , sparse_ =0 }
 Define the different type of Array that can be handle by STK++. More...
 
enum  Structure {
  array2D_ =0 , square_ , diagonal_ , lower_triangular_ ,
  upper_triangular_ , symmetric_ , lower_symmetric_ , upper_symmetric_ ,
  vector_ , point_ , number_ , expression_
}
 structures of Arrays that can be handled by STK++ More...
 
enum  BinaryOperatorType {
  equalOp_ , notEqualOp_ , greaterThanOp_ , lessThanOp_ ,
  greaterThanOrEqualOp_ , lessThanOrEqualOp_ , sumOp_ , differenceOp_ ,
  productOp_ , divisionOp_ , moduloOp_ , minOp_ ,
  maxOp_ , logicalAndOp_ , logicalOrOp_ , bitwiseAndOp_ ,
  bitwiseOrOp_ , bitwiseXorOp_
}
 Kind of operators leading to a BinaryOperator or UnaryOperator. More...
 
enum  BinaryOpKind {
  binary_op_0D_ = 0 , binary_op_1D_ = 1 , binary_op_2D_ = 2 , binary_op_Diag_2D_ ,
  binary_op_Diag_UpTri_ , binary_op_Diag_LowTri_ , binary_op_Diag_Sym_ , binary_op_Diag_UpSym_ ,
  binary_op_Diag_LowSym_ , binary_op_2D_Diag_ , binary_op_2D_UpTri_ , binary_op_2D_LowTri_ ,
  binary_op_2D_Sym_ , binary_op_2D_UpSym_ , binary_op_2D_LowSym_ , binary_op_UpTri_2D_ ,
  binary_op_UpTri_Diag_ , binary_op_UpTri_UpTri_ , binary_op_UpTri_LowTri_ , binary_op_UpTri_Sym_ ,
  binary_op_UpTri_UpSym_ , binary_op_UpTri_LowSym_ , binary_op_LowTri_2D_ , binary_op_LowTri_Diag_ ,
  binary_op_LowTri_UpTri_ , binary_op_LowTri_LowTri_ , binary_op_LowTri_Sym_ , binary_op_LowTri_UpSym_ ,
  binary_op_LowTri_LowSym_ , binary_op_Sym_2D_ , binary_op_Sym_Diag_ , binary_op_Sym_UpTri_ ,
  binary_op_Sym_LowTri_ , binary_op_Sym_Sym_ , binary_op_Sym_UpSym_ , binary_op_Sym_LowSym_ ,
  binary_op_UpSym_2D_ , binary_op_UpSym_Diag_ , binary_op_UpSym_UpTri_ , binary_op_UpSym_LowTri_ ,
  binary_op_UpSym_Sym_ , binary_op_UpSym_UpSym_ , binary_op_UpSym_LowSym_ , binary_op_LowSym_2D_ ,
  binary_op_LowSym_Diag_ , binary_op_LowSym_UpTri_ , binary_op_LowSym_LowTri_ , binary_op_LowSym_Sym_ ,
  binary_op_LowSym_UpSym_ , binary_op_LowSym_LowSym_
}
 Kind of operands in a BinaryOperator. More...
 
enum  RangeOpUse {
  useLhsSize_ , useRhsSize_ , useLhsOtherSize_ , useRhsOtherSize_ ,
  useLhsRange_ , useRhsRange_
}
 Allow to disambiguate which rows() or cols() methods must be used which array to use when calling rows(), cols(), range() in Unary, Binary, Reshape,... operators. More...
 

Functions

String structureToString (Structure const &type)
 convert an Arrays::Structure to a String.
 
int evalSizeCapacity (int m)
 
template<int Size_>
TRange< Size_evalRangeCapacity (TRange< Size_ > const &I)
 
template<>
Range evalRangeCapacity (Range const &I)
 Specialization for array with unknown size.
 

Detailed Description

the namespace Arrays contain the enum and utilities method used by the containers classes.