Changeset 10791 in ntrip for trunk/BNC/newmat/newmatex.cpp
- Timestamp:
- Dec 3, 2025, 5:37:16 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/BNC/newmat/newmatex.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/newmat/newmatex.cpp
r9434 r10791 29 29 30 30 31 static void MatrixDetails(const GeneralMatrix& A) 32 // write matrix details to Exception buffer 33 { 34 MatrixBandWidth bw = A.bandwidth(); 35 int ubw = bw.upper_val; int lbw = bw.lower_val; 36 BaseException::AddMessage("MatrixType = "); 37 BaseException::AddMessage(A.Type().Value()); 38 BaseException::AddMessage(" # Rows = "); BaseException::AddInt(A.Nrows()); 39 BaseException::AddMessage("; # Cols = "); BaseException::AddInt(A.Ncols()); 40 if (lbw >=0) 41 { 42 BaseException::AddMessage("; lower BW = "); 43 BaseException::AddInt(lbw); 44 } 45 if (ubw >=0) 46 { 47 BaseException::AddMessage("; upper BW = "); 48 BaseException::AddInt(ubw); 49 } 50 BaseException::AddMessage("\n"); 51 } 31 ////static void MatrixDetails(const GeneralMatrix& A) 32 ////// write matrix details to Exception buffer 33 ////{ 34 //// MatrixBandWidth bw = A.bandwidth(); 35 //// int ubw = bw.upper_val; int lbw = bw.lower_val; 36 //// BaseException::AddMessage("MatrixType = "); 37 //// BaseException::AddMessage(A.Type().Value()); 38 //// BaseException::AddMessage(" # Rows = "); BaseException::AddInt(A.Nrows()); 39 //// BaseException::AddMessage("; # Cols = "); BaseException::AddInt(A.Ncols()); 40 //// if (lbw >=0) 41 //// { 42 //// BaseException::AddMessage("; lower BW = "); 43 //// BaseException::AddInt(lbw); 44 //// } 45 //// if (ubw >=0) 46 //// { 47 //// BaseException::AddMessage("; upper BW = "); 48 //// BaseException::AddInt(ubw); 49 //// } 50 //// BaseException::AddMessage("\n"); 51 ////} 52 52 53 53 NPDException::NPDException(const GeneralMatrix& A)
Note:
See TracChangeset
for help on using the changeset viewer.
