Lines Matching refs:pResMat

326 void lcl_AdjustJumpMatrix( ScJumpMatrix* pJumpM, ScMatrixRef& pResMat, SCSIZE nParmCols, SCSIZE nPa…  in lcl_AdjustJumpMatrix()  argument
352 pResMat = pJumpM->GetResultMatrix(); in lcl_AdjustJumpMatrix()
360 ScMatrixRef pResMat = pJumpMatrix->GetResultMatrix(); in JumpMatrix() local
371 if ( !pResMat ) in JumpMatrix()
389 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
397 pResMat->PutDouble( CreateDoubleError( nGlobalError), in JumpMatrix()
402 pResMat->PutString( rStr, nC, nR ); in JumpMatrix()
411 pResMat->PutDouble( CreateDoubleError( nGlobalError), in JumpMatrix()
419 pResMat->PutEmpty( nC, nR ); in JumpMatrix()
429 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
437 pResMat->PutDouble( CreateDoubleError( in JumpMatrix()
442 pResMat->PutString( aStr, nC, nR); in JumpMatrix()
456 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
471 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
486 pResMat->PutEmpty( nC, nR ); in JumpMatrix()
496 pResMat->PutDouble( fCellVal, nC, nR ); in JumpMatrix()
504 pResMat->PutDouble( CreateDoubleError( in JumpMatrix()
509 pResMat->PutString( aStr, nC, nR ); in JumpMatrix()
514 lcl_AdjustJumpMatrix( pJumpMatrix, pResMat, nParmCols, nParmRows ); in JumpMatrix()
526 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
531 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
541 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
548 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
551 pResMat->PutEmpty( nC, nR ); in JumpMatrix()
555 pResMat->PutString( rStr, nC, nR ); in JumpMatrix()
558 lcl_AdjustJumpMatrix( pJumpMatrix, pResMat, nCols, nRows ); in JumpMatrix()
567 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
574 pResMat->PutDouble( fVal, nC, nR ); in JumpMatrix()
587 if ( pResMat ) in JumpMatrix()
591 pResMat->PutEmptyPath( nC, nR ); in JumpMatrix()
593 pResMat->PutDouble( fBool, nC, nR ); in JumpMatrix()
620 PushMatrix( pResMat ); in JumpMatrix()
909 ScMatrixRef pResMat = NULL; in CompareMat() local
920 pResMat = GetNewMat( nC, nR); in CompareMat()
921 if ( !pResMat ) in CompareMat()
946 pResMat->PutDouble( CompareFunc( aComp, pOptions ), j,k ); in CompareMat()
949 pResMat->PutString( ScGlobal::GetRscString(STR_NO_VALUE), j,k ); in CompareMat()
958 pResMat = GetNewMat( nC, nR); in CompareMat()
959 if ( !pResMat ) in CompareMat()
976 pResMat->PutDouble( CompareFunc( aComp, pOptions ), j ); in CompareMat()
981 return pResMat; in CompareMat()
1567 ScMatrixRef pResMat = GetNewMat( nC, nR); in ScNeg() local
1568 if ( !pResMat ) in ScNeg()
1576 pResMat->PutDouble( -pMat->GetDouble(j), j ); in ScNeg()
1578 pResMat->PutString( in ScNeg()
1581 PushMatrix( pResMat ); in ScNeg()
1623 ScMatrixRef pResMat = GetNewMat( nC, nR); in ScNot() local
1624 if ( !pResMat ) in ScNot()
1632 pResMat->PutDouble( (pMat->GetDouble(j) == 0.0), j ); in ScNot()
1634 pResMat->PutString( in ScNot()
1637 PushMatrix( pResMat ); in ScNot()
4064 ScMatrixRef pResMat = GetNewMat( static_cast<SCSIZE>(nCols), 1); in ScColumn() local
4065 if (pResMat) in ScColumn()
4068 pResMat->PutDouble( nVal + i, static_cast<SCSIZE>(i), 0); in ScColumn()
4069 PushMatrix( pResMat); in ScColumn()
4098 ScMatrixRef pResMat = GetNewMat( in ScColumn() local
4100 if (pResMat) in ScColumn()
4103 pResMat->PutDouble((double)(i+1), in ScColumn()
4105 PushMatrix(pResMat); in ScColumn()
4140 ScMatrixRef pResMat = GetNewMat( 1, static_cast<SCSIZE>(nRows)); in ScRow() local
4141 if (pResMat) in ScRow()
4144 pResMat->PutDouble( nVal + i, 0, static_cast<SCSIZE>(i)); in ScRow()
4145 PushMatrix( pResMat); in ScRow()
4174 ScMatrixRef pResMat = GetNewMat( 1, in ScRow() local
4176 if (pResMat) in ScRow()
4179 pResMat->PutDouble((double)(i+1), 0, in ScRow()
4181 PushMatrix(pResMat); in ScRow()
5247 ScMatrixRef pResMat; in IterateParametersIfs() local
5381 if (!pResMat) in IterateParametersIfs()
5386 pResMat = GetNewMat(nResC, nResR); in IterateParametersIfs()
5387 if (!pResMat) in IterateParametersIfs()
5390 pResMat->FillDouble( 0.0, 0, 0, nResC-1, nResR-1); in IterateParametersIfs()
5441 pResMat->PutDouble(pResMat->GetDouble(nC, nR)+1.0, nC, nR); in IterateParametersIfs()
5457 pResMat->PutDouble(pResMat->GetDouble(nC, nR)+1.0, nC, nR); in IterateParametersIfs()
5535 pResMat->GetDimensions(nC, nR); in IterateParametersIfs()
5540 if (pResMat->GetDouble( nCol, nRow) == nQueryCount) in IterateParametersIfs()
5561 pResMat->GetDimensions(nC, nR); in IterateParametersIfs()
5566 if (pResMat->GetDouble( nCol, nRow) == nQueryCount) in IterateParametersIfs()
5591 pResMat->GetDimensions(nC, nR); in IterateParametersIfs()
5595 if (pResMat->GetDouble( nCol, nRow) == nQueryCount) in IterateParametersIfs()
5637 ScMatrixRef pDataMat = NULL, pResMat = NULL; in ScLookup() local
5671 pResMat = PopMatrix(); in ScLookup()
5672 if (!pResMat) in ScLookup()
5678 pResMat->GetDimensions(nC, nR); in ScLookup()
5820 if (pResMat) in ScLookup()
5822 if (pResMat->IsValue( 0 )) in ScLookup()
5823 PushDouble(pResMat->GetDouble( 0 )); in ScLookup()
5825 PushString(pResMat->GetString( 0 )); in ScLookup()
5974 if (pResMat) in ScLookup()
5977 if (static_cast<SCSIZE>(nDelta) >= pResMat->GetElementCount()) in ScLookup()
5982 if (pResMat->IsValue(nDelta)) in ScLookup()
5983 PushDouble(pResMat->GetDouble(nDelta)); in ScLookup()
5985 PushString(pResMat->GetString(nDelta)); in ScLookup()
6068 if (pResMat) in ScLookup()
6071 if (pResMat->IsValue(nDelta)) in ScLookup()
6072 PushDouble(pResMat->GetDouble(nDelta)); in ScLookup()
6074 PushString(pResMat->GetString(nDelta)); in ScLookup()
7379 ScMatrixRef pResMat = GetNewMat(nC, 1); in ScIndex() local
7380 if (pResMat) in ScIndex()
7385 pResMat->PutDouble(pMat->GetDouble(i, in ScIndex()
7388 pResMat->PutString(pMat->GetString(i, in ScIndex()
7390 PushMatrix(pResMat); in ScIndex()
7397 ScMatrixRef pResMat = GetNewMat(1, nR); in ScIndex() local
7398 if (pResMat) in ScIndex()
7403 pResMat->PutDouble(pMat->GetDouble(nColMinus1, in ScIndex()
7406 pResMat->PutString(pMat->GetString(nColMinus1, in ScIndex()
7408 PushMatrix(pResMat); in ScIndex()