| 
    OpenVDB
    13.0.0
    
   | 
 
#include <openvdb/math/Mat.h>
Inherited by Mat3< double >.
Public Types | |
| enum | SIZE_ { size = SIZE } | 
| using | value_type = T | 
| using | ValueType = T | 
Public Member Functions | |
| Mat ()=default | |
| std::string | str (unsigned indentation=0) const | 
| T * | asPointer () | 
| Direct access to the internal data.  More... | |
| const T * | asPointer () const | 
| void | write (std::ostream &os) const | 
| void | read (std::istream &is) | 
| T | absMax () const | 
| Return the maximum of the absolute of all elements in this matrix.  More... | |
| bool | isNan () const | 
| True if a Nan is present in this matrix.  More... | |
| bool | isInfinite () const | 
| True if an Inf is present in this matrix.  More... | |
| bool | isFinite () const | 
| True if no Nan or Inf values are present.  More... | |
| bool | isZero () const | 
| True if all elements are exactly zero.  More... | |
| T * | operator[] (int i) | 
| Array style reference to ith row.  More... | |
| const T * | operator[] (int i) const | 
| Array style reference to ith row.  More... | |
Static Public Member Functions | |
| static unsigned | numRows () | 
| static unsigned | numColumns () | 
| static unsigned | numElements () | 
Protected Attributes | |
| T | mm [SIZE *SIZE] | 
Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const Mat< SIZE, T > &m) | 
| Write a Mat to an output stream.  More... | |
A base class for square matrices.
| using value_type = T | 
| using ValueType = T | 
| enum SIZE_ | 
      
  | 
  default | 
Trivial constructor, the matrix is NOT initialized
      
  | 
  inline | 
Return the maximum of the absolute of all elements in this matrix.
      
  | 
  inline | 
Direct access to the internal data.
      
  | 
  inline | 
      
  | 
  inline | 
True if no Nan or Inf values are present.
      
  | 
  inline | 
True if an Inf is present in this matrix.
      
  | 
  inline | 
True if a Nan is present in this matrix.
      
  | 
  inline | 
True if all elements are exactly zero.
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
      
  | 
  inline | 
Array style reference to ith row.
      
  | 
  inline | 
Array style reference to ith row.
      
  | 
  inline | 
      
  | 
  inline | 
cout << "matrix: " << mat.str(7)
matrix: [[1 2] [3 4]]
      
  | 
  inline | 
      
  | 
  friend | 
Write a Mat to an output stream.
      
  | 
  protected | 
 1.8.11