1 #ifndef SimTK_SIMMATRIX_MATRIX_HELPER_H_ 
    2 #define SimTK_SIMMATRIX_MATRIX_HELPER_H_ 
  175                  int n, 
const int* indices);
 
  177                  int n, 
const int* indices);
 
  287     void dump(
const char* msg=0) 
const; 
 
  356     template <
class SA, 
class SB>
 
This is a user-includable header which includes everything needed to make use of SimMatrix Scalar cod...
 
#define SimTK_SimTKCOMMON_EXPORT
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:224
 
size_type size() const
Return the current number of elements stored in this array.
Definition: Array.h:2075
 
const T * cbegin() const
Return a const pointer to the first element of this array if any, otherwise cend(),...
Definition: Array.h:2212
 
Specialized information about Composite Numerical Types which allows us to define appropriate templat...
Definition: CompositeNumericalTypes.h:136
 
K::StdNumber StdNumber
Definition: CompositeNumericalTypes.h:163
 
K::THerm THerm
Definition: CompositeNumericalTypes.h:144
 
K::TNeg TNeg
Definition: CompositeNumericalTypes.h:139
 
K::Precision Precision
Definition: CompositeNumericalTypes.h:164
 
K::Number Number
Definition: CompositeNumericalTypes.h:162
 
A MatrixCharacter is a set containing a value for each of the matrix characteristics except element t...
Definition: MatrixCharacteristics.h:597
 
A MatrixCommitment provides a set of acceptable matrix characteristics.
Definition: MatrixCharacteristics.h:832
 
Definition: MatrixHelper.h:48
 
Definition: MatrixHelper.h:96
 
Definition: MatrixHelper.h:98
 
Definition: MatrixHelper.h:95
 
Definition: MatrixHelper.h:97
 
Here we define class MatrixHelper, the scalar-type templatized helper class for the more general,...
Definition: MatrixHelper.h:79
 
MatrixHelper(const MatrixCommitment &, MatrixHelper &, int i, int j, int nrow, int ncol)
 
MatrixHelper(const MatrixCommitment &mc, MatrixHelper &h, const Array_< int > &indices)
Definition: MatrixHelper.h:183
 
void rowSum(int i, S *eltp) const
 
void dump(const char *msg=0) const
 
const S * getElt(int i) const
 
CNT< S >::Number Number
Definition: MatrixHelper.h:84
 
MatrixHelper & readOnlyViewAssign(const MatrixHelper &source)
 
CNT< S >::StdNumber StdNumber
Definition: MatrixHelper.h:85
 
MatrixHelperRep< S > & updRep()
Definition: MatrixHelper.h:334
 
MatrixHelper & negatedCopyAssign(const MatrixHelper< typename CNT< S >::TNeg > &)
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper &, int i, int j, int nrow, int ncol)
 
MatrixHelper(int esz, int cppEsz, const MatrixCommitment &)
 
const MatrixCharacter & getMatrixCharacter() const
 
void getAnyElt(int i, S *value) const
 
bool hasContiguousData() const
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper< typename CNT< S >::THerm > &, const TransposeView &)
 
void fillWith(const S *eltp)
 
void addIn(const MatrixHelper< typename CNT< S >::TNeg > &)
 
void resizeKeep(int m, int n)
 
MatrixHelper & writableViewAssign(MatrixHelper &source)
 
void replaceRep(MatrixHelperRep< S > *)
 
void subIn(const MatrixHelper &)
 
const MatrixHelperRep< S > & getRep() const
Definition: MatrixHelper.h:333
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper &, int n, const int *indices)
 
MatrixHelperRep< S > * stealRep()
Definition: MatrixHelper.h:336
 
MatrixHelper(const MatrixCommitment &, MatrixHelper &, const DiagonalView &)
 
void setRep(MatrixHelperRep< S > *hrep)
Definition: MatrixHelper.h:335
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper &source, const ShallowCopy &)
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper< typename CNT< S >::TNeg > &source, const DeepCopy &)
 
MatrixHelper(int esz, int cppEsz, const MatrixCommitment &, int m, int n)
 
void resize(int m, int n)
 
MatrixHelper(const MatrixCommitment &, MatrixHelper &source, const ShallowCopy &)
 
MatrixHelper(MatrixHelperRep< S > *)
 
void commitTo(const MatrixCommitment &)
 
CNT< S >::Precision Precision
Definition: MatrixHelper.h:86
 
MatrixHelper(const MatrixCommitment &mc, const MatrixHelper &h, const Array_< int > &indices)
Definition: MatrixHelper.h:180
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper &, const DiagonalView &)
 
void swapOwnedContiguousData(S *newData, ptrdiff_t length, S *&oldData)
 
MatrixHelper(int esz, int cppEsz, const MatrixCommitment &, const MatrixCharacter &, int spacing, const S *data)
 
MatrixHelper(int esz, int cppEsz)
 
MatrixHelper(const MatrixCommitment &, MatrixHelper< typename CNT< S >::THerm > &, const TransposeView &)
 
ptrdiff_t getContiguousDataLength() const
 
void replaceContiguousData(const S *newData, ptrdiff_t length)
 
void getAnyElt(int i, int j, S *value) const
 
~MatrixHelper()
Definition: MatrixHelper.h:92
 
void scaleBy(const StdNumber &)
 
const MatrixCommitment & getCharacterCommitment() const
 
void copyInByRowsFromCpp(const S *elts)
 
MatrixHelper(int esz, int cppEsz, const MatrixCommitment &, const MatrixCharacter &, int spacing, S *data)
 
const S * getElt(int i, int j) const
 
void colSum(int j, S *eltp) const
 
MatrixHelper(const MatrixCommitment &, MatrixHelper &, int n, const int *indices)
 
void subIn(const MatrixHelper< typename CNT< S >::TNeg > &)
 
void addIn(const MatrixHelper &)
 
MatrixHelper & copyAssign(const MatrixHelper &source)
 
const S * getContiguousData() const
 
void fillWithScalar(const StdNumber &)
 
void replaceContiguousData(S *newData, ptrdiff_t length, bool takeOwnership)
 
MatrixHelper(const MatrixCommitment &, const MatrixHelper &source, const DeepCopy &)
 
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37