sc::SCDimension(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸŽ€ 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 (with save_data_state) and the members in the same order that the StateIn CTOR 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 to o.

πŸ›‘οΈ 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 of n or blocks is required.
  • blocks β€” The block information for the dimension can be given as a SCBlockInfo object. One of n or blocks is 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