Changeset 9434 in ntrip for trunk/BNC/newmat/newmat7.cpp
- Timestamp:
- May 19, 2021, 1:32:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/newmat/newmat7.cpp
r8901 r9434 214 214 } 215 215 216 static void SP(GeneralMatrix* gm, constGeneralMatrix* gm2)217 { 218 REPORT 219 constReal* s2=gm2->Store(); Real* s=gm->Store(); int i=gm->Storage() >> 2;216 static void SP(GeneralMatrix* gm, GeneralMatrix* gm2) 217 { 218 REPORT 219 Real* s2=gm2->Store(); Real* s=gm->Store(); int i=gm->Storage() >> 2; 220 220 while (i--) 221 221 { *s++ *= *s2++; *s++ *= *s2++; *s++ *= *s2++; *s++ *= *s2++; } 222 222 i=gm->Storage() & 3; while (i--) *s++ *= *s2++; 223 }224 225 void GeneralMatrix::SP_Equal(const GeneralMatrix& gm)226 {227 REPORT228 if (nrows_val != gm.nrows_val || ncols_val != gm.ncols_val)229 Throw(IncompatibleDimensionsException(*this, gm));230 SP(this, &gm);231 223 } 232 224
Note:
See TracChangeset
for help on using the changeset viewer.