MtxExprInt.SqrAddScaled Method

Overload List

#SignatureDescription
1function SqrAddScaled(const X: TMtxInt; const Y: TMtxVecInt; const yScale: Integer): MatrixInt;Result = sqr(X) + sqr(Y)*yScale
2function SqrAddScaled(const X: TVecInt; const Y: TMtxVecInt; const yScale: Integer): VectorInt;Result = sqr(X) + sqr(Y)*yScale
3function SqrAddScaled(const X: TMtxInt; const xScale: Integer; const Y: TMtxVecInt; const yScale: Integer): MatrixInt;Result = sqr(X)*xScale + sqr(Y)*yScale
4function SqrAddScaled(const X: TVecInt; const xScale: Integer; const Y: TMtxVecInt; const yScale: Integer): VectorInt;Result = sqr(X)*xScale + sqr(Y)*yScale

Overload 1: function SqrAddScaled(const X: TMtxInt; const Y: TMtxVecInt; const yScale: Integer): MatrixInt;

Compute sqr(X) + sqr(Y)*yScale

#NameTypeDescription
1XTMtxInt
2YTMtxVecInt
3yScaleInteger

Returns: MatrixInt

Overload 2: function SqrAddScaled(const X: TVecInt; const Y: TMtxVecInt; const yScale: Integer): VectorInt;

Compute sqr(X) + sqr(Y)*yScale

#NameTypeDescription
1XTVecInt
2YTMtxVecInt
3yScaleInteger

Returns: VectorInt

Overload 3: function SqrAddScaled(const X: TMtxInt; const xScale: Integer; const Y: TMtxVecInt; const yScale: Integer): MatrixInt;

Compute sqr(X)*xScale + sqr(Y)*yScale

#NameTypeDescription
1XTMtxInt
2xScaleInteger
3YTMtxVecInt
4yScaleInteger

Returns: MatrixInt

Overload 4: function SqrAddScaled(const X: TVecInt; const xScale: Integer; const Y: TMtxVecInt; const yScale: Integer): VectorInt;

Compute sqr(X)*xScale + sqr(Y)*yScale

#NameTypeDescription
1XTVecInt
2xScaleInteger
3YTMtxVecInt
4yScaleInteger

Returns: VectorInt