PPL Logo

CkMatrix3d Class Reference

A 4x4 matrix. More...

#include <ckviewpoint.h>

Collaboration diagram for CkMatrix3d:

Collaboration graph
[legend]

Public Member Functions

double & operator() (int r, int c)
const double & operator() (int r, int c) const
void scaleRow (int r, double s)
void addRow (int rSrc, double s, int rDest)
void pup (PUP::er &p)

Private Attributes

double data [4][4]

Detailed Description

A 4x4 matrix.

This is only used for projection, below, so it's a trivial class.

Definition at line 50 of file ckviewpoint.h.


Member Function Documentation

double& CkMatrix3d::operator() ( int  r,
int  c 
) [inline]

Definition at line 53 of file ckviewpoint.h.

References data.

const double& CkMatrix3d::operator() ( int  r,
int  c 
) const [inline]

Definition at line 54 of file ckviewpoint.h.

References data.

void CkMatrix3d::scaleRow ( int  r,
double  s 
) [inline]

Definition at line 57 of file ckviewpoint.h.

References c, and data.

void CkMatrix3d::addRow ( int  rSrc,
double  s,
int  rDest 
) [inline]

Definition at line 61 of file ckviewpoint.h.

References c, and data.

void CkMatrix3d::pup ( PUP::er p  )  [inline]

Definition at line 66 of file ckviewpoint.h.

References data, and p.


Field Documentation

double CkMatrix3d::data[4][4] [private]

Definition at line 51 of file ckviewpoint.h.

Referenced by addRow(), operator()(), pup(), and scaleRow().


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:20:34 2020 for Charm++ by  doxygen 1.5.5