sc::SCDimension(3)
π NAME π
okay bestie, this is the sc::SCDimension(3) page from the MPQC manual π and the whole vibe is: sc::SCDimension β The SCDimension class is used to determine the size and blocking of matrices. That's the one-liner, no cap.
β¨ SYNOPSIS β¨
#include <dim.h>
Inherits sc::SavableState.
π Public Member Functions π
SCDimension (int n, const char *name=0)β Create a dimension with an optional name.SCDimension (const Ref< SCBlockInfo > &, const char *name=0)β constructor signature from the page.SCDimension (int n, int nblocks, const int *blocksizes=0, const char *name=0)β constructor signature too.SCDimension (const Ref< KeyVal > &)β The KeyVal constructor.SCDimension (StateIn &s)β constructor signature.void save_data_state (StateOut &)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.int equiv (const SCDimension *) constβ Test to see if two dimensions are equivalent.int n () constβ Return the dimension.const char * name () constβ Return the name of the dimension.Ref< SCBlockInfo > blocks ()β Return the blocking information for this dimension.void print (std::ostream &o=ExEnv::out0()) constβ Print information about this dimension too.
π‘οΈ Protected Member Functions π‘οΈ
SCDimension (const char *name=0)β protected constructor signature, exactly as listed.
π Protected Attributes π
char * name_int n_Ref< SCBlockInfo > blocks_
𧬠Additional Inherited Members π§¬
This section is literally just the label for the inherited extras on the page β no extra deets listed here, bestie β¨.
π Detailed Description π
The SCDimension class is used to determine the size and blocking of matrices.
The blocking information is stored by an object of class SCBlockInfo.
π Constructor & Destructor Documentation π
sc::SCDimension::SCDimension (int n, const char * name = 0)
Create a dimension with an optional name. The name is a copy of the '0' terminated string name.
sc::SCDimension::SCDimension (const Ref< KeyVal > &)
The KeyVal constructor.
nβ This gives size of the dimension. One ofnorblocksis required.blocksβ The block information for the dimension can be given as aSCBlockInfoobject. One ofnorblocksis required.
π¦ Member Function Documentation π¦
const char* sc::SCDimension::name () const [inline]
Return the name of the dimension. If no name was given to the constructor, then return 0.
void sc::SCDimension::save_data_state (StateOut &) [virtual]
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.
Reimplemented from sc::SavableState.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
mwah π thatβs the whole page β Version 2.3.1, Sun Oct 4 2020, sc::SCDimension(3), MPQC. byeee π«Άβ¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms